I am working on an application in which a call is made to a DLL. From that dll a dialog has to be displayed. While doing so I was not able to see the dialog. Dialog is not getting displayed. When i checked the code in debug that handle of the dialog is not assigned. What might be the possible cause for this can you help me...
If the application program is a console program then you may have to have a WinMain() inside the dll and call it from the dll. For example if you have a function named foo() in the dll then foo() would call its WinMain() using HINSTANCE that it gets by calling GetModuleHandle(). You could probably name the function anything you want, I just used WinMain()
Here's an example DLL that I did for this thread. I got some of the code from other threads here at DaniWeb.
I have just narrowed down the error part. When my code is trying to display the dialog to the DLL the error obtained is 1812(Error_Resource_Data_Not_Found). can anyone guide me how to find which resource is missing?
I Developed application in C# with crystal reports and created setup file in third party (Advance) Installer.When i installed my application on client system application is working but ...