🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #14430

Re: JNI Methods

#14430
From: Kobus du Toit
Date: Wed, 08 Sep 1999 00:00
47 lines
1901 bytes
You can go here
http://java.sun.com/docs/books/tutorial/native1.1/index.html
or
http://developer.java.sun.com/developer/onlineTraining/Programming/JDCBook/jni.html

Kobus

Ronen wrote:

> Thanks, However I'm not using delphi (nor pascal) I simply want to access a
> "C" dll.
> Any more ideas?
>
> Thanks in advance,
> Ronen
>
> Kobus du Toit <battlezone@iname.com> wrote in message
> news:37CF8431.F3FB6459@iname.com...
> > Go to
> > http://web.jet.es/jrevusky/jniwrapper.html#Contents
> >
> > Kobus
> >
> > Ronen wrote:
> >
> > > Hi,
> > >
> > > I'm using JBuilder 2 and I have a problem using the javah tool (which
> comes
> > > along with JBuilder 2) to generate "C" header files.
> > >
> > > When I'm using the new JSDK from sun (ver 1.2.2) I have no such problmes
> and
> > > I can generate the
> > > neccessery  header file.If  I run the program using Java.exe from the
> JSDK I
> > > have no problems accessing functions in a
> > > DLL.
> > >
> > > If  I then try to run the program from the IDE it gives me an
> > > UnsatisfiedLink error.
> > >
> > > Is there a difference in the naming conventions between
> JDK1.1.6_Borland
> > > and  JDK 1.2.2 from sun?
> > > Any ideas how to overcome this problem?
> >
Technical Details
Message-ID: <37D625BF.BADF6E09@iname.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7qldhm$ee617@forums.borland.com> <37CF8431.F3FB6459@iname.com> <7qt7gb$mid8@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,9b9215a009b06d81
X-Google-Attributes: gidf74b3,public
From: Kobus du Toit <battlezone@iname.com>
Subject: Re: JNI Methods
Date: 1999/09/08
Message-ID: <37D625BF.BADF6E09@iname.com>
X-Deja-AN: 522457316
Content-Transfer-Encoding: 7bit
References: <7qldhm$ee617@forums.borland.com> <37CF8431.F3FB6459@iname.com> <7qt7gb$mid8@forums.borland.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Reply-To: battlezone@iname.com
Newsgroups: borland.public.jbuilder.java.language