Article View: aus.computers.java
Article #1061Re: JNI --- please help me
From: Kevin Greenwood
Date: Fri, 13 Aug 1999 00:00
Date: Fri, 13 Aug 1999 00:00
29 lines
1632 bytes
1632 bytes
On Fri, 13 Aug 1999 10:45:47 +1000, "Duke Biswas"
<dbiswas@mednet.com.au> wrote:
<snip>
>after writing the code, I have taken the following steps
>1> run javac testHICDll.java
>2> run javah -jni testHICDll - this created testHICDll.h file
Duke,
You missed a step here, you should build your dll from the header
file created by javah. The function prototypes must be exactly what
was created by javah or it will not work, this is after all the
purpose of the program.
>3> run java testHICDll
cheers
Kevin
=====================================================
Kevin Greenwood
=====================================================
e-mail greenwok@mackay.net.au
phone +61 7 49423758
fax +61 7 49427043
=====================================================
Several week spent on testing and development can
easily replace an afternoon wasted in the library
=====================================================
Technical Details
Message-ID:
<37b711f5.205954056@kev1>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<37b36b5c@dnews.tpgi.com.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d6db,47fd90278fc9ed0f X-Google-Attributes: gid10d6db,public From: greenwok@mackay.net.au (Kevin Greenwood) Subject: Re: JNI --- please help me Date: 1999/08/13 Message-ID: <37b711f5.205954056@kev1> X-Deja-AN: 512237189 Content-Transfer-Encoding: 7bit References: <37b36b5c@dnews.tpgi.com.au> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@telstra.net X-Trace: nsw.nnrp.telstra.net 934548218 203.37.137.40 (Fri, 13 Aug 1999 22:43:38 EST) Organization: Customer of Telstra Big Pond Direct MIME-Version: 1.0 NNTP-Posting-Date: Fri, 13 Aug 1999 22:43:38 EST Newsgroups: aus.computers.java