thorin92
07-20-2003, 10:00 AM
Im trying to create a plugins system for my VB application. The plugins will be written as activeX DLLs and put in a directory underneatht the application folder called /plugins/...
I need a way to ensure the DLLs in that dir are designed for my program. So, im thinking of writing a method called ID or somat that returns success if it is an appropriate DLL.
How do i use the activeX DLL without having to register it in regsvr??
How do i attempt to create a variable that is a class within the DLL and know if this failed...also, how to handle the error if the attempt to create the object fails.?
ie, if i try
dim x as new pluginclass
how can i handle this if it fails??,
is there a trusted method for creating plugins using the *.DLL ext for your own VB programs.
plz help tia
I need a way to ensure the DLLs in that dir are designed for my program. So, im thinking of writing a method called ID or somat that returns success if it is an appropriate DLL.
How do i use the activeX DLL without having to register it in regsvr??
How do i attempt to create a variable that is a class within the DLL and know if this failed...also, how to handle the error if the attempt to create the object fails.?
ie, if i try
dim x as new pluginclass
how can i handle this if it fails??,
is there a trusted method for creating plugins using the *.DLL ext for your own VB programs.
plz help tia