Author Topic: C::B using wxsmith with vista crashes  (Read 4888 times)

duncans

  • Guest
C::B using wxsmith with vista crashes
« on: March 26, 2008, 05:50:03 pm »
Using Release 8.02 (2008-02-27 19:55:16) gcc 4.2.1 Windows/unicode.
Downloaded / installed into Vista.

Building a wxsmith simple application causes C::B to crash when closing down C::B at the end of a development session.
If a .wxs resource file is changed the appropriate changes are made to the .cpp files and these are saved.  The .wxs file is NOT saved and consquently the application gets out of sync when reloaded.

Build appears to save the .cpp etc but does not save the .wxs file.

Doing a save all files gets over the problem but if one forgets to save all sync problems occur.

The same situation occures with an XP install, but C::B does not crash.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: C::B using wxsmith with vista crashes
« Reply #1 on: March 26, 2008, 07:44:07 pm »
Using Release 8.02 (2008-02-27 19:55:16) gcc 4.2.1 Windows/unicode.
Build appears to save the .cpp etc but does not save the .wxs file.
Well... sory, but I can't reproduce on my Vista machine. wxSmith and C::B is just working properly. But I am using the bundled MinGW 3.4.5 - Vista compiler of C::B 08.02. Mind trying this one? That we we can assure that it's not a compiler problem (yes, I have seen horses flying...). Next thing to try is an updated version of C::B a.k.a "nightly". IIRC there were quite some bug fixes after 08.02.
If both is is not working, too -> mind explaining a little more - e.g. step-by-step instructions what exactly you do to "achieve" the error?!
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 byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 836
Re: C::B using wxsmith with vista crashes
« Reply #2 on: March 26, 2008, 10:03:54 pm »
Hi, thanks for the info.

The same situation occures with an XP install, but C::B does not crash.

Hmm, what do you mean by writing "same situation" ? Does wxs file get out of sync ?

Regards
   BYO

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: C::B using wxsmith with vista crashes
« Reply #3 on: March 27, 2008, 11:40:30 am »
I guess he means that .wxs-files don't get autosaved when building the project.
That, of course, causes the .wxs-files to be out of sync with the appropriate .cpp-files if C::B crashes.