Article View: borland.public.jbuilder.java.language
Article #15493Re: Delphi DLL - Java Native Interface
From: Steve Schafer (TeamB)
Date: Mon, 31 May 1999 00:00
Date: Mon, 31 May 1999 00:00
13 lines
1107 bytes
1107 bytes
On Mon, 31 May 1999 21:56:55 +0200, Blasius Lofi Dewanto <dewanto@uni-muenster.de> wrote: >I know that I can access a C or C++ DLL from Java with >JNI but how can I access Delphi DLL from Java??? Exactly the same way. You have to export the functions from the Delphi DLL using the same naming conventions as with the C/C++ DLL. The Delphi functions must use the stdcall calling convention, just like the C/C++ functions. The Delphi functions must accept the equivalent types and order of parameters that the C/C++ functions accept. -Steve
Technical Details
Message-ID:
<3752f0d5.516291@90.0.0.40>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3752E987.8D81EF3D@uni-muenster.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,551f457edec43465 X-Google-Attributes: gidf74b3,public From: pandeng@telepath.com (Steve Schafer (TeamB)) Subject: Re: Delphi DLL - Java Native Interface Date: 1999/05/31 Message-ID: <3752f0d5.516291@90.0.0.40> X-Deja-AN: 484195711 Content-Transfer-Encoding: 7bit References: <3752E987.8D81EF3D@uni-muenster.de> Content-Type: text/plain; charset=us-ascii Organization: TeamB Mime-Version: 1.0 Reply-To: pandeng@telepath.com Newsgroups: borland.public.jbuilder.java.language