Hello, Mark.

You wrote 11.09.2003 @ 8:18  in <mid:[EMAIL PROTECTED]>
  using mailer The Bat! (v1.63 Beta/7) Personal

MW> Here's the revised edition of my plugin stub, hopefully conforming to
MW> the draft API document. Alexey - could you (or anyone else) please try
MW> this under Visual C++? I've got it working under the other two
MW> compilers and I *think* I've got the VC stuff formatted properly, but
MW> I don't have that compiler at hand.

MW> If that's working then this now compiles with Metrowerks Codewarrior,
MW> Borland C++ Builder, and Visual C++.

There are some changes to make it compilable on VC:

,----- [ TBPluginApi.h ]
| // if we're in Visual C++
| #ifdef _MSC_VER
|  #include <objbase.h>
|  #include <initguid.h>
|  #define TBP_EXPORT __declspec( dllexport )  __stdcall
|  typedef char *PChar;
| #endif
`-----

,----- [ TBPlugin.cpp (around "Util1.h" ]
| #ifndef _MSC_VER
| #include "Unit1.h"
| #endif
`-----

So, it became compilable, but still doesn't work, because it still use name
decorations which is totally unsupported by The Bat!, unfortunately... So, the
TBP_ExecMacro became [EMAIL PROTECTED] and etc.

The only way still to use .def file...


-- 
Sincerely,
 Alexey.
Using TB 2.00.6 on WinXP Pro SP1 (2600), spelling by ORFO2002 (CSAPI) 
..with Kaspersky Antivirus Plugin (ver 3.5 Gold) & antispam filter BayesIt! 0.4em

   mailto:[EMAIL PROTECTED]


________________________________________________
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to