Visual C++ equivalent of "TModule" in Borland C++ [modified]
-
If anyone has previously used "TModule" in Borland C++, can you please let me know the equivalent(if any) class in win32 or atlease close to that class in similarity. I am migrating one of my application wrtten in borland C++ to visual C++. Just for your reference: "TModule in Borland C++ forms the basis for the TApplication class, which encapsulates the application's global functions such as startup tasks, message loops, and error handling. The TDll class provides a similar base for developing dynamic link libraries (DLL)."
modified on Thursday, July 15, 2010 4:03 AM
-
If anyone has previously used "TModule" in Borland C++, can you please let me know the equivalent(if any) class in win32 or atlease close to that class in similarity. I am migrating one of my application wrtten in borland C++ to visual C++. Just for your reference: "TModule in Borland C++ forms the basis for the TApplication class, which encapsulates the application's global functions such as startup tasks, message loops, and error handling. The TDll class provides a similar base for developing dynamic link libraries (DLL)."
modified on Thursday, July 15, 2010 4:03 AM
You would probably have much more answers if you describe which functionality you are looking for (for instance I never worked with Borland so I have no clue what this TModule does).
Cédric Moonen Software developer
Charting control [v3.0] OpenGL game tutorial in C++ -
You would probably have much more answers if you describe which functionality you are looking for (for instance I never worked with Borland so I have no clue what this TModule does).
Cédric Moonen Software developer
Charting control [v3.0] OpenGL game tutorial in C++ -
Thanks for your reply. I have modified my question including the details of what TModule is.
Ok, but then you can create an MFC application, and some classes will be created for you, like a C...App class (the "..." being your project name). This class also wraps the message loop. It is probably not the same as the one for Borland but I guess it would be similar. However, you'll need to choose if you want an SDI, MDI or dialog based application. If you never worked with Visual Studio, I strongly suggest that you buy a book to get started, it will help you a lot at the beginning.
Cédric Moonen Software developer
Charting control [v3.0] OpenGL game tutorial in C++ -
If anyone has previously used "TModule" in Borland C++, can you please let me know the equivalent(if any) class in win32 or atlease close to that class in similarity. I am migrating one of my application wrtten in borland C++ to visual C++. Just for your reference: "TModule in Borland C++ forms the basis for the TApplication class, which encapsulates the application's global functions such as startup tasks, message loops, and error handling. The TDll class provides a similar base for developing dynamic link libraries (DLL)."
modified on Thursday, July 15, 2010 4:03 AM
The message loop in MFC is hidden inside CWinApp. Windows Message Handling - Part 1[^]