Article View: borland.public.jbuilder.java.language
Article #18756Q: Calling Delphi DLL from Java application
From: Douglas R. Ostgard
Date: Thu, 23 Apr 1998 00:00
Date: Thu, 23 Apr 1998 00:00
20 lines
1486 bytes
1486 bytes
Anyone know how to tailor a Delphi DLL so that it can be called from a
Java application. I've gone over the tutorial section on native methods
at Javasoft (at
http://java.sun.com/docs/books/tutorial/native1.1/index.html), but when
I try to call my Delphi DLL procedure from my Java program, I get an
error:
"java.lang.UnsatisfiedLinkError: ..."
I know the java app is finding the DLL, but it can't seem to find the
pascal procedure within the DLL. I've tried naming the procedure as
detailed in the Javasoft tutorial, but still can't seem to get it to see
the procedure. Any tips on what I might be missing? All the info on
this is in C, and while I understand C very well, I'm obviously not
picking up on some essential item here.
Help on this would be greatly appreciated.
- Doug (ostgard@nv.doe.gov)
Technical Details
Message-ID:
<353FBE7A.CD2D42B3@nv.doe.gov>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1043cf,27bf2436fdf7bfc6,start X-Google-Attributes: gid1043cf,public X-Google-Thread: f74b3,27bf2436fdf7bfc6,start X-Google-Attributes: gidf74b3,public From: "Douglas R. Ostgard" <ostgard@nv.doe.gov> Subject: Q: Calling Delphi DLL from Java application Date: 1998/04/23 Message-ID: <353FBE7A.CD2D42B3@nv.doe.gov> X-Deja-AN: 347121803 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Organization: SCI Consulting Mime-Version: 1.0 Reply-To: ostgard@nv.doe.gov Newsgroups: borland.public.jbuilder.java.language,borland.public.delphi.objectpascal