Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question about COM integration of HTTP server
#2
I don't have much experience in this. I think everything here is correct.

It's easy to switch to other thread with SendMessage or PostMessage. COM object's thread creates a hidden message-only window, and HTTP server's thread sends messages to it.

Don't forget that QM macro must process messages. If it is a dialog or other window, or has a message loop, it already processes messages. Else need opt waitmsg 1 and wait().

Or HTTP server's thread could call a QM function as a callback function in its thread. Then don't need events. And QM macro does not have to process messages.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)