April 5th, 2002, 08:34 PM
Not a valid Win32 application?
I made a C program. It's simple, but I got an error when running it on Windows98
Ok, here is the source:
printf("Uploading virus...\a Complete!");
I compiled it on Linux with:
cc -o virus.exe virus.c
Is it because of the "-o" I added in there? I'm new to C and don't know much. Thanks for the help!
April 6th, 2002, 03:08 AM
Linux object code and Windows object code are two completely different animals. Even though they both run on Intel processors (assuming you use Intel), the binary code is different. Unless you have a cross-compiler on Linux, you must use a Windows compiler to make a program that will run on Windows.
"Me fail English? That's unpossible!"