Hi Mark,

MW> Probably doesn't much matter. In the example those two functions are
MW> just do-nothing stubs anyway.

Well, they are called when the plugin is loaded/unloaded. If you do
everything at the DLL entry, you simple should not implement them -
their absence is not critical.

MW> My only thought was that there was some Object Pascal glue that
MW> needed to see those two functions in the DLL.

There is nothing from Object Pascal here. DLL is DLL :-)

Did you work out what was wrong with the call convention? I think you
just should add "stdcall" in TBP_XXX function declaration (if I
remember it right, BC++ does not require underscores, but I can be
wrong). Also, somebody knows whether "WINAPI" may replace "stdcall" ?


-- 
Cheers,
 Stefan                            mailto:[EMAIL PROTECTED]

...I don't suffer from insanity. I enjoy every minute of it.


________________________________________________
Current version is 1.62 | "Using TBDEV" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to