about RUNTIME_CLASS
-
Dear All I write one MFC DLL in visual C++ 6 IDE. in this project I have to use one runtime Class like this : RUNTIME_CLASS(CMyLine) I dont instantiate any object from CMyLine Class and use only the RUNTIME version of it in my project. I dont know how this class destroys when I want to exit from application which uses the DLL. When I want to close The application that uses DLL I get following Exception : Unhandled exception in program_name.exe (kernel32.dll): 0xE06D7363 : Microsoft C++ Exception. When I comment the RUNTIME_CLASS line , I dont get any exception. I think that this error is because of exiting from runtime class. If you have any idea to remove this bug please inform me. Regards Monhi
-
Dear All I write one MFC DLL in visual C++ 6 IDE. in this project I have to use one runtime Class like this : RUNTIME_CLASS(CMyLine) I dont instantiate any object from CMyLine Class and use only the RUNTIME version of it in my project. I dont know how this class destroys when I want to exit from application which uses the DLL. When I want to close The application that uses DLL I get following Exception : Unhandled exception in program_name.exe (kernel32.dll): 0xE06D7363 : Microsoft C++ Exception. When I comment the RUNTIME_CLASS line , I dont get any exception. I think that this error is because of exiting from runtime class. If you have any idea to remove this bug please inform me. Regards Monhi
m_monhi wrote:
RUNTIME_CLASS(CMyLine)
This is meaningless to us. How and why are you using this macro? If you don't know what it's for then why are you using it at all? Mark
Mark Salsbery Microsoft MVP - Visual C++ :java: