Dear Timothy,
I know you did not meant that I should be using swig, I did.
I think if this is easier for me to link to existing C header using SWIG,
I'll be using it.
I was hoping on using jna but if SWIG suits my need then why not ;)
Thank you anyway.
SeB.
From: Timothy Wall <twal...@dev.java.net>
To: use...@jna.dev.java.net
Date: Sun, 02 Nov 2008 14:01:56 -0500
Subject: Re: [jna-users] Automatic C header converter
On Nov 2, 2008, at 1:53 PM, SeB wrote:
I Timothy and all,
Having an automatic header converter would also be a time save in this
forum caus mainly most people ask question when they have conversion
trouble.
My main interest for this converter would be that I must interact with
windows DLL from wich I have the headers file but not too much C knowledge.
I will also investigate the SWIG to java JNI generation because I do not
want to put my finger into C too much.
I didn't mean to use SWIG to generate JNI. SWIG has a parser which reads C
headers and allows you to configure its output. Instead of outputting JNI
(or any other targeted language binding), you could configure it to output
JNA interface definitions. Try posting on one of the SWIG lists/forums;
this might be trivial to accomplish, or it might be a lot of work.