DLL usage (General questions)

by zarthan @, (7023 days ago)

Is it possible to make use of one of your DLL files in VB without having to register the component (Regsvr). I don't want an install just unzip and execute, delete when done.

locked

Re: DLL usage

by Jasmine, (7023 days ago) @ zarthan

Zarthan,

I would say 'no, this is not possible', but I've searched a bit and found explanation how to do it.

You should read this article:

http://blogs.msdn.com/mikhailarkhipov/archive/2005/04/01/404433.aspx

but it's up to you to implement it, I have never personally tried it (but I remember one customer using it for wodCrypt in InstallShield and it worked).

Regards,
Kreso

locked

Re: DLL usage

by shokkas @, (6816 days ago) @ Jasmine

Hi,

I have the same need as Zarthan. I tried looking arounf and found references to the DLLRegisterServer VB functions.

I tried it for wodSSH.dll but if I don't have it referenced it gives me an error on the Public WithEvents SSH as ...

The application I have needs to reside in a central network location and I want the users to be able to activate it without having to register the dll. I know I can write a batch file that will run RegSrv32 and then my application but I was wondering if there is a nicer way.

Anyone?

Thanks,

Shai Fleischmann
shaif@ti.com

locked