🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Call a DLL from a java application ...

#16165
From: Bernard Lahaque
Date: Tue, 23 Mar 1999 00:00
15 lines
963 bytes
Hi everyone,

I'm trying to call functions included in a DLL from a java application.

I use the the method System.LoadLibrary("xxx") where xxx is the name of the
dll. The function that I want to call is declared public native in the java
file.
At runtime, I have the following exception : java.lang.UnsatisfiedLinkError
: yyy where yyy is the function that I call.

Can you help me to fix this ? Do you know examples of DLL call from java
application ?

Ben
Liege,Belgium
Technical Details
Message-ID: <7d8dnf$l4t20@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,5ea51dfa91fb275,start
X-Google-Attributes: gidf74b3,public
From: "Bernard Lahaque" <bernard.lahaque@reality.be>
Subject: Call a DLL from a java application ...
Date: 1999/03/23
Message-ID: <7d8dnf$l4t20@forums.borland.com>
X-Deja-AN: 458013741
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Newsgroups: borland.public.jbuilder.java.language