Hello all, I wrote a dummy plugin with VC6, but I am getting "Plugin initialization" errors thought I followed the instruction Stefan introduced earlier today. See the attachment for further information.
I implemented only the two necessary functions TBP_GetName and TBP_GetStatus to demonstrate how the interface works. I declared them as follows: // Header: #define DllExport __declspec (dllexport) DllExport int WINAPI TBP_GetName (char* ABuf, int ABufSize); DllExport int WINAPI TBP_GetStatus (); // Module: DllExport int WINAPI TBP_GetName (char* ABuf, int ABufSize) { assert (ABufSize > 0); strncpy (ABuf, "Foo", ABufSize); return 3; } DllExport int WINAPI TBP_GetStatus () { return TBP_SUCCESS; } What am I doing wrong ? BR, Tero
<<attachment: error_message.png>>
pgp00000.pgp
Description: PGP signature
________________________________________________ http://www.silverstones.com/thebat/TBUDLInfo.html