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

C / C++ / MFC

 
GeneralRe: WM_ENDSESSION Pin
john563226-Mar-08 23:42
john563226-Mar-08 23:42 
GeneralRe: WM_ENDSESSION Pin
Randor 27-Mar-08 7:52
professional Randor 27-Mar-08 7:52 
GeneralCOM message pump Pin
George_George26-Mar-08 22:18
George_George26-Mar-08 22:18 
GeneralRe: COM message pump Pin
Iain Clarke, Warrior Programmer26-Mar-08 23:09
Iain Clarke, Warrior Programmer26-Mar-08 23:09 
GeneralRe: COM message pump Pin
George_George26-Mar-08 23:43
George_George26-Mar-08 23:43 
AnswerRe: COM message pump Pin
Roger Stoltz27-Mar-08 0:51
Roger Stoltz27-Mar-08 0:51 
GeneralRe: COM message pump Pin
George_George27-Mar-08 2:12
George_George27-Mar-08 2:12 
GeneralRe: COM message pump Pin
Roger Stoltz27-Mar-08 2:38
Roger Stoltz27-Mar-08 2:38 
George_George wrote:
You mean marshelling from one apartment will use SendMessage other than PostMesssage?


I think you misunderstood me a little bit...
It's not setting up the actual marshalling with calls to e.g. ::CoMarshalInterThreadInterfaceInStream() or using the GIT that results in a sent message, it's the function call from the other apartment via the marshalled interface that causes this. The message sending happens behind the scenes of the proxy/stub implementation, unless we're talking about free-threaded apartments and that's way too early to talk about so forget about that for now. Wink | ;)
Concentrate on using the STA and calling servers inside it from other apartments.

As for documents regarding this, I assume you've already found a great place to start in Lim Bio Liong's article[^] since you've posted a comment there.
Other good references are the books that he refers to in the article.


"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown


GeneralRe: COM message pump Pin
George_George27-Mar-08 3:20
George_George27-Mar-08 3:20 
AnswerRe: COM message pump Pin
Roger Stoltz27-Mar-08 22:47
Roger Stoltz27-Mar-08 22:47 
GeneralRe: COM message pump Pin
George_George27-Mar-08 23:38
George_George27-Mar-08 23:38 
GeneralRe: COM message pump Pin
Roger Stoltz28-Mar-08 0:04
Roger Stoltz28-Mar-08 0:04 
GeneralRe: COM message pump Pin
George_George28-Mar-08 0:29
George_George28-Mar-08 0:29 
GeneralRe: COM message pump Pin
Roger Stoltz28-Mar-08 0:53
Roger Stoltz28-Mar-08 0:53 
GeneralRe: COM message pump Pin
George_George28-Mar-08 4:24
George_George28-Mar-08 4:24 
GeneralRe: COM message pump Pin
Roger Stoltz28-Mar-08 4:41
Roger Stoltz28-Mar-08 4:41 
GeneralRe: COM message pump Pin
George_George28-Mar-08 5:05
George_George28-Mar-08 5:05 
GeneralRe: COM message pump Pin
Stephen Hewitt27-Mar-08 15:33
Stephen Hewitt27-Mar-08 15:33 
GeneralRe: COM message pump Pin
Iain Clarke, Warrior Programmer27-Mar-08 22:49
Iain Clarke, Warrior Programmer27-Mar-08 22:49 
GeneralRe: COM message pump Pin
George_George27-Mar-08 23:48
George_George27-Mar-08 23:48 
GeneralProblem in Focusing... Pin
Ashish Chauhan26-Mar-08 21:16
Ashish Chauhan26-Mar-08 21:16 
GeneralRe: Problem in Focusing... Pin
Naveen26-Mar-08 21:49
Naveen26-Mar-08 21:49 
GeneralRe: Problem in Focusing... Pin
Ashish Chauhan26-Mar-08 22:42
Ashish Chauhan26-Mar-08 22:42 
GeneralRe: Problem in Focusing... Pin
Naveen26-Mar-08 22:49
Naveen26-Mar-08 22:49 
GeneralRe: Problem in Focusing... Pin
Ashish Chauhan26-Mar-08 22:57
Ashish Chauhan26-Mar-08 22:57 

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.