Article View: borland.public.jbuilder.java.language
Article #17130Accessing a C++ dll
From: MarkL
Date: Fri, 11 Dec 1998 00:00
Date: Fri, 11 Dec 1998 00:00
20 lines
1005 bytes
1005 bytes
Hi,
I'm trying to write some Java code that accesses some methods in a C++
Dll. The only way
i've seen of doing this is to generate the .h and .c files using javah, and
then amending the code
in the dll.
Is there a way to directly 'import' the dll without having to change to C++
code to include the genrated header file, as the source code may not always
be available.
All the texts i have read seem to point to the 'javah' method. There must be
another way???
Thanks
Mark
(Also any links to sites about this topic would be helpful)
Technical Details
Message-ID:
<74s6ie$gp314@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,fd1d79e26c0f9583,start X-Google-Attributes: gidf74b3,public From: "MarkL" <leavym@easynet.co.uk> Subject: Accessing a C++ dll Date: 1998/12/11 Message-ID: <74s6ie$gp314@forums.borland.com> X-Deja-AN: 421342050 Organization: Another Netscape Collabra Server User X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Newsgroups: borland.public.jbuilder.java.language