Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
27427 Discussions

How do I compile XE 2016 exe for Windows XP so it is not invalid Win32

Chris_H_3
Beginner
212 Views

Hello.  Using VS2015 pro with parallel XE 2016 fortran, I compile a simple 'Hello World' console app with x86 config.  Copying the exe to an XP machine and running it on the command line gives 'Invalid Win32' application error.  I tried not building the manifest file and NOT suppressing the startup logo, but I still get the same result.  Any help with this would be appreciated.  Thank you.

Sincerely,

CHobbs

0 Kudos
4 Replies
jimdempseyatthecove
Black Belt
212 Views

Choose Win32 configuration platform, not x86

Jim Dempsey

andrew_4619
Honored Contributor II
212 Views

read https://software.intel.com/en-us/articles/linking-applications-using-visual-studio-2012-to-run-on-windows-xp

 

Chris_H_3
Beginner
212 Views

Hello!  Thank you for the suggestion.  I was hoping for an aha moment, but when I looked in the configuration manager the 'x86' build had the Win32 platform checked.  That was the only build/platform choice I had.

Chris_H_3
Beginner
212 Views

This was sent to me by andrew_4619 not on this board and it worked!

 

https://software.intel.com/en-us/articles/linking-applications-using-visual-studio-2012-to-run-on-wi...

Reply