Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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 4-Mar-13 0:04am
Comments
LokoLuke at 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 at 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)

  Print Answers RSS
0 OriginalGriff 390
1 Jochen Arndt 150
2 Richard MacCutchan 135
3 DamithSL 95
4 Garth J Lancaster 90
0 OriginalGriff 6,045
1 DamithSL 4,601
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,260


Advertise | Privacy | Mobile
Web04 | 2.8.141220.1 | Last Updated 4 Mar 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100