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

Cross-Platform

Jeff_W_3
Beginner
1,181 Views

Until recently I did my Intel Fortran development on a 32-bit Windows XP machine, and I regularly produced both Win32 and x64 versions of my application, which ran just fine on both architectures.

I have now moved my development onto a 64-bit machine running Windows 7 Home Premium.

My application builds OK (using Visual Studio Professional 2013) for both x64 and Win32, but the Win32 version will not run on 32-bit machines.

To simplify matters I have built the standard console "Hello World" program and I get the same problems.

On a 32-bit Windows XP machine it complains that "HelloWorld.exe is not a valid Win32 application".

On a 32-bit Windows Vista Ultimate (SP2) machine it just hangs.

Can anyone help?

Thanks and Merry Christmas

0 Kudos
1 Solution
3 Replies
FortranFan
Honored Contributor III
1,181 Views

Is your project a mixed-language (Fortran + C/C++) solution?  If so, you may want to check your platform toolset setting in Visual Studio and try the "Visual Studio 2013 - Windows XP (v120_xp)" option:

toolset.png

0 Kudos
Jeff_W_3
Beginner
1,181 Views

Thank you app4619, that fixed the problem.

I had to find and add some 32-bit DLLs, but that didn't take long.

Best wishes for the New Year, from sunny Australia.

Jeff

0 Kudos
Reply