Author Topic: Bug ? codeBlocks "runtime error" when starting the codeBlocks.exe  (Read 8408 times)

Offline omc

  • Single posting newcomer
  • *
  • Posts: 4
Hi,
I see some topics with this subject on the forum with no answer.
I can't run codeBlocks.exe, windows  give me an "runtime error".

This error appears after a bug of my computer :
I work under a virtualBox Windows XP running under ubuntu. My virtualBox crashed (because energy-power management) when codeBlocks was shuting-down.
After this the "runtime error" appear and it's impossible to launch codeblocks.
I re-install codeBlocks but it do nothing.

It's very strange....
If someone have an idea, i don't want to re-install windows.... :?

PS : This problem is not particular to the virtual box. I find (on the web) the same bug with native window's  running.

Thanks, omc.

Offline omc

  • Single posting newcomer
  • *
  • Posts: 4
Re: Bug ? codeBlocks "runtime error" when starting the codeBlocks.exe
« Reply #1 on: October 28, 2008, 08:19:51 am »
Strange,
If i'm logging to windows with another user, code::blocks works perfectly...

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Bug ? codeBlocks "runtime error" when starting the codeBlocks.exe
« Reply #2 on: October 28, 2008, 01:20:43 pm »
If i'm logging to windows with another user, code::blocks works perfectly...
Remove the configuration file(s) of C::B under the account in question.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline omc

  • Single posting newcomer
  • *
  • Posts: 4
Re: Bug ? codeBlocks "runtime error" when starting the codeBlocks.exe
« Reply #3 on: October 29, 2008, 01:46:08 pm »
GOOD !! :P  :P  :P  :P  :P
Thanks for your help !

Offline Saswat2603

  • Single posting newcomer
  • *
  • Posts: 9
Re: Bug ? codeBlocks "runtime error" when starting the codeBlocks.exe
« Reply #4 on: October 29, 2008, 01:51:21 pm »
I face the same problem today :(! Can you just make me clear WHICH config files or WHERE they are supposed to be ??? :?
Code
printf("Saswat - born 2 %X\n",49374);
 [:)] [;)]

Offline Saswat2603

  • Single posting newcomer
  • *
  • Posts: 9
Re: Bug ? codeBlocks "runtime error" when starting the codeBlocks.exe
« Reply #5 on: October 29, 2008, 01:59:38 pm »
Oh! figured it out!!! :lol: :lol:.Its "\Documents and Settings\[USER]\Application Data\codeblocks"
Code
printf("Saswat - born 2 %X\n",49374);
 [:)] [;)]

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7589
    • My Best Post
Re: Bug ? codeBlocks "runtime error" when starting the codeBlocks.exe
« Reply #6 on: October 29, 2008, 07:58:46 pm »
Oh! figured it out!!! :lol: :lol:.Its "\Documents and Settings\[USER]\Application Data\codeblocks"

I use "%USERPROFILE%\Application Data\codeblocks" that way the username needs not be changed.

Tim S
« Last Edit: October 29, 2008, 08:03:41 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org