Pankajkumar may be right. Your connect string may be wrong now. After all, you're hitting a different database on a different system. Another possibility is that the customer doesn't have the right ODBC drivers set up.
I assume you are also using a CDatabase object to make the connection...
Typically when you do a modeless dialog, you put a Create() function in the dialog class constructor and a DestroyWindow() function in the destructor.
If you then declare your dialog like this:
CMyDialog *pDlg = new CMyDialog(this);
Then you need to clean up later with a
delete pDlg;
Practical Visual C++ by Jon Bates and a second guy is a very good book for MFC beginners. I've recommended it to several people, and they've all liked it.
My suspicion is that you need to copy the header files for your .dll exported classes and function into your client application again and recompile the client.
It sounds to me like you've changed something in the .dll and the client program needs to be recompiled with the new header files.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.