|
-
Apr 10th, 2001, 03:41 PM
#1
Thread Starter
Fanatic Member
I'm writing a program that uses a plugin system i devised. All the plugins are late-bound so the program can run with or without them. The App is an ActiveX exe and one of the objects exposed is the iPlugin template. All plugins will reference my app and have Implements iPlugin at the beginning.
Now, one of the Methods in the Plugin objects returns an StdPicture Object. The plugin test thing I wrote that was part of the exe worked fine. When I try to make another one (basically the same code) in a DLL, i get an Automation Error when the EXE tries to access the StdPicture object.
It still works fine from the internal test plugin, but not with the external one. They both have Implements iPlugin, and the external plugin references the EXE project. In fact, all the other methods work fine as far as I can tell. (They are all Strings, Longs, one is a Byte, and one is a Boolean)
I don't want to go back and change a whole lot of code so it passes a DC instead unless I absolutley have to. I want to use the StdPicture object to pass images.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|