Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi
I have a previously deployed Win32 c++ DirectX9 application. It was built on a Windows Vista 64bit machine and is now installed and running on a Windows7 64bit machine.

I've recently ungraded my development machine to Windows8 64bit, re-installed Visual Studio 2010 Express and the same DirectX SDK as before (June'10). I have also installed the Windows8 SDK.

I've been asked to change the logic of the code a little and send a new .exe

The new build runs happily on the development machine but the error below appears on the target machine:

Unsupported 16 bit Application
The Program or feature "...App.exe" cannot start or run due to the incompatibility with 64-bit version of Windows. Please contact the software vendor....

Project settings say Win32 for debug and release version... In fact I wasn't sure it was possible to build 16 bit applications!

Any clues as to where my error is would be very much appreciated.

Thanks for your time.

Ian.
Posted
Comments
LokoLuke 4-Mar-13 5:35am    
Hi Ian,

Seems to be a very strange error. Would I be right in saying your developing on Windows8 and deploying on Windows7?

I know the buzz for developing in Windows 8 is developing metro apps. Maybe there is a default setting for compiling as a metro app. It is possible they are 16bit!!??

I had a quick look online but couldn't find much material on it
ianwalters16 5-Mar-13 4:19am    
Thanks for the idea Luke. I'll look into that one and keep googling the error message...

Just for interest, I've read that Windows 7/8 64 bit cannot run 16 bit applications. The 32 bit versions of Windows can but certainly for Windows 8 you need to turn on 16 bit support from the control panel. It is disabled by default.

So I doubt Metro Apps are 16 bit, but I'll be happy to be corrected!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900