Article View: borland.public.jbuilder.java.language
Article #14467Passing parameters to windows DLL
From: Jon Bedworth
Date: Wed, 01 Sep 1999 00:00
Date: Wed, 01 Sep 1999 00:00
21 lines
1320 bytes
1320 bytes
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:
<7qjl0l$cvu6@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,5ed3cb6b0544303e,start X-Google-Attributes: gidf74b3,public From: "Jon Bedworth" <jon.bedworth@sentineluk.com> Subject: Passing parameters to windows DLL Date: 1999/09/01 Message-ID: <7qjl0l$cvu6@forums.borland.com> X-Deja-AN: 519801005 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.language