Sign in to follow this  
Followers 0
ancp

How create object for dll?

6 posts in this topic

Hi, one question for experts... I have registered this dll (with regsvr32):

c:\windows\system32\CarsLib.dll

In the script i create object as ActiveX. It's works:

..
$oDogLib = ObjCreate("CarsLib.EngineKit")
$oDogLib.Type = "DM"
..

But, I need distribute app with this dll without register on the target OS. My idea is place dll to same folder as my script. How call CarsLib.dll ad create object "CarsLib.EngineKit" without registered dll on the user system? Sorry for my very bad English.

Thanks for help

Share this post


Link to post
Share on other sites



I would like to know why you can't register it if it's shipped with the app?

You could FileInstall the file, then run regsvr32.exe to register it automatically, because I don't belive it's possible to use the object without registering it first. :/

Share this post


Link to post
Share on other sites

It's perfect! Thanks Oldschool!

Share this post


Link to post
Share on other sites

Sweet, didn't know that. :)

Share this post


Link to post
Share on other sites

It's perfect! Thanks Oldschool!

Glad to hear...

Thank

.....PTREX!! PTREX!!

PTREX!! :) PTREX!!

.....PTREX!! PTREX!!

Cheers man

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0