Handling callbacks from an function in an external DLL

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
Posts: 13
Joined: Thu Jun 15, 2006 3:04 pm

Handling callbacks from an function in an external DLL

Post by bmont » Wed Jun 27, 2007 12:30 am

I was wondering how Revolution would handle a callback from an external function written in C++.

I have a stock quote DLL that is wrtten in C++ that issues a quote update message whenever a new quote is received.

What I was planning on doing is calling the "SendMCMessage" or "SendCardMessage" every time a new quote was received.

So I was wondering when Revolution would process this message since it can dispatched at any time. Does the SendMCMessage put the message on the event stack and Revolution just processes it as any other event or does it do something else.

Does anyone else have an example on how this ttype of processing is done?

Any help would be appreciated.

Post Reply

Return to “Talking LiveCode”