🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2707

Re: Dynamic Link Library

#2707
From: Fieseler
Date: Wed, 14 Jun 2000 00:00
21 lines
1174 bytes
You have to use the JNI interface. So you can call native methods. You have
to
- create a java class containing native methods
- compile the class
- generate native interface (header file) by javah
- write the C or C++ source, if you have already a dll to call, you have to
write adapter functions in this source, which call your dll functions.
- compile and test the dll
(see http://java.sun.com/docs/books/tutorial/native1.1/index.html )
H. Fieseler

"Orly Reyes" <orly@digi.com.ph> schrieb im Newsbeitrag
news:8i6ohv$d305@bornews.borland.com...
> Hi,
>
>   How can i call a dll function in java ?
>
> Thanks,
> Orly
>
>
Technical Details
Message-ID: <8i78bt$i412@bornews.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8i6ohv$d305@bornews.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,451ee2d7083105e3
X-Google-Attributes: gid1089d0,public
From: "Fieseler" <fieseler@lsgmbh.de>
Subject: Re: Dynamic Link Library
Date: 2000/06/14
Message-ID: <8i78bt$i412@bornews.borland.com>
X-Deja-AN: 634305249
References: <8i6ohv$d305@bornews.borland.com>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.api