Computer Science Canada EXE error |
Author: | Krocker [ Mon Nov 08, 2010 5:50 pm ] |
Post subject: | EXE error |
When i generate a stand-alone program (exe) and go to run the program, i get a massage saying : bad object file header in "filename.exe". (2)[/b] what does that mean and why am i getting this. what can i do to fix it? |
Author: | TerranceN [ Mon Nov 08, 2010 5:59 pm ] |
Post subject: | RE:EXE error |
Read the last question on the FAQ <a href="http://compsci.ca/v3/viewtopic.php?t=12610">here</a>. |
Author: | Krocker [ Tue Nov 09, 2010 8:48 am ] |
Post subject: | RE:EXE error |
K, i wnet there and there was nothing on the error. I am using 4.1 on windows 7, but i dont think its win 7 that is the problem cause i have comiled programs before without the error. so ya |
Author: | SNIPERDUDE [ Tue Nov 09, 2010 3:36 pm ] |
Post subject: | RE:EXE error |
Hmm, I did used to get errors like that before when I tried changing the name when compiling (a different name than what it's currently saved as). I'd have to change the name of the EXE manually after compiled. not sure if that's causing your problems. |
Author: | TerranceN [ Tue Nov 09, 2010 3:42 pm ] |
Post subject: | RE:EXE error |
Sorry for the mix up, it's just 99% of people with that error are using 4.1.1a, and unaware of that bug. Anyway, make sure you are in administrator mode, and if thats not it try re-downloading (maybe it is version 4.1.1a and you don't realize it?). Maybe UAC is blocking it (I wouldn't know, I disabled it immediately upon installing windows 7)? |