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

C / C++ / MFC

 
GeneralRe: what does IN mean when declaring variables? Pin
scottwalk11-Jan-05 8:52
scottwalk11-Jan-05 8:52 
GeneralRe: what does IN mean when declaring variables? Pin
Tom Wright11-Jan-05 9:02
Tom Wright11-Jan-05 9:02 
AnswerRe: what does IN mean when declaring variables? Pin
David Crow11-Jan-05 8:57
David Crow11-Jan-05 8:57 
GeneralRe: what does IN mean when declaring variables? Pin
scottwalk11-Jan-05 9:56
scottwalk11-Jan-05 9:56 
GeneralSpecial Character with TextOut Pin
Anonymous11-Jan-05 8:17
Anonymous11-Jan-05 8:17 
GeneralRe: Special Character with TextOut Pin
basementman11-Jan-05 8:56
basementman11-Jan-05 8:56 
GeneralMemory Management across DLLs Pin
Member 155768211-Jan-05 8:10
Member 155768211-Jan-05 8:10 
GeneralRe: Memory Management across DLLs Pin
Blake Miller11-Jan-05 12:16
Blake Miller11-Jan-05 12:16 
We have projects that have memory allocated and freed, newed and deleted all over the place. I think that perhaps your DLL and EXE are somehow mismatched. One is Debug, other is Release, or if MFC, one is statically linked to MFC and other is using MFC as a DLL. You can check that and possibly your problem will go away.

Other option, to avoid the delayed delete calls, is to declare a POINTER to your Class B at global scope, and create (new) it within the context of your program's regular execution (InitInstance in MFC), and delete it before your program is really exiting (wihtin ExitInstance). Then you might be okay that way too.

GeneralRe: Memory Management across DLLs Pin
12-Jan-05 13:28
suss12-Jan-05 13:28 
GeneralRe: Memory Management across DLLs Pin
Bo Hunter12-Jan-05 13:25
Bo Hunter12-Jan-05 13:25 
GeneralRe: Memory Management across DLLs Pin
digwizfox13-Jan-05 7:39
digwizfox13-Jan-05 7:39 
GeneralCommand Line String Replacer Pin
Joel Holdsworth11-Jan-05 7:40
Joel Holdsworth11-Jan-05 7:40 
GeneralRe: Command Line String Replacer Pin
David Crow11-Jan-05 8:58
David Crow11-Jan-05 8:58 
GeneralRe: Command Line String Replacer Pin
basementman11-Jan-05 9:15
basementman11-Jan-05 9:15 
GeneralRe: Command Line String Replacer Pin
Axter11-Jan-05 12:35
professionalAxter11-Jan-05 12:35 
GeneralRe: Command Line String Replacer Pin
basementman12-Jan-05 3:35
basementman12-Jan-05 3:35 
GeneralRe: Command Line String Replacer Pin
Joel Holdsworth12-Jan-05 2:28
Joel Holdsworth12-Jan-05 2:28 
GeneralRe: Debug Question Pin
BlackDice11-Jan-05 7:27
BlackDice11-Jan-05 7:27 
GeneralSimple question - Threads and Timers Pin
no_reg_name11-Jan-05 5:36
no_reg_name11-Jan-05 5:36 
GeneralRe: Simple question - Threads and Timers Pin
ThatsAlok11-Jan-05 6:45
ThatsAlok11-Jan-05 6:45 
GeneralRe: Simple question - Threads and Timers Pin
Blake Miller11-Jan-05 7:18
Blake Miller11-Jan-05 7:18 
GeneralRe: Simple question - Threads and Timers Pin
PJ Arends11-Jan-05 9:16
professionalPJ Arends11-Jan-05 9:16 
GeneralRe: Simple question - Threads and Timers Pin
basementman11-Jan-05 9:18
basementman11-Jan-05 9:18 
GeneralRe: Simple question - Threads and Timers Pin
PJ Arends11-Jan-05 9:52
professionalPJ Arends11-Jan-05 9:52 
GeneralRe: Simple question - Threads and Timers Pin
basementman11-Jan-05 9:17
basementman11-Jan-05 9:17 

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.