RE: [Exodus-dev] help creating a plug-in
"Steven Millington" <[email protected]> Mon, 20 Dec 2004 09:20:17 -0000
| Newsgroups | gmane.network.jabber.exodus.user |
|---|---|
| Message-ID | <[email protected]> |
HI I wrote a plug-in using ATL. To get it to work I created the plug-in. Then I implemented the IExodusPlugin and the IExodusChatPlugin myself. I then commented out the interfaces in the idl file and copied the contents of the Exodus.idl (in the exodus folder) in to the right place in my idl file, Making sure the right GUIDs were in the right place. This could show the config dialog etc. However later I found that I couldn't get certain methods to work and assumed it was broken, as well as just not being able to get the methods like IExodusController::LocalIP() in the Plug-in and get it to build - the compiler just doesn't seem to like it. Now I've got to learn Delphi and take the whole program apart to do what I want as I can't see another way to do it. Regards Steve Clarke, Trevor wrote: > I'm trying to create a plugin for Exodus and I'm having some trouble. > As a test, I'm only really implementing Configure and it just pops a > message box. I've added boilerplate code for the DLL functions, etc. > (I'm using VC++ BTW) I can load the DLL with regsrv32 so I know that > much is working. When I put the compiled plugin in the plugins > directory, I'm getting noting. It does not show up on the > Options->Plugins list and if I start it in a debugger and put > breakpoints in the DLL initialization code it is not reaching this. > How does exodus determine which files to load? Is there some trick to > getting it to recognize my plugin? (Do I need to export some special > static function or something?) Any help is appreciated. BTW, the > boilerplate code is pretty standard...just set up reference counting > where needed, does the COM book keeping, etc. so I won't bother > attaching it unless requested. _______________________________________________ Exodus mailing list [email protected] http://mail.jabber.org/mailman/listinfo/exodus