Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » VS2003 vs. VS6.0 Collapse All
Subject Author Date
Jeremy Ruth Nov 30, 2007 - 10:00 AM

I am having trouble with a VS6.0 project that works just fine in VS7.1. I have a need to create my application in VS6.0. I have built the PROFUIS dll and all my dll’s (and .exe) in VS6.0. I get an exception error in the ::CreateWindowEx function which is called from the following line in my myApp::InitInstance:

if (!pMainFrame->LoadFrame(IDR_MAINFRAME))

Now, I am not saying this is directly related to ProfUIS, but when I comment-out the following lines, the code makes it beyond the ::CreateWindowEx call (although it still crashes in ExtToolControlBar.cpp I assume because the paint manager has not been installed):
        RUNTIME_CLASS( CExtPaintManagerOffice2007_R1 )

Again, the same code works just fine when built in VS7.1. Any ideas as to what might cause this behavior?


Jeremy Ruth Nov 30, 2007 - 11:51 AM

Sorry....I figured it out. My VS6.0 project settings were different. I was using different struct alignment between the two projects.