I think VB only allows to create ActiveX dlls, so you I think yo access them
through COM. However VB allows to access standard dlls.
Thanks,
Daniel
----- Original Message -----
From: "Timothy Wall" <twal...@dev.java.net>
To: <use...@jna.dev.java.net>
Sent: Wednesday, July 18, 2007 7:54 PM
Subject: Re: [jna-users] Pointer to native interface??
On Jul 18, 2007, at 6:11 PM, José Ramón Vargas wrote:
Ok, now i get it, well the thing is that I was trying to create an
instance of the ICDBurn interface contained on the shell32.dll from
windows, and while I was investigating the way to do so I found out
that the best way to do so was to the COM via the ole32.dll, but if
you tell JNA it’s not a COM wrapper then I try it via the
shell32.dll but I’m standing in the same path, I can get the
Pointer to the interface created via the SHCoCreateInstance or is
there another way?, but I do not know how to do it, if it’s not
possible this way can I access a .dll created with VB???
You might take a look at http://jacob-project.sf.net or http://
jawinproject.sf.net to see if they support the COM mapping you're
looking for.
JNA should be able to access a DLL created with VB, but it depends on
how the functions are exported; it might be tricky to try to create
the various variant types that VB uses.