RE: How can I call a function of my script via a VB ActiveX DLL?
Both ways of method 1 can be done with anything which supports Windows APIs. Your thing doesn't need to be an ActiveX DLL, or even not be a DLL at all. It can be an exe (eg: like with SendTo), or whatever you make it in (eg: if a DOS batch file would support Windows APIs it could be that too). There is no real bound between your thing and the Plus! script.
For the second method your thing _must_ be an ActiveX DLL as it is the ActiveX object which will be linked to the script. There is a bound between your thing and the Plus! script.
For whatever way you choose (but certainly with method 1), you must _always_ take into consideration that multiple Plus! windows can exist (eg: when the user uses polygamy) and that the Plus! windows don't always exist and/or the script isn't running. Also take into consideration that the user can be switched in Messenger. You do not want to send stuff from your thing to the Plus! script of another user who just logged in instead of the previous one.
.-= A 'frrrrrrrituurrr' for Wacky =-.
|