|
-
Nov 30th, 2007, 07:41 PM
#1
Thread Starter
New Member
Total Plugin Confussion
I currently am converting a project of mine to VB .Net 2008, from VB6. Its a challenge but the rewards out way the cons heavily. Well in my VB6 project I had added support for user created Plugins, a simple ActiveX DLL that would be loaded up via the LoadLibary, registered, set into an object, and finally started with PlgObj.InitAddin (which is the start function in the ActiveX DLL)... I've got my project converted to .Net and fixxed all the bugs. But now I can't get the ActiveX DLL run. I've narrowed it down to LoadLibary(strPathtoDLL) which returns 0. Meaning for some reason it can't load or something..... Besides that I would like for my program to be able to loadup plugins complied with different lanagues/compilers.. As always any suggestions are welcomed and you guys have helped me out alot in the past.. Heres the API code that I'm using...
Code:
Private Declare Function LoadLibrary Lib "kernel32" (ByVal LibFilePath As String) As Integer
-dustin
-
Dec 4th, 2007, 10:17 AM
#2
Re: Total Plugin Confussion
-
Dec 4th, 2007, 03:26 PM
#3
Thread Starter
New Member
Re: Total Plugin Confussion
Thanks for the link I was getting kinda worried that no one was going to help... Can I still load ActiveX dlls though?
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
|