5 messages in net.java.dev.jna.usersRe: [jna-users] How do I call a metho...
FromSent OnAttachments
chri...@rwe.comJun 19, 2008 11:29 pm 
Nikolas LotzJun 20, 2008 3:06 am 
Jay WaltersJun 20, 2008 5:41 am 
Nikolas LotzJun 20, 2008 7:17 am 
Timothy WallJun 21, 2008 4:08 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:Re: [jna-users] How do I call a method of a C++ class?Actions...
From:Nikolas Lotz (nlo@nde.ag)
Date:Jun 20, 2008 7:17:34 am
List:net.java.dev.jna.users

This kind of documentation looks much more like VB to me than C or C++. Have
you considered that possibility?

never mind the VB-documentation. the name of the DLL suggests, that this library implements the "Component Object Model" (COM): http://en.wikipedia.org/wiki/Component_Object_Model

if you need to work with COM in java have a look at 'jacob': http://sourceforge.net/projects/jacob-project/

actually you can access COM-components from any programming language. here is an example on how to access COM in plain C:

http://www.codeproject.com/KB/COM/com_in_c1.aspx#C

in order to create an instance of the COM-component you will need its GUID. this can be found with tools like OLEVIEW:

http://www.microsoft.com/downloads/details.aspx?familyid=5233b70d-d9b2-4cb5-aeb6-45664be858b6&displaylang=en

Vorsitzende des Aufsichtsrates: Angelika Mozdzen Sitz und Registergericht: Hamburg, HRB 90934 Vorstand: Jens-U. Mozdzen USt-IdNr. DE 814 013 983