Click here to Skip to main content
16,010,544 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralHelp with Documents and Views Pin
Aaron Schaefer20-Feb-02 12:36
Aaron Schaefer20-Feb-02 12:36 
GeneralRe: Help with Documents and Views Pin
Mazdak20-Feb-02 19:08
Mazdak20-Feb-02 19:08 
GeneralRe: Help with Documents and Views Pin
Steen Krogsgaard20-Feb-02 21:48
Steen Krogsgaard20-Feb-02 21:48 
GeneralError with compiled app (localization) Pin
blink4me20-Feb-02 12:11
blink4me20-Feb-02 12:11 
GeneralMemory leak Pin
Stew20-Feb-02 11:20
Stew20-Feb-02 11:20 
GeneralRe: Memory leak Pin
Christian Graus20-Feb-02 11:31
protectorChristian Graus20-Feb-02 11:31 
GeneralRe: Memory leak Pin
CodeGuy20-Feb-02 11:41
CodeGuy20-Feb-02 11:41 
GeneralRe: Memory leak Pin
Stew20-Feb-02 14:04
Stew20-Feb-02 14:04 
Maybe I can try to explain it a little more clearly. What's happening is I'm passing in the vector containing 11 struct elements, each of which is comprised of a pointer to a Text element and a CString. What I'm trying to do is replace the 11 elements in the vector with 11 new elements each time a file is selected by the user from the dropdown box. My problem is that I'm coming up with 11 new elements that are causing the memory leak.

For example, the program starts and the user selects a new file, then he selects another new file later during program execution. When the application exists, there are 22 elements listed in the memory leak information. On the other hand, if the user just fires up the application and uses any/all of the functionality except for using the dropdown box, when the program exists, everything is fine...no memory leak. The elements are destroyed in the destructor.

Any new thoughts?
GeneralRe: Memory leak Pin
CodeGuy21-Feb-02 1:56
CodeGuy21-Feb-02 1:56 
GeneralMember variables which are Pointers to User Defined Classes - Prob with CPropertySheet Pin
dazinith20-Feb-02 11:16
dazinith20-Feb-02 11:16 
GeneralRe: Member variables which are Pointers to User Defined Classes - Prob with CPropertySheet Pin
dazinith20-Feb-02 11:18
dazinith20-Feb-02 11:18 
GeneralSplitter Windows Pin
Anthony988720-Feb-02 8:59
Anthony988720-Feb-02 8:59 
GeneralRe: Splitter Windows Pin
Steen Krogsgaard20-Feb-02 21:53
Steen Krogsgaard20-Feb-02 21:53 
GeneralDialog from MFC Extension Dll Pin
NikoTanghe20-Feb-02 8:07
NikoTanghe20-Feb-02 8:07 
GeneralRe: Dialog from MFC Extension Dll Pin
Joaquín M López Muñoz20-Feb-02 9:50
Joaquín M López Muñoz20-Feb-02 9:50 
GeneralDialogProc Pin
Brian van der Beek20-Feb-02 8:00
Brian van der Beek20-Feb-02 8:00 
GeneralRe: DialogProc Pin
Nish Nishant20-Feb-02 8:13
sitebuilderNish Nishant20-Feb-02 8:13 
GeneralRe: DialogProc Pin
Brian van der Beek20-Feb-02 8:48
Brian van der Beek20-Feb-02 8:48 
GeneralRe: DialogProc Pin
Paul M Watt20-Feb-02 9:17
mentorPaul M Watt20-Feb-02 9:17 
GeneralButton Menu Pin
Anthony988720-Feb-02 7:12
Anthony988720-Feb-02 7:12 
GeneralRe: Button Menu Pin
Joaquín M López Muñoz20-Feb-02 7:19
Joaquín M López Muñoz20-Feb-02 7:19 
GeneralRe: Button Menu Pin
Ravi Bhavnani20-Feb-02 7:23
professionalRavi Bhavnani20-Feb-02 7:23 
QuestionHow to do a SetPixel with GDI+ Pin
20-Feb-02 7:04
suss20-Feb-02 7:04 
AnswerRe: How to do a SetPixel with GDI+ Pin
Mazdak20-Feb-02 7:30
Mazdak20-Feb-02 7:30 
AnswerRe: How to do a SetPixel with GDI+ Pin
Jon Gohr20-Feb-02 9:15
Jon Gohr20-Feb-02 9:15 

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.