This happened to me when I had accidently stowed an old wxmsw26<x>_gcc_cb.dll up the PATH chain.
I deleted all wxWidgets and mingw dll's from the path, re-installed, the all went well.
sorry, I did not follow you. could you explain more? because if I make a clean install on school's computer, the problem still there. e.g. I choose 'open' or 'project->open', also when I choose the directory.
so, please give a detailed info. thanks veeeeeeeery much. :?
The best I can remember is:
I had a dll build of wxWidgets 2.4.2 sitting in c:/wxWidgets242/lib and a wxWidgets dll build in c:/wxWidgets262/lib.
The path had something like c:\wxWidgets242\lib;c:\codeblocks\bin;c:\window;c:\windows\...blablabla;c:\beta\wxWidgets262\bin;
Somehow my codeblocks system was getting all balled up using the 2.4.2 dlls or the codeblocks2.4.2 dll's with my 2.6.2 build. I got one crash after another every time it attempted to use a system dialog.
I deleted all wxWidgets dll's and all codeblocks dll's I could find from my system. Removed 2.4.2 from the path. Removed codeblocks from the path; rebuilt wxWidgets 2.6.2. Then it all worked fine.
Just my experience. Thought it might help.