Click here to Skip to main content
15,886,860 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRegarding Colors for the Entire Colums in a CListCntrl Item. Pin
janaswamy uday25-Oct-09 6:25
janaswamy uday25-Oct-09 6:25 
AnswerRe: Regarding Colors for the Entire Colums in a CListCntrl Item. Pin
Rajesh R Subramanian25-Oct-09 6:42
professionalRajesh R Subramanian25-Oct-09 6:42 
QuestionUsing splitter in the CDockablePane Pin
AshishMahajan25-Oct-09 6:13
AshishMahajan25-Oct-09 6:13 
QuestionMemory Leak Part II Pin
BarryPearlman25-Oct-09 4:45
BarryPearlman25-Oct-09 4:45 
AnswerRe: Memory Leak Part II Pin
Rajesh R Subramanian25-Oct-09 6:14
professionalRajesh R Subramanian25-Oct-09 6:14 
GeneralRe: Memory Leak Part II Pin
BarryPearlman25-Oct-09 14:09
BarryPearlman25-Oct-09 14:09 
GeneralRe: Memory Leak Part II Pin
Rajesh R Subramanian25-Oct-09 16:31
professionalRajesh R Subramanian25-Oct-09 16:31 
AnswerRe: Memory Leak Part II Pin
cmk25-Oct-09 7:01
cmk25-Oct-09 7:01 
BarryPearlman wrote:
Am I doing something incorrectly to generate this leak?

Probably.

BarryPearlman wrote:
will the memory be released upon exiting Visual Studio

Yes, but if the object holds system resources they may not (won't) be cleaned up properly.

BarryPearlman wrote:
Is this a Microsoft "bug"?

No, that's just where the actual alloc was called, but higher in the call stack you asked it to do something that resulted in the alloc.

Chances are you have either allocated (or done something that resulted in an alloc) that you haven't cleaned up, or you have a global object that is being constructed after you set the 1st crt mem checkpoint, but being destroyed after the 2nd crt mem checkpoint e.g. a function level static object.

...cmk

The idea that I can be presented with a problem, set out to logically solve it with the tools at hand, and wind up with a program that could not be legally used because someone else followed the same logical steps some years ago and filed for a patent on it is horrifying.
- John Carmack

QuestionWant to ask about recv() and sent() function in sockets. Pin
WindowsVsLinux25-Oct-09 2:33
WindowsVsLinux25-Oct-09 2:33 
AnswerRe: Want to ask about recv() and sent() function in sockets. Pin
Richard MacCutchan25-Oct-09 3:08
mveRichard MacCutchan25-Oct-09 3:08 
GeneralRe: Want to ask about recv() and sent() function in sockets. Pin
WindowsVsLinux25-Oct-09 3:27
WindowsVsLinux25-Oct-09 3:27 
GeneralRe: Want to ask about recv() and sent() function in sockets. Pin
Richard MacCutchan25-Oct-09 3:59
mveRichard MacCutchan25-Oct-09 3:59 
GeneralRe: Want to ask about recv() and sent() function in sockets. Pin
WindowsVsLinux25-Oct-09 4:14
WindowsVsLinux25-Oct-09 4:14 
GeneralRe: Want to ask about recv() and sent() function in sockets. Pin
Richard MacCutchan25-Oct-09 5:53
mveRichard MacCutchan25-Oct-09 5:53 
GeneralRe: Want to ask about recv() and sent() function in sockets. Pin
hugewave25-Oct-09 6:44
hugewave25-Oct-09 6:44 
AnswerRe: Want to ask about recv() and sent() function in sockets. Pin
cmk25-Oct-09 6:51
cmk25-Oct-09 6:51 
QuestionRe: Want to ask about recv() and sent() function in sockets. Pin
David Crow26-Oct-09 3:55
David Crow26-Oct-09 3:55 
AnswerRe: Want to ask about recv() and sent() function in sockets. Pin
cmk26-Oct-09 6:52
cmk26-Oct-09 6:52 
AnswerRe: Want to ask about recv() and sent() function in sockets. Pin
Moak26-Oct-09 0:37
Moak26-Oct-09 0:37 
QuestionFont metric questions Pin
transoft24-Oct-09 9:34
transoft24-Oct-09 9:34 
AnswerRe: Font metric questions Pin
«_Superman_»24-Oct-09 9:37
professional«_Superman_»24-Oct-09 9:37 
GeneralRe: Font metric questions Pin
transoft24-Oct-09 9:49
transoft24-Oct-09 9:49 
GeneralRe: Font metric questions Pin
«_Superman_»24-Oct-09 9:53
professional«_Superman_»24-Oct-09 9:53 
GeneralRe: Font metric questions Pin
transoft24-Oct-09 10:22
transoft24-Oct-09 10:22 
GeneralRe: Font metric questions Pin
«_Superman_»24-Oct-09 10:26
professional«_Superman_»24-Oct-09 10:26 

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.