J
JimmyV
Guest
We are working on a project where we need to migrate some code of an old application to a new application.The old app is an MFC app,which have some functions in the application class and document class which is required by the new app also.We created a dll project which is derived from the old app(Instead of directly deriving from CWinApp).So the hierarchy is as follows
CWinApp<-Old app(COldApp)<-CNewDLLApp
When the CNewDLLApp object is created(When LoadLibrary() is called),an access violation error is happening.It is caused in the constructor of COldApp where it is initialising a CString member variable to "".I cannot make out the problem.
Please help me out with your valuable suggestions.
Continue reading...
CWinApp<-Old app(COldApp)<-CNewDLLApp
When the CNewDLLApp object is created(When LoadLibrary() is called),an access violation error is happening.It is caused in the constructor of COldApp where it is initialising a CString member variable to "".I cannot make out the problem.
Please help me out with your valuable suggestions.
Continue reading...