Shane Haw
Shane Haw

Reputation: 723

MFC SDI Error on save on windows 8

I have developed an MFC SDI app, which uses the default CDocument Save, Save As and Load Menu Options. When I run this app on Windows XP, Vista, or 7 the app works fine - it can save and load documents without issue. When I run the same app on Windows 8 or 8.1 and click the Save option, the app crashes with a generic error message. Is there something extra that I need to install for it to work on Windows 8? Or is there something special I need to do to get an MFC SDI app to work on Windows 8?

I have tried to install Visual Studio on the Windows 8 machine to compile it there but I only have the Express version, which doesn't come with the MFC libraries, so it will not compile. The PC I wrote the app on, was a Windows 7 pc.

I am not too sure what other information might be useful.

EDIT:

The error message

Error Message

Upvotes: 0

Views: 155

Answers (1)

Danny Ruijters
Danny Ruijters

Reputation: 3420

I have managed to compile MFC applications in older versions of Visual Studio Express, see: http://www.codeproject.com/Articles/30439/How-to-compile-MFC-code-in-Visual-C-Express

To get this to work in a recent VS Express will probably require some tinkering.

Upvotes: 1

Related Questions