Click here to Skip to main content
15,908,173 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Disable ASSERT in Debug mode Pin
Prakash Nadar13-Jan-04 3:31
Prakash Nadar13-Jan-04 3:31 
GeneralRe: Disable ASSERT in Debug mode Pin
misha_grewal13-Jan-04 17:02
misha_grewal13-Jan-04 17:02 
GeneralRe: Disable ASSERT in Debug mode Pin
kasparov_8515-Jan-13 21:52
kasparov_8515-Jan-13 21:52 
GeneralODBC - dbf files - strange error msg Pin
Qadddd13-Jan-04 2:07
Qadddd13-Jan-04 2:07 
GeneralSockets and Memory leak Pin
Member 81460313-Jan-04 2:03
Member 81460313-Jan-04 2:03 
GeneralRe: Sockets and Memory leak Pin
Antti Keskinen13-Jan-04 3:07
Antti Keskinen13-Jan-04 3:07 
GeneralRe: Sockets and Memory leak Pin
Member 81460313-Jan-04 3:53
Member 81460313-Jan-04 3:53 
GeneralRe: Sockets and Memory leak Pin
Antti Keskinen13-Jan-04 6:35
Antti Keskinen13-Jan-04 6:35 
There doesn't seem to be any coding issues here, as long as you remembered to clear the archive and CSocketFile objects and call Close on the socket object.

You said that your CDocument-derived object reports a memory leak at this point ? Could it be that you've forgotten something back there ?

Your last chance would be to invest to some memory validator tool and run your code through step-by-step, especially in the point where the memory leak is considered. If nothing else fits the pattern, then this may be also a bug in the VC++ debugger. I've encoutered such a problem once before in my coding, when I created a view without a document object. It reported that the document object was leaking memory even though it was never created.

-Antti Keskinen

----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
GeneralSimulating copy to clipboard Pin
Anonymous13-Jan-04 1:03
Anonymous13-Jan-04 1:03 
Questiondeveloping a small scripting langauge in VC++ ?? Pin
cyberiafreak13-Jan-04 0:54
cyberiafreak13-Jan-04 0:54 
AnswerRe: developing a small scripting langauge in VC++ ?? Pin
Antti Keskinen13-Jan-04 7:04
Antti Keskinen13-Jan-04 7:04 
GeneralEMF to SWF Convertor Pin
WzR13-Jan-04 0:53
WzR13-Jan-04 0:53 
GeneralRe: EMF to SWF Convertor Pin
Antti Keskinen13-Jan-04 7:17
Antti Keskinen13-Jan-04 7:17 
GeneralHelp in MDI (reply needed as soon as possible) Please.. Pin
Ruchit Sharma13-Jan-04 0:37
Ruchit Sharma13-Jan-04 0:37 
GeneralRe: Help in MDI (reply needed as soon as possible) Please.. Pin
Roger Allen13-Jan-04 0:54
Roger Allen13-Jan-04 0:54 
GeneralRe: Help in MDI (reply needed as soon as possible) Please.. Pin
Ruchit Sharma13-Jan-04 1:21
Ruchit Sharma13-Jan-04 1:21 
QuestionHow to write ftp server and client for windows in c Pin
shan1213-Jan-04 0:22
shan1213-Jan-04 0:22 
AnswerRe: How to write ftp server and client for windows in c Pin
Selvam R13-Jan-04 1:05
professionalSelvam R13-Jan-04 1:05 
QuestionHow to fix this? Pin
Anthony_Yio13-Jan-04 0:08
Anthony_Yio13-Jan-04 0:08 
AnswerRe: How to fix this? Pin
Prakash Nadar13-Jan-04 0:13
Prakash Nadar13-Jan-04 0:13 
GeneralRe: How to fix this? Pin
Anthony_Yio13-Jan-04 0:24
Anthony_Yio13-Jan-04 0:24 
AnswerRe: How to fix this? Pin
jhwurmbach13-Jan-04 0:23
jhwurmbach13-Jan-04 0:23 
GeneralDifference between nested conditional statements vs non-nested dito Pin
Anonymous12-Jan-04 23:52
Anonymous12-Jan-04 23:52 
GeneralI asked the question, not Anonymous... Pin
Johann Gerell12-Jan-04 23:55
Johann Gerell12-Jan-04 23:55 
GeneralRe: Difference between nested conditional statements vs non-nested dito Pin
Prakash Nadar13-Jan-04 0:07
Prakash Nadar13-Jan-04 0:07 

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.