Click here to Skip to main content
15,920,513 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Debug Assertion Failed! _CrtIsValidHeapPointer( pUserData) Pin
Mike Dimmick20-Jun-07 4:14
Mike Dimmick20-Jun-07 4:14 
AnswerRe: Debug Assertion Failed! _CrtIsValidHeapPointer( pUserData) Pin
Hamid_RT20-Jun-07 8:59
Hamid_RT20-Jun-07 8:59 
GeneralRe: Debug Assertion Failed! _CrtIsValidHeapPointer( pUserData) Pin
Shouvik Das20-Jun-07 20:40
Shouvik Das20-Jun-07 20:40 
Questionhow to switch from IDR_MAINFRAME to IDR_MENU1 Pin
vikramkarthik19-Jun-07 18:25
vikramkarthik19-Jun-07 18:25 
AnswerRe: how to switch from IDR_MAINFRAME to IDR_MENU1 Pin
Iain Clarke, Warrior Programmer19-Jun-07 23:33
Iain Clarke, Warrior Programmer19-Jun-07 23:33 
AnswerRe: how to switch from IDR_MAINFRAME to IDR_MENU1 Pin
Hamid_RT20-Jun-07 8:59
Hamid_RT20-Jun-07 8:59 
QuestionThread / Memory Pin
Rose8119-Jun-07 17:40
Rose8119-Jun-07 17:40 
AnswerRe: Thread / Memory Pin
Matthew Faithfull20-Jun-07 3:16
Matthew Faithfull20-Jun-07 3:16 
The issues you've mentioned don't relate directly to memory ownership or threading so it's a little difficult to give an answer. Your new plugin will need to follow the same threading model as the old one because that is what the client expects. It will need to manage parameter memory ownership the same way as the old one because that is what the client expects.
Also remember that if you link your new DLL statically to the C Runtime e.g. LIBCMT then it will get its own heap. If you link it dynamically with MSVCRT then it will share a heap with the client if and only if the client also links to the CRT dynamically.
Careful examination of the interfaces you're implementing, some guesswork and a lot of testing should get you there Smile | :)

Nothing is exactly what it seems but everything with seems can be unpicked.

QuestionAn Strange Problem in constructor [modified] Pin
vibindia19-Jun-07 16:16
vibindia19-Jun-07 16:16 
AnswerRe: An Strange Problem in constructor [modified] Pin
George L. Jackson19-Jun-07 16:52
George L. Jackson19-Jun-07 16:52 
AnswerRe: An Strange Problem in constructor Pin
_anil_19-Jun-07 19:30
_anil_19-Jun-07 19:30 
GeneralRe: An Strange Problem in constructor Pin
Jonathan [Darka]19-Jun-07 21:46
professionalJonathan [Darka]19-Jun-07 21:46 
Questionthe anti-static dilemma Pin
Cyrilix19-Jun-07 15:13
Cyrilix19-Jun-07 15:13 
AnswerRe: the anti-static dilemma Pin
Mark Salsbery19-Jun-07 15:23
Mark Salsbery19-Jun-07 15:23 
AnswerRe: the anti-static dilemma Pin
Cedric Moonen19-Jun-07 21:00
Cedric Moonen19-Jun-07 21:00 
GeneralRe: the anti-static dilemma Pin
Cyrilix20-Jun-07 3:13
Cyrilix20-Jun-07 3:13 
GeneralRe: the anti-static dilemma Pin
Matthew Faithfull20-Jun-07 3:29
Matthew Faithfull20-Jun-07 3:29 
Questionwhy the data would change with no trace? Pin
kcynic19-Jun-07 12:57
kcynic19-Jun-07 12:57 
QuestionRe: why the data would change with no trace? Pin
Mark Salsbery19-Jun-07 14:26
Mark Salsbery19-Jun-07 14:26 
AnswerRe: why the data would change with no trace? Pin
kcynic20-Jun-07 0:24
kcynic20-Jun-07 0:24 
AnswerRe: why the data would change with no trace? Pin
Roger Stoltz20-Jun-07 0:49
Roger Stoltz20-Jun-07 0:49 
GeneralRe: why the data would change with no trace? Pin
kcynic20-Jun-07 3:02
kcynic20-Jun-07 3:02 
GeneralRe: why the data would change with no trace? Pin
Roger Stoltz20-Jun-07 4:01
Roger Stoltz20-Jun-07 4:01 
GeneralRe: why the data would change with no trace? Pin
kcynic21-Jun-07 0:59
kcynic21-Jun-07 0:59 
QuestionDetecting Remote Desktop Events Pin
Akin Ocal19-Jun-07 12:02
Akin Ocal19-Jun-07 12:02 

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.