Click here to Skip to main content
15,891,248 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How do you load a .DLL multiple times into different memory spaces? Pin
sludgenz21-Jul-08 15:37
sludgenz21-Jul-08 15:37 
GeneralRe: How do you load a .DLL multiple times into different memory spaces? Pin
Luc Pattyn21-Jul-08 15:52
sitebuilderLuc Pattyn21-Jul-08 15:52 
GeneralRe: How do you load a .DLL multiple times into different memory spaces? Pin
sludgenz21-Jul-08 16:03
sludgenz21-Jul-08 16:03 
GeneralRe: How do you load a .DLL multiple times into different memory spaces? Pin
Stephen Hewitt21-Jul-08 17:01
Stephen Hewitt21-Jul-08 17:01 
AnswerRe: How do you load a .DLL multiple times into different memory spaces? Pin
Stephen Hewitt21-Jul-08 17:36
Stephen Hewitt21-Jul-08 17:36 
GeneralRe: How do you load a .DLL multiple times into different memory spaces? Pin
sludgenz21-Jul-08 17:56
sludgenz21-Jul-08 17:56 
GeneralRe: How do you load a .DLL multiple times into different memory spaces? Pin
Stephen Hewitt21-Jul-08 18:06
Stephen Hewitt21-Jul-08 18:06 
GeneralRe: How do you load a .DLL multiple times into different memory spaces? Pin
sludgenz21-Jul-08 18:20
sludgenz21-Jul-08 18:20 
Stephen Hewitt wrote:
Native code has no concept of AppDomains.


Yes I know, but the process that actually loads the native .DLL is actually a .NET Windows Service (using interop to calll out to the native code).

Stephen Hewitt wrote:
If I was going to use the “host the DLLs in a separate process” approach I’d use COM. When your local server calls CoRegisterClassObject[^] it would use the REGCLS_SINGLEUSE value of the REGCLS[^] enum to ensure each instance is in a separate process. Obviously you'd have to wrap the features you use from the DLL in COM interfaces.


I hadn't thought about using COM, thanks.
GeneralRe: How do you load a .DLL multiple times into different memory spaces? Pin
Stephen Hewitt21-Jul-08 18:24
Stephen Hewitt21-Jul-08 18:24 
AnswerRe: How do you load a .DLL multiple times into different memory spaces? Pin
Joe Woodbury21-Jul-08 18:29
professionalJoe Woodbury21-Jul-08 18:29 
GeneralRe: How do you load a .DLL multiple times into different memory spaces? Pin
Stephen Hewitt21-Jul-08 20:01
Stephen Hewitt21-Jul-08 20:01 
GeneralRe: How do you load a .DLL multiple times into different memory spaces? Pin
Joe Woodbury21-Jul-08 20:08
professionalJoe Woodbury21-Jul-08 20:08 
Questionquestion about a MKV block. Pin
kcynic21-Jul-08 13:51
kcynic21-Jul-08 13:51 
AnswerRe: question about a MKV block. Pin
yuanfen13922-Jul-08 20:42
yuanfen13922-Jul-08 20:42 
GeneralRe: question about a MKV block. Pin
kcynic22-Jul-08 21:27
kcynic22-Jul-08 21:27 
GeneralRe: question about a MKV block. Pin
yuanfen13923-Jul-08 0:16
yuanfen13923-Jul-08 0:16 
GeneralRe: question about a MKV block. Pin
kcynic23-Jul-08 2:00
kcynic23-Jul-08 2:00 
QuestionCWinThread - How to ask is still running? Pin
x87Bliss21-Jul-08 13:45
x87Bliss21-Jul-08 13:45 
AnswerRe: CWinThread - How to ask is still running? Pin
Joe Woodbury21-Jul-08 19:34
professionalJoe Woodbury21-Jul-08 19:34 
AnswerRe: CWinThread - How to ask is still running? Pin
sudhir_Kumar21-Jul-08 20:00
sudhir_Kumar21-Jul-08 20:00 
GeneralRe: CWinThread - How to ask is still running? Pin
Joe Woodbury21-Jul-08 20:26
professionalJoe Woodbury21-Jul-08 20:26 
Questionpolymorphism question - child pointer to parent class Pin
zecodela21-Jul-08 12:59
zecodela21-Jul-08 12:59 
AnswerRe: polymorphism question - child pointer to parent class Pin
Stephen Hewitt21-Jul-08 13:58
Stephen Hewitt21-Jul-08 13:58 
GeneralRe: polymorphism question - child pointer to parent class Pin
zecodela21-Jul-08 15:04
zecodela21-Jul-08 15:04 
GeneralRe: polymorphism question - child pointer to parent class Pin
Stephen Hewitt21-Jul-08 15:25
Stephen Hewitt21-Jul-08 15:25 

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.