Click here to Skip to main content
15,895,884 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalafter pressing button dialog box should be pop up like Windos Explorer Start Button in SDK [modified] Pin
Pankaj Kothawade10-Apr-08 19:48
Pankaj Kothawade10-Apr-08 19:48 
GeneralRe: after pressing button dialog box should be pop up like Windos Explorer Start Button in SDK Pin
Hamid_RT12-Apr-08 5:45
Hamid_RT12-Apr-08 5:45 
Generalin-process server considerations Pin
George_George10-Apr-08 19:39
George_George10-Apr-08 19:39 
GeneralRe: in-process server considerations Pin
Stephen Hewitt10-Apr-08 20:14
Stephen Hewitt10-Apr-08 20:14 
GeneralRe: in-process server considerations Pin
George_George10-Apr-08 21:37
George_George10-Apr-08 21:37 
GeneralRe: in-process server considerations Pin
Stephen Hewitt10-Apr-08 21:39
Stephen Hewitt10-Apr-08 21:39 
GeneralRe: in-process server considerations Pin
George_George10-Apr-08 21:58
George_George10-Apr-08 21:58 
GeneralRe: in-process server considerations Pin
Stephen Hewitt10-Apr-08 22:04
Stephen Hewitt10-Apr-08 22:04 
George_George wrote:
Here is the comments from the book ATL Internals about in-process server considerations,

--------------------
Any thread that calls CoGetClassObject or CoCreateInstance must already have joined an apartment, or the call will fail immediately. So, does that mean all objects exposed from in-process servers must be equally at home in single-threaded and multithreaded apartments so that random clients isn't cause harm? Fortunately, no.
--------------------


Any thread that calls CoGetClassObject or CoCreateInstance must already have joined an apartment, or the call will fail immediately.

This part is pretty straight forward.



So, does that mean all objects exposed from in-process servers must be equally at home in single-threaded and multithreaded apartments so that random clients isn't cause harm?

This just seems to be another way of stating the question you asked.



Fortunately, no.

This is saying that the threading models of the client and server do not have to match but goes into no details on how this is achieved.

Steve

GeneralRe: in-process server considerations Pin
George_George10-Apr-08 22:07
George_George10-Apr-08 22:07 
QuestionError loading ActiveX control in secondary desktop ? Pin
phucbaby10-Apr-08 19:31
phucbaby10-Apr-08 19:31 
GeneralRe: Error loading ActiveX control in secondary desktop ? Pin
phucbaby10-Apr-08 19:37
phucbaby10-Apr-08 19:37 
GeneralRe: Error loading ActiveX control in secondary desktop ? Pin
leenmie13-Apr-08 4:03
leenmie13-Apr-08 4:03 
GeneralWIN32 API to find Mouse Button State Pin
poda10-Apr-08 19:29
poda10-Apr-08 19:29 
GeneralRe: WIN32 API to find Mouse Button State Pin
Mark Salsbery10-Apr-08 19:54
Mark Salsbery10-Apr-08 19:54 
GeneralRe: WIN32 API to find Mouse Button State Pin
Stephen Hewitt10-Apr-08 20:19
Stephen Hewitt10-Apr-08 20:19 
GeneralRe: WIN32 API to find Mouse Button State Pin
Mark Salsbery10-Apr-08 21:09
Mark Salsbery10-Apr-08 21:09 
GeneralRe: WIN32 API to find Mouse Button State [modified] Pin
Nibu babu thomas10-Apr-08 20:26
Nibu babu thomas10-Apr-08 20:26 
GeneralRe: WIN32 API to find Mouse Button State Pin
poda10-Apr-08 22:58
poda10-Apr-08 22:58 
GeneralRe: WIN32 API to find Mouse Button State Pin
Hamid_RT12-Apr-08 5:40
Hamid_RT12-Apr-08 5:40 
GeneralMultilangauge problem Pin
Surendra Vishwkarma10-Apr-08 19:26
Surendra Vishwkarma10-Apr-08 19:26 
AnswerRe: Multilangauge problem Pin
ganesa moorthy10-Apr-08 21:50
ganesa moorthy10-Apr-08 21:50 
GeneralRe: Multilangauge problem Pin
Hamid_RT12-Apr-08 5:36
Hamid_RT12-Apr-08 5:36 
QuestionHow can i Load Bitmap in Runtime Pin
phanindra varma10-Apr-08 19:12
phanindra varma10-Apr-08 19:12 
AnswerRe: How can i Load Bitmap in Runtime Pin
Stephen Hewitt10-Apr-08 19:22
Stephen Hewitt10-Apr-08 19:22 
GeneralRe: How can i Load Bitmap in Runtime Pin
phanindra varma11-Apr-08 1:15
phanindra varma11-Apr-08 1:15 

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.