Digital Mars C++ App with MFC

Building, compiling, or debugging issues

Digital Mars C++ App with MFC

Postby MMorgan » Thu Aug 04, 2005 6:31 pm

I have an application that I have successfully built with DMC++, using MFC libs. As a test I ported it over to UEStudio and was able to make the thing compile and link. HOWEVER, when I execute the application it keeps trying to call dwwin.exe, which the original application built under the DM IDE does not do. As a result, the app crashes.

Any clues? Anyone know which setting is the one I need to change to make this work?
MMorgan
 

Re: Digital Mars C++ App with MFC

Postby bobh » Sat Aug 06, 2005 9:48 pm

I haven't experimented much with Digital Mars and UEStudio, yet I noticed that the command lines used to compile and link are vastly different between DM and UES. They both seem to work, yet I am sure there are differences. Perhaps the UES setup is assuming an older version of Digital Mars?

I would try capturing the commands in the output window -- this is accessible under the "Advanced Build Options" -- and comparing these to what the Digital Mars IDE generates.

By all means, let us know what you discover!
User avatar
bobh
Advanced User
Advanced User
 
Posts: 59
Joined: Tue Dec 28, 2004 12:00 am

Re: Digital Mars C++ App with MFC

Postby MMorgan » Sun Aug 07, 2005 9:13 am

I am getting closer... I think I have it narrowed down to a missing linker option. :idea:

I have spent some time digging through the MAK and PRJ files generated by the DM IDDE, and I have snagged a few options I did not have already. I am still missing something, though.

When/if I manage to get it figured out, I have built compiler option files for DMC++ MFC builds (both LIB and DLL modes) and will submit them to Ian & Co. for review. In the meantime, the battle continues.
MMorgan
 


Return to Build / Compile / Debug