Many of the temporary threads I mentioned in the first post need to be destroyed prematurely (i.e. while they're still blocked in the Sleep() function and before they...
I think so, but it's hard to be sure. Is there a function like GlobalMemoryStatus(), or some external utility, that could help me track the number of opened HANDLE...
I have a problem with an application. It establishes a bunch (between 5 and 100) of client connections, plus 2 server connections, to other applications and sends, receives and...
Thanks, but that doesn't seem to be it. There are a few, very localized try/catch statements, but they are unrelated to the crashes. Besides, if the error is caught, there should not be a crash at...
My solution is made up of several different projects. I want to be able to compile one of these projects in Release all the time, even if the global configuration and all the other...
Thank you for the link. I was able to correct those false positives by moving the destructor of my static object in a new method, and calling this method from the destructor and also manually from my...
Actually, I searched a little more and just found a page that says it might be because the object where the false memory leaks happen is static. Is there anything that can be done?
Well, I managed to solve my bug in a simpler way. The exact problem was that the main window can receive messages from other threads that triggers graphical changes, but the graphical elements might...
HoM: Thanks, but the problem isn't whether the call is blocking or not. The PostMessage() is actually the last step of an initialization thread, which terminates itself right...
Detected memory leaks!
Dumping objects ->
{103801} normal block at 0x06A6D978, 48 bytes long.
Data: < e o A ?> D0 65 03 10 CD CD CD CD F1 0C 6F CB 41 86 E8 3F ...
Let me state my problem: we have proprietary media files (based on a variation of MPEG) and a library which does the decoding. Currently, it is implemented this way: an ActiveX control...
Out of habit, I guess. I usually use pointers. I tried changing it to use the stack, but this produces an error box at runtime which simply says "Incorrect variable type." :/
My view (let's call it CMyView) is derived from CFormView. The handlers are defined as usual, i.e. "afx_msg void OnChar(params);" in the header, "ON_WM_CHAR()" in...
I have a view with a few OnMouseWhatever() handlers set up, all of these work fine. But keyboard handlers (OnChar(), OnKeyDown()...) don't seem to work ! It seems like the handler...