User forums > Help
unsupported 16-bit application error [solved]
Polar Wind:
Greetings,
I just installed Code::Blocks. I'm running Windows Vista, 64-bit. I also installed the latest version of
MinGW, as the downloads page says that it's compatible with Vista.
So, I typed up a simple program, in C, to display, "This is a C program"
Code Blocks saved this simple program as a .c file.
When I went to build and run I kept getting a pop-up window that said that the program had not been
built yet. It asked if I wanted to build it. I clicked yes. This happened over and over.
Finally, I changed the file extension to .exe
Then, it did attempt to run the simple program, however an error message popped up with the title,
"Unsupported 16-bit Application." The message said,
"The program or feature "\??\C:\Users\Tim\C Programs\Simple Program.exe"
cannot start or run due to incompatibility with 64-bit versions of Windows. Please contact the
software vendor to ask if a 64-bit compatible version is available."
I'm new to programming. I've been attempting to research a solution to this problem for hours.
Any help would be appreciated, very much.
Thank you, in advance.
MortenMacFly:
--- Quote from: Polar Wind on August 13, 2012, 04:13:00 am ---Greetings,
I just installed Code::Blocks. I'm running Windows Vista, 64-bit. I also installed the latest version of
MinGW, as the downloads page says that it's compatible with Vista.
--- End quote ---
What vendor and version of C::B and MinGW/GCC exactly? There are roughly 500 version of Code::Blocks and about the same amount of MinGW available. "latest version" is not meaningful.
Jenna:
And renaming a *.c to *.exe shows, that you miss the absolute basics of what a compiler/linker is and does.
But this can not (and will not) be teached here.
MortenMacFly:
--- Quote from: jens on August 13, 2012, 09:51:11 am ---And renaming a *.c to *.exe shows, [...]
--- End quote ---
OMG - I missed that. Well if that would work, ruling the world would be as easy as:
--- Code: ---int RuleTheWord()
{
return 1; // Do rule!
}
int main (void)
{
return RuleTheWord();
}
--- End code ---
;D
Polar Wind:
Hi Morten and Jens,
Thank you very much for the replies.
I downloaded version 10.05 of C::B from sourceforge.net accessed by
a link on the C::B website downloads page. Regarding MinGW, the download link on the sourceforge
page says, "Looking for the latest version? Download mingw-get-inst-20120426.exe (662.7 kB)". I believe it's
version 4.7.0
Navigation
[0] Message Index
[#] Next page
Go to full version