Martin Peach wrote:
i think the proper way to do it is to use DllMain() http://msdn.microsoft.com/en-us/library/ms682583.aspx
Are you sure it's not GetProcAddress() that you want? s_loader.c line 262 uses it...
yes i am sure. the idea was to not call a however named function by Pd but let the dyloader do it for you.
i implemented something like this in ftm4pd, where the library constructor will register a new loader that then loads the external (though i am currently wondering why i did not just registered the class...)
fgmasdr IOhannes