TB! PLugins and Java

2003-09-11 Thread Jamie Dainton
Hi All,
   It's  my  understanding  that any language that can compile a valid
   Win32  dll can be used to make a TB! plugin. As this is possible in
   Java I should be able to write plugins in Java. Does anyone on this
   list have any experience with this?

-- 
Jamie Dainton
[EMAIL PROTECTED]



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


Re: Non-official TBP API - addition

2003-09-11 Thread Leif Gregory
Hello NetVicious,

Wednesday, September 10, 2003, 6:22:56 PM, you wrote:
N Well, if you installs a plugin into your system, it could do all it
N wants because it's a program.

N While the plugin install needs be maded by the user and you know
N which plugin are you installing it will be ok.

moderator
Note: This moderator's interjection is a note to all readers and not
just to the person being replied to, even if their post may have
instigated this reply. Please don't feel singled out NetVicious.

This posting violated the list rules regarding top posting.

Top posting, i.e., typing all your reply text at the top of your message
and following it with all quoted text below, is not encouraged and we
actually request that you not do so on this list because

a) It makes it difficult to glean context from what you typed at the top
of the message

and

b) It encourages excessive quoting.

We would much prefer if you quote just that much of the message to which
you're replying, so we know what it is you're referring to, and then
below the quotation, type your response. If you're responding to more
than one parts of the original, then quote each part separately and
follow each part with your response.

Now, I know that you may not personally prefer this format and that you
may disagree with some of the reasoning here. We very much respect this.
However, this is the format that most of the active members here prefer
and all members are expected, and are being asked to use the format that
will make most of the active membership here comfortable reading. You'll
likely get a more responsive group when you post using a style that is
comfortable for them to read and understand.

Thank you.

/moderator


-- 
Leif (TB list moderator and fellow end user).

Using The Bat! 2.00 under Windows 2000 5.0
Build 2195 Service Pack 3 on a Pentium 4 2GHz with 512MB


pgp0.pgp
Description: PGP signature

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

Re: Non-official TBP API - addition

2003-09-11 Thread Leif Gregory
Hello NetVicious,

Wednesday, September 10, 2003, 6:22:56 PM, you wrote:
N ---
N
N   /\/
N  /  \  / \  /
N /\/ e t   \/ i c i o u s
N
N[EMAIL PROTECTED]


moderator

This moderator's interjection is a note to all readers and not just to
the person being replied to, even if their post may have instigated
this reply. Please don't feel singled out NetVicious.

Please include a signature delimiter in your messages. This consists
of a dashdashspacereturn, i.e., a '-- ' by itself on a line. 
This allows your readers, when replying, to quote your text without
the signature and list footers since everything below and including 
the sig delimiter is excluded when quoting.

You can easily automate this process by including the sig delimiter
in your templates.

Thank you.

/moderator




-- 
Leif (TB list moderator and fellow end user).

Using The Bat! 2.00 under Windows 2000 5.0
Build 2195 Service Pack 3 on a Pentium 4 2GHz with 512MB


pgp0.pgp
Description: PGP signature

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

Re: Plugin stub (API draft compliant)

2003-09-11 Thread Alexey N. Vinogradov
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


Re: Plugin stub (API draft compliant)

2003-09-11 Thread Mark Wieder
Alexey-


Thursday, September 11, 2003, 10:33:38 AM, you wrote:

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

Oops. I meant to remove the Unit1 reference before posting...

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

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

Then that's a failure of my TBP_EXPORT macro for Visual C++. The
object in defining that macro was so the .def file was not necessary -
it works that way in both Borland and Metrowerks compilers. There must
be some combination of compiler directives in VC++ that will produce
the proper name mangling, i.e., give TBP_ExecMacro instead of
[EMAIL PROTECTED]

-- 
-Mark Wieder

 Using The Bat! v1.63 Beta/7 on Windows 2000 5.0 Build 2195 Service Pack 2



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