Compiled .exe file's dont run on regular windows machines

Discussion in 'Windows Guest OS Discussion' started by harryvermeulen, Jan 8, 2008.

  1. harryvermeulen

    harryvermeulen Bit poster

    Messages:
    1
    I'm using Microsoft Visual C++ 2008 in parallels 3.0 build 5582 running Windows XP SP2, to compile a very simple hello world program:

    Code:
    #include <stdio>
    
    int main (int argc, char **argv)
    {
    	fprintf(stderr, "Hello World\n");
    }
    It compiles a .exe file which runs fine within parallels, but when I try to run it on a regular windows xp machine, it says there is something wrong with the compression of the file? Does anyone have an idea why this is or if there is a way to solve it?

    Thanks in advance,
    Harry
     

Share This Page