cosmigo / pmotion-assets

Cosmigo Pro Motion Assets
Apache License 2.0
3 stars 1 forks source link

DDE Plugins Synchronous Execution? #2

Open tajmone opened 5 years ago

tajmone commented 5 years ago

Missing info on DDE plugins.

In his Pro Motion DDE Interface in C, Thiadmer Riemersma brings up the issue of wether asynchronous execution of DDE plugins is mandatory or not:

My implementation of a DDE “execute” is asynchronous. I do not know whether Pro Motion requires this. A few other applications for which I implemented DDE conversations required asynchronous execution, so I left it that way. Note that the Delphi implementation also does an asynchronous execution.

For more info, see also:

jan-cosmigo commented 3 years ago

I can't say at the moment, because the DDE transfers are hidden behind an API provided by Delphi. I did not find anything about synchronous or asynchronous data transfer. Whenever the DDE-system receives a message then it calls an event handler. On my side I just write some text into a field and that's it. Once I find the time to rearrange/redo the code then I might have a closer look at the DDE techniques that are actually used under the hood.