O.P. RE: Q. for Patchou: thread-safety in plugins
I'm not sure if it's the latest or best, but I'll just post my version of the headers. These have been used in WMPlus and SOF2Plus (which hasn't been very publicly released, but if any SOF2 fans want yet another sounds plugin, just shout). Note that these do not yet contain the Unicode declarations for the functions, only the structures for that have been converted. The prototypes for the functions are in comments in the unit, you can copy these to your DLL project and export them... if you want an example on how to use this just let me know and I'll fix something... or take a look at the other Delphi translation posted here on these forums...
P.S. Just noticed these aren't actually the latest version. I will grab the original "SDK" and convert the new funtions, maybe include the Unicode ones as well this time... but for now, this'll get you started, as you won't likely need the new popup functionality...
Attachment: MPPlugin.zip (4.55 KB)
This file has been downloaded 234 time(s).
|