2 messages in net.java.dev.jna.usersAccessing ActiveX DLL That Does Not H...
FromSent OnAttachments
d^v1dv00Jan 20, 2008 7:16 am 
Timothy WallJan 21, 2008 1:15 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Accessing ActiveX DLL That Does Not Have Exported DefinitionActions...
From:d^v1dv00 (davi@gmail.com)
Date:Jan 20, 2008 7:16:02 am
List:net.java.dev.jna.users

Hi there,

I was wondering whether we can access ActiveX DLL methods that does not export any definition?

E.g. Using DLL viewer, I can see list of exposed methods of User32.dll or Shell32.dll from Windows but could not see such on another vendor's DLL

E.g. In Visual Basic, using Object Browser after added the same vendor DLL into a new project, I can see all the methods in the said DLL.

As we all knew that in order to call any C/C++ methods from ActiveX DLL or other platform's shared library (e.g. .so for linux), the process from creating a source file, then compile the source into object file (extension .o) then write another definition file (extension .def) and generate the DLL/SO files.

If there is a ActiveX DLL that does not have the definition exported, are there any other ways we can access it? Why I said there are no method definition? Because using DLL viewer, I can see all method signature from user32.dll and shell32.dll under Windows System32 folder. Then I tried open this vendor DLL, I could not see any exposed method signature. So that concludes this DLL did not have the definition file prior generate into DLL.

Any ideas?

Regards,

David