8 messages in net.java.dev.jna.usersRe: [jna-users] Pointer to native int...
FromSent OnAttachments
José Ramón VargasJul 17, 2007 3:14 pm 
Timothy WallJul 17, 2007 4:06 pm 
José Ramón VargasJul 18, 2007 10:06 am 
Timothy WallJul 18, 2007 11:13 am 
José Ramón VargasJul 18, 2007 3:11 pm 
Timothy WallJul 18, 2007 3:53 pm 
Daniel KaufmannJul 18, 2007 8:30 pm 
张久安Jul 18, 2007 8:50 pm 
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:Re: [jna-users] Pointer to native interface??Actions...
From:Daniel Kaufmann (dani@gmail.com)
Date:Jul 18, 2007 8:30:01 pm
List:net.java.dev.jna.users

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.