Click here to Skip to main content
15,894,405 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Threadpool Linker Problem Pin
Cyrilix13-May-07 16:59
Cyrilix13-May-07 16:59 
QuestionProblem with print function ? Pin
Lewis0113-May-07 10:31
Lewis0113-May-07 10:31 
AnswerRe: Problem with print function ? Pin
bob1697213-May-07 10:57
bob1697213-May-07 10:57 
GeneralRe: Problem with print function ? Pin
Lewis0113-May-07 11:05
Lewis0113-May-07 11:05 
GeneralRe: Problem with print function ? Pin
bob1697213-May-07 11:27
bob1697213-May-07 11:27 
GeneralRe: Problem with print function ? Pin
David Crow14-May-07 3:34
David Crow14-May-07 3:34 
QuestionTrying to use m_strSort with OLE DB Pin
Lewis0113-May-07 10:27
Lewis0113-May-07 10:27 
QuestionMemory leak found after reporting "No memory leaks detected" Pin
dum13-May-07 8:04
dum13-May-07 8:04 
Could you, please help me! I'm developing with VC++ 6 (WinXP SP2) and now I'm trying to find memory leaks. Internal memory leak finder doesn't provide me with sufficient information about codelines etc. that is why I tried a lot of tools. No one helps me. Here you can see an example with VLD (http://www.codeproject.com/tools/visualleakdetector.asp) tool used. Here is the output in Debug window:

<br />
........<br />
Visual Leak Detector Version 1.0 installed (multithreaded static).<br />
Loaded 'G:\WINDOWS\system32\uxtheme.dll', no matching symbolic information found.<br />
Loaded 'G:\WINDOWS\system32\riched32.dll', no matching symbolic information found.<br />
........<br />
The thread 0x8D0 has exited with code 0 (0x0).<br />
The thread 0x17C has exited with code 0 (0x0).<br />
The thread 0xD2C has exited with code 0 (0x0).<br />
The thread 0x824 has exited with code 0 (0x0).<br />
The thread 0xCFC has exited with code 0 (0x0).<br />
The thread 0x8DC has exited with code 0 (0x0).<br />
The thread 0x5F8 has exited with code 561 (0x231).<br />
The thread 0x528 has exited with code 0 (0x0).<br />
The thread 0x294 has exited with code 2 (0x2).<br />
No memory leaks detected.<br />
Visual Leak Detector is now exiting.<br />
The thread 0x470 has exited with code 0 (0x0).<br />
No memory leaks detected.<br />
Visual Leak Detector is now exiting.<br />
Detected memory leaks!<br />
Dumping objects -><br />
{60} normal block at 0x02F71790, 12 bytes long.<br />
 Data: <            > 90 17 F7 02 90 17 F7 02 CD CD CD CD <br />
{59} normal block at 0x02F717D0, 44 bytes long.<br />
 Data: <|h   a   a      > 7C 68 F2 02 80 61 F2 02 88 61 F2 02 10 1B F7 02 <br />
Object dump complete.<br />
The thread 0x928 has exited with code 0 (0x0).<br />
The program 'E:\Devs\Camel\Debug\Camel.exe' has exited with code 0 (0x0).<br />


As you can see, VLD is saying that there are no memory leaks (1) then internal leaks finder is saying the same (2), but then it finds two leaks. How it can be and what is the problem? This problem is regardless tool used. I just placed VLD as an example. Tools like Insure++ find nothing at all of just lines with calls to rand() or time(), which have no attitude to the problem. What can it be?
AnswerRe: Memory leak found after reporting "No memory leaks detected" Pin
bob1697213-May-07 9:30
bob1697213-May-07 9:30 
QuestionRe: Memory leak found after reporting "No memory leaks detected" Pin
dum13-May-07 11:16
dum13-May-07 11:16 
AnswerRe: Memory leak found after reporting "No memory leaks detected" Pin
bob1697213-May-07 12:06
bob1697213-May-07 12:06 
QuestionRe: Memory leak found after reporting "No memory leaks detected" Pin
dum13-May-07 12:11
dum13-May-07 12:11 
QuestionRe: Memory leak found after reporting "No memory leaks detected" Pin
dum13-May-07 12:13
dum13-May-07 12:13 
AnswerRe: Memory leak found after reporting "No memory leaks detected" Pin
cmk13-May-07 14:55
cmk13-May-07 14:55 
QuestionRe: Memory leak found after reporting "No memory leaks detected" Pin
dum13-May-07 15:15
dum13-May-07 15:15 
AnswerRe: Memory leak found after reporting &quot;No memory leaks detected&quot; Pin
Mark Salsbery14-May-07 5:09
Mark Salsbery14-May-07 5:09 
GeneralRe: Memory leak found after reporting &quot;No memory leaks detected&quot; Pin
dum18-May-07 9:27
dum18-May-07 9:27 
QuestionPlatform SDK Pin
<color>Aljechin 13-May-07 6:48
<color>Aljechin 13-May-07 6:48 
AnswerRe: Platform SDK Pin
Sam_c13-May-07 6:57
Sam_c13-May-07 6:57 
AnswerRe: Platform SDK Pin
Michael Dunn13-May-07 17:40
sitebuilderMichael Dunn13-May-07 17:40 
GeneralRe: Platform SDK Pin
Sam_c13-May-07 21:58
Sam_c13-May-07 21:58 
QuestionInput from LPT port with inpout32.dll on windows XP Pin
Johpoke13-May-07 6:44
Johpoke13-May-07 6:44 
QuestionWriting/reading to/from CSV files Pin
J_E_D_I13-May-07 6:00
J_E_D_I13-May-07 6:00 
QuestionRe: Writing/reading to/from CSV files Pin
David Crow14-May-07 3:38
David Crow14-May-07 3:38 
AnswerRe: Writing/reading to/from CSV files Pin
J_E_D_I14-May-07 4:18
J_E_D_I14-May-07 4:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.