Jump to content
Sign in to follow this  
Bennet

Create object from unregistered DLL

Recommended Posts

When I try to register the DLL I recieve and error from RegSvr32 that states the following.

The module was loaded but the entry-point DllRegisterServer was not found.

Make sure that "IMDBDLL.dll" is a valid DLL or OCX file and then try again.

I tried to find the module in oleview.exe in the hopes that it had actually registered but I can't find anything.

The class name provided in the documentation is "IMDbManager".

When I call this;

$manag = ObjCreate("IMDbManager")

this is what I get, @error = -2147221005. But when I call IsObj I get a negative result.

Can anyone help me out? Just wondering if it's possible to take this route or if I should stick to using DllCall.

Share this post


Link to post
Share on other sites

Check the dllopen and dllcall commands and examples in the help file.

Already did and I still can't figure it out. The problem lies with the fact that I need to pass an array.

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...