Click here to Skip to main content
15,898,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: GetProfileInt Pin
CPallini24-Mar-08 1:22
mveCPallini24-Mar-08 1:22 
GeneralRe: GetProfileInt Pin
Try24-Mar-08 19:31
Try24-Mar-08 19:31 
QuestionCxImage Class? Pin
sureshtech23-Mar-08 23:46
sureshtech23-Mar-08 23:46 
AnswerRe: CxImage Class? Pin
Paresh Chitte23-Mar-08 23:53
Paresh Chitte23-Mar-08 23:53 
AnswerRe: CxImage Class? Pin
Hamid_RT1-Apr-08 2:15
Hamid_RT1-Apr-08 2:15 
Questionhow to authenticate the windows user Pin
vineeshV23-Mar-08 23:33
vineeshV23-Mar-08 23:33 
QuestionRe: how to authenticate the windows user Pin
David Crow24-Mar-08 4:06
David Crow24-Mar-08 4:06 
GeneralC++ COM STA model Pin
George_George23-Mar-08 23:11
George_George23-Mar-08 23:11 
Hello everyone,


In COM STA model, a hidden Window will be created with synchronized message pump operation. I have seen and debugged a couple of samples. My quesitons are,

1. Who (which party) is responsible for generating code to create the hidden Window and generate message pump (retrieve message one-by-one from message queue so that all processing to the component is synchronized)? Generated by COM Runtime (I suspect it generated by COM Runtime, because I have seen no code in the samples I studied to explicitly create the hidden Window)?

2. If it is created by the COM Runtime? When such code is generated? During call to CoInitializeEx and when specifiying parameter value for dwCoInit (COINIT_APARTMENTTHREADED or COINIT_MULTITHREADED)?

3. Where is the generated binary code? Injected by linker in the result COM DLL or EXE?


thanks in advance,
George
GeneralRe: C++ COM STA model Pin
James R. Twine24-Mar-08 1:30
James R. Twine24-Mar-08 1:30 
GeneralRe: C++ COM STA model Pin
George_George24-Mar-08 2:09
George_George24-Mar-08 2:09 
GeneralRe: C++ COM STA model Pin
James R. Twine24-Mar-08 2:31
James R. Twine24-Mar-08 2:31 
GeneralRe: C++ COM STA model Pin
George_George24-Mar-08 2:51
George_George24-Mar-08 2:51 
GeneralRe: C++ COM STA model Pin
James R. Twine24-Mar-08 3:10
James R. Twine24-Mar-08 3:10 
GeneralRe: C++ COM STA model Pin
George_George24-Mar-08 4:35
George_George24-Mar-08 4:35 
GeneralRe: C++ COM STA model Pin
James R. Twine24-Mar-08 4:46
James R. Twine24-Mar-08 4:46 
GeneralRe: C++ COM STA model Pin
George_George24-Mar-08 19:19
George_George24-Mar-08 19:19 
GeneralRe: C++ COM STA model Pin
James R. Twine24-Mar-08 23:46
James R. Twine24-Mar-08 23:46 
GeneralRe: C++ COM STA model Pin
George_George25-Mar-08 4:24
George_George25-Mar-08 4:24 
GeneralRe: C++ COM STA model Pin
James R. Twine25-Mar-08 6:19
James R. Twine25-Mar-08 6:19 
GeneralRe: C++ COM STA model Pin
George_George25-Mar-08 20:15
George_George25-Mar-08 20:15 
GeneralRe: C++ COM STA model Pin
James R. Twine26-Mar-08 1:40
James R. Twine26-Mar-08 1:40 
GeneralRe: C++ COM STA model Pin
George_George26-Mar-08 1:51
George_George26-Mar-08 1:51 
GeneralRe: C++ COM STA model Pin
Nemanja Trifunovic24-Mar-08 8:00
Nemanja Trifunovic24-Mar-08 8:00 
GeneralRe: C++ COM STA model Pin
George_George24-Mar-08 18:51
George_George24-Mar-08 18:51 
Generalafxwin.h Pin
specialhaha23-Mar-08 22:22
specialhaha23-Mar-08 22:22 

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.