Article View: borland.public.jbuilder.java.language
Article #14482Re: Passing parameters to windows DLL
From: Kobus du Toit
Date: Fri, 03 Sep 1999 00:00
Date: Fri, 03 Sep 1999 00:00
35 lines
1827 bytes
1827 bytes
On second thought, I will rather e-mail him and get the address for the whole news group. Kobus Kobus du Toit wrote: > You can e-mail Jonathan Revusky, jrevusky@jet.es, he wrote the jni stuff over in > Delphi and it is very good. I forgot his web site address > > 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:
<37CF7D8D.123C048@iname.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7qjl0l$cvu6@forums.borland.com> <37CF7D49.C3F3511A@iname.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: <37CF7D8D.123C048@iname.com> X-Deja-AN: 520524886 Content-Transfer-Encoding: 7bit References: <7qjl0l$cvu6@forums.borland.com> <37CF7D49.C3F3511A@iname.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