AFX_MANAGE_STATE (AfxGetStaticModuleState ()) not working
-
Hi experts, I have a dll that uses MFC as shared dll and it has many dialogs in it & was working fine till the time the project was in VS 2002 but recently I have converted the VS 2002 project to VS 2008 project and now none of the dialog is showing up. So, could anyone please suggest whats going wrong.
Regards, Pankaj Sachdeva There is no future lies in any job but future lies in the person who holds the job
-
Hi experts, I have a dll that uses MFC as shared dll and it has many dialogs in it & was working fine till the time the project was in VS 2002 but recently I have converted the VS 2002 project to VS 2008 project and now none of the dialog is showing up. So, could anyone please suggest whats going wrong.
Regards, Pankaj Sachdeva There is no future lies in any job but future lies in the person who holds the job
Can you debug an see what is causing the issue?
-
Can you debug an see what is causing the issue?
DoModal is just returning -1 which means that DoModal is unable to create the dialog.
Regards, Pankaj Sachdeva There is no future lies in any job but future lies in the person who holds the job
-
DoModal is just returning -1 which means that DoModal is unable to create the dialog.
Regards, Pankaj Sachdeva There is no future lies in any job but future lies in the person who holds the job
Karismatic wrote:
DoModal is just returning -1 which means that DoModal is unable to create the dialog.
Use GetLastError[^] to check the error code, it may give you some hints, hopefully.