🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java.programmer
Article #251

JNI through Borland 5.1

#251
From: K.V. Chandrinos
Date: Tue, 09 Dec 1997 00:00
32 lines
1614 bytes
Dear friends,

I have tried to compile a project which uses Java Native methods
Invocation using Borland 5.1. As it happens proper building requires
inclusion of jni.h from the jdk1.1.4 include directory. However, this
file includes itself jni_md.h which has the following type definition:

typedef __int64 jlong;

upon which the Borland compiler responds with (, expected). Since this
is a Microsoft type declaration I wonder if anyone has figured a way to
by-pass it. (I've tried MFC compatibility option for the project but it
didn't work)


Thanx for any help,

Kostas

P.S. If you answer by e-mail pls. be kind enough to edit the _NO_SPAM
out of my address.



-- 

Konstantinos Chandrinos, Research Scientist
Computer Vision and Robotics Lab, ICS, FORTH
Heraklion, Crete, GREECE
tel.: +30 (81) 39 17 08, 39 17 06
fax: +30 (81) 39 16 01
Technical Details
Message-ID: <348C80D0.6992@ics.forth.gr_NO_SPAM>
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: f8d38,def6c90b2322e050
X-Google-Attributes: gidf8d38,public
X-Google-Thread: 10a146,def6c90b2322e050
X-Google-Attributes: gid10a146,public
From: "K.V. Chandrinos" <kostel@ics.forth.gr_NO_SPAM>
Subject: JNI through Borland 5.1
Date: 1997/12/09
Message-ID: <348C80D0.6992@ics.forth.gr_NO_SPAM>
X-Deja-AN: 296241366
Organization: Institute of Computer Science, Foundation for Research and Technology-Hellas (FORTH) Science and  Technology Park of Crete Vassilika Vouton, P.O.Box 1385 GR 711 10 Heraklion, Crete, Greece tel.: +30 (81) 39 16 00, fax: +30 (81) 39 16 01
Reply-To: kostel@ics.forth.gr_NO_SPAM
Newsgroups: comp.lang.java.programmer,borland.public.cpp.language