Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CDialog returns -1

Status
Not open for further replies.

SterlingR

Programmer
Jun 27, 2002
2
US
I have a dialog based app that runs fine on my development machine. When I take the release exe to another machine the main dialog window is not created and returns -1. Any help wouild be appreciated!

Thanks,
Sterling
srunion@moment.net
 
Have you compiled with Dynamic or Static MFC libraries.

In the general tab of the projects settings change the MFC library to static.

This should cure your problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top