Re: message pump code for COM STA



Sorry, SvenC!


My question is not how CreateWindow/RegisterClass/WNDPROC works, but who is
responsible to write WNDPROC and register it in the case of STA message pump
for the handler for the hidden window? The question is which party does this.
I think COM Runtime does this during CoInitialize(), right?


regards,
George
.



Relevant Pages

  • Re: Threading Issues (If you can answer this, Ill kiss you.)
    ... a new thread that does nothing but register for the system event. ... > When you register for a SystemEvent a window is created to receive the OS ... > process exits a threadpool thread then calls your event handler. ... > specifically to handle the broadcast messages. ...
    (microsoft.public.dotnet.languages.vb)
  • linker magic: dynamic meta handlers...
    ... dealing with my compiler doing funky codegen magic at link time. ... register allocator/codegen, ...). ... If the handler builds a code fragment which exports the given symbol name, ... The request may also be passed arguments, ...
    (comp.compilers)
  • Re: How to Access Window Messages
    ... Paul G. Tobey ha scritto: ... fist useful line on WndProc, nothig change, the appl seems to not ... // Register the unique message for this application. ...
    (microsoft.public.windowsce.app.development)
  • Re: [tip:perfcounters/core] perf_counter: x86: Fix call-chain support to use NMI-safe method
    ... Writing control registers is serializing, so it's a lot more expensive ... Then how about just writing to the cr2 register *if* it has changed ... fault (the fault handler gives us back an error code). ... And I would not want to touch the page fault handler itself to write the ...
    (Linux-Kernel)
  • Re: Exception Handling...
    ... At FS:the executing code can register an exception handler by providing ...
    (comp.lang.pascal.delphi.misc)