Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: LostBalloon on November 21, 2009, 06:24:43 am
-
Hi,
I just want to start off by saying that my program does compile and execute correctly.
I am using windows 7 and Visual c++ 2008 (not the express).
No matter what type of application I create, it will build, it will run ok from the outside, but not from within the IDE, in both the debug and release profiles.
i tried OpenGL app, console app. Neither starts from the IDE.
The reason I am using this IDE instead of Visual studio is for easy cross-platform portability since im coding a cross-platform application. Not being able to run my test consoles from within the IDE slows me down greatly.
thanks in advance for the help,
-
more information should be provided.like whichversion of codeblock,what is the failure message.
-
the latest. 8.02
as for error messages, there are none, it just doesnt launch the program after building it.
-
the latest. 8.02
as for error messages, there are none, it just doesnt launch the program after building it.
Are you running Code::Blocks as Admin?
If not, do so. Or turn off the Windows 7 Security system.
Tim S.
-
Thanks,
that actually worked.
I had already tried running it as administrator with no success.
Removing the "system protection" (exact terms in windows 7, from the computer properties) made it work.
and for your personal information i was able to re-enable the system protection without losing the ability to run.
i did the following (aleays runing Codek::Blocks as admin):
1- closed code::blocks
2- disabled the system protection on drive C
3- started the IDE, ran an application (worked)
4- re-enabled the system protection on drive C
5- Closed the IDE and opened a new instance to make sure
6- compiled and ran a totally new project (worked)
the previously mentionned should work for anyone running on windows 7 that wants to keep having restore points.