Menu

.exe file Not a valid Win32 executable

WildBill
2013-04-16
2023-07-22
  • WildBill

    WildBill - 2013-04-16

    I have tried Dev-Cpp several times (many versions). I like the ease of use and project management. Even with the Hello World example the .exe file produced fails to execute. I tried setting path, include and lib variables but I have never had an executable .exe file produced. Does anybody have any suggestions what I am missing? I'm on WinXP sp3 and have several other C compilers installed which work ok.

     
    • Giles Evans

      Giles Evans - 2013-04-16

      Which Compiler did you choose when installing Dev-C++?

       
  • Giles Evans

    Giles Evans - 2013-04-16
     

    Last edit: Giles Evans 2013-04-16
  • orwelldevcpp

    orwelldevcpp - 2013-04-16

    You're probably using 32bit Windows and are compiling for 64bit Windows. Although the compiler itself will run on 32bit, the created executables won't.

    Please select a 32bit profile at Tools >> Compiler Options. If it's not there, try the profile finder button (the two yellow plus signs). Alternatively, try to manually pass -m32 to the compiler.

     
  • a programer

    a programer - 2018-06-08

    hi! actually i dont know what is the speacial problem with? but if u save as your file in drive F or another drive and then run it. it will be ok!.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.