I'm running the Sept. 6, 2006 build of CodeBlocks, with WxPack v. 2.6.3 installed. I first tested WxWidgets using the Visual C++ Express IDE instead of CodeBlocks. Everything compiled and ran fine without any errors.
Then I followed the tutorial
http://wxpack.sourceforge.net/Tutorials/CodeBlocksWxWizardVC for setting up a Wx project in CodeBlocks to the letter. My test project compiled in CodeBlocks, but when I ran the .exe, it told me that it could not find wxmsw26ud_vc.dll. So I copied this file to the directory of the .exe. I Built it again, and ran it. It crashed, and gave an error which said:
HEAP CORRUPTION DETECTED: after Normal block (#66) AT 0X00E92F70. CRT detected that the application wrote to memory after end of heap buffer.
Now why would it work fine in VC++ Express but not in CodeBlocks? I have every variable, compiler flag, and library set up as it says in the tutorial.
I've searched the forum for similar problems and tried many of the responses other people have given, but none have addressed this particular issue. Any help would be greatly appreciated.
Thanks!