Re: JNI in Java 1.6

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Sat, 1 Jan 2011 10:01:26 -0600

Thanks. I found a way to generate the curly braces for functions using 
find and replace. Is there a way to refer to the parameters of a C 
function by position in the argumennt list rather than giving them 
names?

Thanks,
John

On Sat, Jan 01, 2011 at 09:36:11AM -0600, Andreas Stefik wrote:
> Hi John,
> 
> QuentinC is correct. I would add one more thing, in that JNI has been
> in the JDK for a very long time, and to my knowledge there should not
> be any significant difference (if any) between 1.5 and 1.6 in relation
> to it.
> 
> My team, for example, has used a ton of JNI code both on 1.5 platforms
> and 1.6, with no changes.
> 
> Stefik
> 
> On Sat, Jan 1, 2011 at 4:20 AM, QuentinC <quentinc@xxxxxxxxxxx> wrote:
> > Hello,
> > Try javah with only the full class name. It should generate an header called
> > something like java_package_subpackage_classname.h.
> > Note, I would rather advise JNA for most projects, except if the binding has
> > to be very quick. IN JNA you don't have to write any C/C++ binding code, the
> > DLL is directly loaded.
> >
> >
> > __________
> > View the list's information and change your settings at
> > //www.freelists.org/list/programmingblind
> >
> >
> __________
> View the list's information and change your settings at 
> //www.freelists.org/list/programmingblind

-- 
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities

__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

Other related posts: