Re[2]: Non-official TBP API - addition

2003-09-10 Thread NetVicious
Well, if you installs a plugin into your system, it could do all it wants because it's a program. While the plugin install needs be maded by the user and you know which plugin are you installing it will be ok. lunes, 8 sep 2003 at 18:09, you wrote: > I'm not a programmer, or rather, a very p

Plugin stub (API draft compliant)

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

Re: The Bat! Common Plug-in API v1.0

2003-09-10 Thread Mark Wieder
Stefan- Note also that instead of the C calling conventions in section 3.1, a better (cross-compiler) substitute for WINAPI would be TBP_EXPORT, as follows: // if we're in Visual C++ #ifdef _MSC_VER #define TBP_EXPORT __stdcall #endif // if we're in Borland C++ Builder #ifdef __BORLANDC__ #d

Re: The Bat! Common Plug-in API v1.0

2003-09-10 Thread Mark Wieder
Stefan- I see a few template object indexes which have disappeared from the code stub you posted a while ago. I'm assuming these are gone for a reason, and not just an oversight. Their numeric values have not been subsumed by other indexes. In particular, tpxAttachVCard tpxSingleRe tpxCookieCount

Re[2]: Plugin initialization failed

2003-09-10 Thread Tero Ripattila
Hello Alexey, Wednesday, September 10, 2003, 5:39:45 PM, you wrote: ANV> Then add a .def file to your project and exclude any __declspec from the source. Hell yeah - Man I was stupid to forget such a basic thing! I managed to get the plugin to function. Thank you for you help. ANV> Here is

Re: The Bat! Common Plug-in API v1.0

2003-09-10 Thread Alexey N. Vinogradov
Hello, Stefan. You wrote 10.09.2003 @ 16:30 in using mailer The Bat! (v2.00.6) ST> I tried to make everything clear, but if there are some uncovered ST> issues and concerns, please post them here. ST> We are planning to make some additions to the API soon. Please

Re: The Bat! Common Plug-in API v1.0

2003-09-10 Thread Alexey N. Vinogradov
Hello, Stefan. You wrote 10.09.2003 @ 16:30 in using mailer The Bat! (v2.00.6) ST> We are planning to make some additions to the API soon. Please post ST> your suggestions about which plug-in slot should be implemented ST> next. One more suggestion... What about

Re: Plugin initialization failed

2003-09-10 Thread Alexey N. Vinogradov
Hello, Tero. You wrote 10.09.2003 @ 20:30 in using mailer The Bat! (v2.00.6) Personal TR> Hello all, TR> I wrote a dummy plugin with VC6, but I am getting "Plugin initialization" TR> errors thought I followed the instruction Stefan introduced earlier today. TR> See the

Re: Plugin initialization failed

2003-09-10 Thread Tero Ripattila
-BEGIN PGP SIGNED MESSAGE- Hash: MD5 TR> DllExport int WINAPI TBP_GetStatus () TR> { TR> return TBP_SUCCESS; TR> } Where as TBP_SUCCESS is declared as follows: #define TBP_SUCCESS 0 BR, Tero -BEGIN PGP SIGNATURE- Version: 2.6 iQCVAwUAP18Mm6FEeQ41vAczAQFf8QP9G6bMzo99rRBS8S2Br

Plugin initialization failed

2003-09-10 Thread Tero Ripattila
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 h

Re: The Bat! Common Plug-in API v1.0

2003-09-10 Thread Alexey N. Vinogradov
Hello, Stefan. You wrote 10.09.2003 @ 16:30 in using mailer The Bat! (v2.00.6) ST> Dear All, ST> Phew... Writing API documentation is definitely a hard task for me :-) Agree... :) ST> OK, here it is - the first version of TB! CP API for your comments. ST> Atten

Re: The Bat! Common Plug-in API v1.0

2003-09-10 Thread Tero Ripattila
-BEGIN PGP SIGNED MESSAGE- Hash: MD5 Hello Stefan, Wednesday, September 10, 2003, 10:30:03 AM, you wrote: ST> OK, here it is - the first version of TB! CP API for your comments. You don't happen to have a C header file I could use instead of copy pasting declarations from the .RTF-doc

The Bat! Common Plug-in API v1.0

2003-09-10 Thread Stefan Tanurkov
Dear All, Phew... Writing API documentation is definitely a hard task for me :-) OK, here it is - the first version of TB! CP API for your comments. Attention C++ programmers - C calls were merely converted but not tested, so please verify that all definitions are correct. I tried to ma