Archive: Call external VB DLL


Call external VB DLL
Hi,

I would like to call a VB DLL from a NSIS script.

It does not work like other DLLs.
Because you need to create the object first. You can not call the sub and functions like if it was a module.
The only exported functions from the DLL are the function to create and manage objects. Not the ones I have created.

Did anybody have the same problem?

Joffrey


VB can only create ActiveX DLLs, so you would probably have to write a C plug-in that calls the DLL. It's also not very useful for installer DLLs, because you have to install VB runtimes before using it.


True.

Thanks for the answer.
My program is not an installer but an updater, that needs to be run every week, so I can consider installing the VB runtime the first time. I need VB to launch a connection with a given name. I wrote programs in VB using Windows API. But I may try to work with the Windows API directly from NSIS.