AArmadillo
Programmer
I am working on an application that uses a view based off of rich edit 2.0. This program worked fine until I added a new class to handle socket messages, at which point the colors in the rich edit started going bad. This color problem occurs only in the release version, and not in the debug version. I reloaded several different project backups (that worked fine before) and they then had the same problem! This alone has frusturated me to no end.
Thinking this might be a heap problem (I'm still wondering at this point why my backups got this problem also, but if I think about it too much it might drive me crazy ), I added _heapchk() calls to all functions that allocated memory and I added afxMemCheckAlways to my application's InitInstance function. Everything checks out, in both the debug and release builds. I also tried eliminating optimizations in the release version, which did not help either.
The very fact that my backups are no longer working makes me think that it has to do with the compiler, and not my code, but I really am not sure. Does anyone have any insight into this issue? Thanks.
Thinking this might be a heap problem (I'm still wondering at this point why my backups got this problem also, but if I think about it too much it might drive me crazy ), I added _heapchk() calls to all functions that allocated memory and I added afxMemCheckAlways to my application's InitInstance function. Everything checks out, in both the debug and release builds. I also tried eliminating optimizations in the release version, which did not help either.
The very fact that my backups are no longer working makes me think that it has to do with the compiler, and not my code, but I really am not sure. Does anyone have any insight into this issue? Thanks.