Can I derive Ada classes from MFC?
C++ classes in MFC are not mapped to tagged records in AFC and therefore Ada classes as such cannot be derived from MFC. However, the AFC documentation and samples illustrated how to create the Ada equivalent of a C++ class derived from an MFC class. The Derive Ada Class Tool (DACTool) is provided to assist with this process. It generates the Ada equivalent of a derived class in C++. Some of the issues surrounding this subject will be discussed in the Ada Foundation Classes Discussion Paper Mapping C++ to Ada which is currently under construction. DACTool forms part of the Symbol Table Viewer Tool (STViewer). STViewer is a browser for the symbol tables used to generate AFC. It can be used to inspect the C++ symbols in MFC and their Ada equivalents.