I re-installed both Codelite and MinGW4 on 'C' drive and created my project under 'C' drive, but there is no difference.
Also, I'd like to mention that if I write a command that reads input or system("PAUSE") in the end of my code, the executable is ok.
executable file
-
- CodeLite Enthusiast
- Posts: 11
- Joined: Thu Aug 07, 2008 3:23 pm
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: executable file
Can you copy the file 'le_exec.exe' from path/to/codelite/installation/le_exec.exe and place it under C:\WINDOWS
and try it run it again (without your 'system(pause)' thing, and the 'pause when execution ends' is checked)
Eran
and try it run it again (without your 'system(pause)' thing, and the 'pause when execution ends' is checked)
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 11
- Joined: Thu Aug 07, 2008 3:23 pm
- Contact:
Re: executable file
I did it.
Unfortunately, the same problem...
Has Codelite been installed in Vista again and this works fine?
Unfortunately, the same problem...
Has Codelite been installed in Vista again and this works fine?
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: executable file
Well, I dont have Vista - this is why all these questions...
I will be able to test it on vista tomorrow - and will let you know
Eran
I will be able to test it on vista tomorrow - and will let you know
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 11
- Joined: Thu Aug 07, 2008 3:23 pm
- Contact:
Re: executable file
Ok.
Thanks a lot for your help and trying to solve my problem!
Thanks a lot for your help and trying to solve my problem!
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: executable file
I finally had a chance to test it on Vista, with drive other than 'C' and I am afraid it worked as expected...
Another shot at the dark: can u run your test exe from the command line exactly like Codelite does it? that is:
le_exe.exe ./test
Eran
Another shot at the dark: can u run your test exe from the command line exactly like Codelite does it? that is:
le_exe.exe ./test
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 11
- Joined: Thu Aug 07, 2008 3:23 pm
- Contact:
Re: executable file
On the command line it works fine. It prints "Press any key to continue".