VS 2017 build X86 for 2003 R2 - .exe is not a valid Win32 application

  • Thread starter Thread starter Budster87
  • Start date Start date
B

Budster87

Guest
Hello,

We've just migrated a MFC C++ solution to VS 2017 and the exes run properly on either x64 or x86 machines (10, 7, server 2012), however when trying to get them to run on server 2003 r2 x86 a dialog appears ".exe is not a valid Win32 Application". Nothing in event viewer appears to help further investigate as too why its not valid.

I have searched and validated the following proposed solution:

1. That I have the build platform toolset targeted for " VS 20017 v141".

2. I have installed the vcredist_x86.exe from 14.0 on the 2003 server.

3. Doubled check that the build is of x86.

I have done all the following above but can't seem to get this certain exe running. Are there anymore settings or additional dependencies i'm missing?

Continue reading...
 
Back
Top