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

C / C++ / MFC

 
GeneralRe: Error not releasing memeory Pin
Cedric Moonen18-May-06 20:25
Cedric Moonen18-May-06 20:25 
AnswerRe: Error not releasing memeory Pin
Cedric Moonen18-May-06 5:01
Cedric Moonen18-May-06 5:01 
GeneralRe: Error not releasing memeory Pin
Chris Losinger18-May-06 5:10
professionalChris Losinger18-May-06 5:10 
JokeRe: Error not releasing memeory Pin
Roger Stoltz18-May-06 6:17
Roger Stoltz18-May-06 6:17 
GeneralRe: Error not releasing memeory Pin
ThatsAlok18-May-06 19:03
ThatsAlok18-May-06 19:03 
GeneralRe: Error not releasing memeory Pin
led mike18-May-06 5:49
led mike18-May-06 5:49 
GeneralRe: Error not releasing memeory Pin
ThatsAlok18-May-06 19:07
ThatsAlok18-May-06 19:07 
GeneralRe: Error not releasing memeory Pin
Cedric Moonen18-May-06 20:20
Cedric Moonen18-May-06 20:20 
ThatsAlok wrote:
This problem arises in COM dll not normal DLL, as Memory allocation in Normal DLL is under the Excutable who is calling Function


Nope, not at all ! Try it: call a function from your dll in which you allocate memory, return this memory and delete it in your program, you will get a crash. I'm sure of that. There are two heap managers: one for the exe and one for the dll. If you try to release memory in your exe that has been allocated by your dll, that won't work.
Also, ask toxcct, he got the problem Wink | ;)

COM dll are just standard dll's (they just provide a set of existing functions and they provide them in a defined way).


Cédric Moonen
Software developer

Charting control
GeneralRe: Error not releasing memeory Pin
led mike19-May-06 5:21
led mike19-May-06 5:21 
GeneralRe: Error not releasing memeory Pin
Cedric Moonen19-May-06 6:19
Cedric Moonen19-May-06 6:19 
GeneralRe: Error not releasing memeory Pin
led mike19-May-06 7:26
led mike19-May-06 7:26 
GeneralRe: Error not releasing memeory Pin
Cedric Moonen21-May-06 22:24
Cedric Moonen21-May-06 22:24 
QuestionMultiple Line ToolTip Pin
Andy Rama18-May-06 4:14
Andy Rama18-May-06 4:14 
AnswerRe: Multiple Line ToolTip Pin
NiceNaidu18-May-06 5:12
NiceNaidu18-May-06 5:12 
GeneralRe: Multiple Line ToolTip Pin
Andy Rama18-May-06 5:45
Andy Rama18-May-06 5:45 
GeneralRe: Multiple Line ToolTip Pin
Andy Rama18-May-06 19:56
Andy Rama18-May-06 19:56 
Questionlib file Pin
big_denny_20018-May-06 4:02
big_denny_20018-May-06 4:02 
AnswerRe: lib file Pin
Cedric Moonen18-May-06 4:10
Cedric Moonen18-May-06 4:10 
GeneralRe: lib file Pin
big_denny_20018-May-06 6:28
big_denny_20018-May-06 6:28 
AnswerRe: lib file Pin
NiceNaidu18-May-06 4:32
NiceNaidu18-May-06 4:32 
GeneralRe: lib file Pin
Cedric Moonen18-May-06 4:41
Cedric Moonen18-May-06 4:41 
AnswerRe: lib file Pin
Eytukan18-May-06 4:34
Eytukan18-May-06 4:34 
GeneralRe: lib file Pin
Rage18-May-06 4:42
professionalRage18-May-06 4:42 
GeneralRe: lib file Pin
Cedric Moonen18-May-06 4:45
Cedric Moonen18-May-06 4:45 
GeneralRe: lib file Pin
NiceNaidu18-May-06 4:50
NiceNaidu18-May-06 4:50 

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.