🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Passing parameters to windows DLL

#14486
From: Kobus du Toit
Date: Fri, 03 Sep 1999 00:00
29 lines
1538 bytes
Go to

http://web.jet.es/jrevusky/jniwrapper.html#Contents

Kobus

Jon Bedworth wrote:

> Please, can anyone help.
>
> I get an 'UnsatisfiedLinkError' every time I try to call methods declared in
> a (Delphi-created) DLL. The program can find the library but not the methods
> within it, it seems. At one point the online documentation describes this as
> .....
> 'There could not have been an easier way to make Java methods native'!!
>
> This has not been my experience! I have tried passing parameters (int and
> String), thought that String might in fact be an object that will not be
> understood by the dll, so ended up creating a method within the dll that
> took no arguments and returned nothing!
>
> But, still getting the same error. Any help, or pointers to resources on
> this topic would be appreciated. There's not much to go on in the
> documentation.
>
> Thankyou
>
> jon Bedworth
> Sentinel UK
Technical Details
Message-ID: <37CF8444.E2E3F755@iname.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7qjl0l$cvu6@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,5ed3cb6b0544303e
X-Google-Attributes: gidf74b3,public
From: Kobus du Toit <battlezone@iname.com>
Subject: Re: Passing parameters to windows DLL
Date: 1999/09/03
Message-ID: <37CF8444.E2E3F755@iname.com>
X-Deja-AN: 520529904
Content-Transfer-Encoding: 7bit
References: <7qjl0l$cvu6@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