Click here to Skip to main content
15,900,907 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Critical section failed! Pin
SRKSHOME6-Aug-08 1:30
SRKSHOME6-Aug-08 1:30 
GeneralRe: Critical section failed! Pin
SandipG 6-Aug-08 1:36
SandipG 6-Aug-08 1:36 
QuestionHow to change a single toolbar icon at runtime? Pin
madmax00015-Aug-08 23:54
madmax00015-Aug-08 23:54 
AnswerRe: How to change a single toolbar icon at runtime? Pin
Sarath C6-Aug-08 0:12
Sarath C6-Aug-08 0:12 
Questionmerge proxy/stub code in ATL server Pin
George_George5-Aug-08 23:46
George_George5-Aug-08 23:46 
QuestionRe: merge proxy/stub code in ATL server Pin
led mike6-Aug-08 4:32
led mike6-Aug-08 4:32 
AnswerRe: merge proxy/stub code in ATL server Pin
George_George6-Aug-08 19:40
George_George6-Aug-08 19:40 
GeneralRe: merge proxy/stub code in ATL server Pin
led mike7-Aug-08 7:13
led mike7-Aug-08 7:13 
George_George wrote:
- If separate coclass code and proxy code into two DLLs, under Windows registry, we need to register coclass DLL under coclass CLSID and register proxy DLL proxy coclass CLSID;

- If bundle coclass code with proxy code, under Windows registry, we register both the DLL (bundled) under both original coclass CLSID and proxy coclass CLSID.

Both are correct?


I don't know because I don't really understand what you said, but basically because you start each statement with "if" I would say, NO not correct.

You seem to be over complicating the issue, something it seems you frequently do. There is no "if". There must be a registry entry pointing to the DLL that the component is in, period. No "if" for pointing to the DLL, it must be done, always, period.

Your question seems to be focused on the COM Proxy. To find the Proxy the registry mapping entry[^] is used. Since this mapping is a pointer to another CLSID then that CLSID must have an entry that points the DLL just as we stated above.

Also Make sure you understand COM Apartments and Marshalling[^] to be able to understand the Proxy Registry entries.


led mike

GeneralRe: merge proxy/stub code in ATL server Pin
George_George8-Aug-08 23:30
George_George8-Aug-08 23:30 
QuestionHow to loop through a directory Pin
santhoshv845-Aug-08 23:40
santhoshv845-Aug-08 23:40 
AnswerRe: How to loop through a directory Pin
_AnsHUMAN_ 6-Aug-08 0:02
_AnsHUMAN_ 6-Aug-08 0:02 
AnswerRe: How to loop through a directory Pin
Sarath C6-Aug-08 0:06
Sarath C6-Aug-08 0:06 
GeneralRe: How to loop through a directory Pin
Sarath C6-Aug-08 0:10
Sarath C6-Aug-08 0:10 
AnswerRe: How to loop through a directory Pin
Jijo.Raj6-Aug-08 0:09
Jijo.Raj6-Aug-08 0:09 
JokeRe: How to loop through a directory [modified] Pin
SandipG 6-Aug-08 0:11
SandipG 6-Aug-08 0:11 
JokeRe: How to loop through a directory Pin
Jijo.Raj6-Aug-08 0:14
Jijo.Raj6-Aug-08 0:14 
GeneralRe: How to loop through a directory Pin
Jijo.Raj6-Aug-08 1:01
Jijo.Raj6-Aug-08 1:01 
QuestionRe: How to loop through a directory Pin
David Crow6-Aug-08 7:20
David Crow6-Aug-08 7:20 
QuestionCreateFile OPEN_EXISTING problem in Vista Pin
NiceNaidu5-Aug-08 23:37
NiceNaidu5-Aug-08 23:37 
AnswerRe: CreateFile OPEN_EXISTING problem in Vista Pin
SandipG 6-Aug-08 0:03
SandipG 6-Aug-08 0:03 
AnswerRe: CreateFile OPEN_EXISTING problem in Vista Pin
_AnsHUMAN_ 6-Aug-08 0:04
_AnsHUMAN_ 6-Aug-08 0:04 
GeneralRe: CreateFile OPEN_EXISTING problem in Vista Pin
NiceNaidu6-Aug-08 0:12
NiceNaidu6-Aug-08 0:12 
GeneralRe: CreateFile OPEN_EXISTING problem in Vista [modified] Pin
SandipG 6-Aug-08 0:35
SandipG 6-Aug-08 0:35 
GeneralRe: CreateFile OPEN_EXISTING problem in Vista Pin
NiceNaidu6-Aug-08 0:41
NiceNaidu6-Aug-08 0:41 
GeneralRe: CreateFile OPEN_EXISTING problem in Vista Pin
SandipG 6-Aug-08 0:43
SandipG 6-Aug-08 0:43 

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.