Visual C++ App Wizard
-
I am completely frustrated. I am running Microsoft Visual C++ vers 6.0 and have created an application using the Microsoft App Wizard file/new, MFC Wizard(exe) module. It generates all of the "skeleton" code that will support menues, dialogs, etc. I am using it as: a Single Document, no Document/View architechture support, no document support, no features, no project style, pretty much a default application. The App Wizard generates the workspace and when I compile and run, I get two link error lnk2001, unresolved external references for On_Cancel() and OnOK(). I have tried all resolutions but still get the errors. What am I doing wrong and how does one find out where the variable are and why they are unresolved references. Any suggestions will help. Thanks at sid_kraft@msn.com.
Sid
-
I am completely frustrated. I am running Microsoft Visual C++ vers 6.0 and have created an application using the Microsoft App Wizard file/new, MFC Wizard(exe) module. It generates all of the "skeleton" code that will support menues, dialogs, etc. I am using it as: a Single Document, no Document/View architechture support, no document support, no features, no project style, pretty much a default application. The App Wizard generates the workspace and when I compile and run, I get two link error lnk2001, unresolved external references for On_Cancel() and OnOK(). I have tried all resolutions but still get the errors. What am I doing wrong and how does one find out where the variable are and why they are unresolved references. Any suggestions will help. Thanks at sid_kraft@msn.com.
Sid
That's odd. Are they on a class that has been generated ? Are there calls to On_Cancel and On_OK in the code ? Perhaps you can track down what is making it look for those calls, and perhaps you have to delete some code, or just add definitions for those methods to the class in question ?
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog