Friday, January 17, 2003, 2:02:59 PM, you wrote: > Dear Robert,
RR>> Using Visual C++ and switching from __cdecl to __stdcall results in TB RR>> throwing an error saying it cannot initialize the plugin. > It definitely must not be cdecl. :-) > I guess, we should ask other people who has experience in writing > plug-ins in both Delphi and C... Ok, I finally solved it using Dev-CPP (and mingw). It required adding the option --add-stdcall-alias. Then the exported functions just needed __stdcall added like: int __stdcall __declspec(dllexport) TBP_GetName(char *dest, int size) I now have the plugin listed. Of course, the path is listed under the Status column, but I can live with that :) Rob ________________________________________________ Current version is 1.62 | "Using TBDEV" information: http://www.silverstones.com/thebat/TBUDLInfo.html

