🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Using Delphi DLL's with java

#19962
From: Philippe Thiran
Date: Wed, 19 Nov 1997 00:00
30 lines
1293 bytes
Robbert van der Zon wrote:

> Thanks for your help,
>
> I did what you said, and it all works fine with Visual C++.
> However, when using C++Builder (which I prefer) I get an error
> when converting an JString to an char*.

I have other compile problems when I use Borland C++. I get compilation
errors when compiling the include file <jni.h>. An exemple :

typedef union Java8Str {
    int32_t x[2];             <------------ Error : type name expected
    double d;
    int64_t l;
    void *p;

(...)

struct JNINativeInterface_ {
    void *reserved0;
    void *reserved1;
    void *reserved2;

    void *reserved3;
    jint (JNICALL *GetVersion)(JNIEnv *env);   <-------------   Error :
) expected

Can someone help me ?
Technical Details
Message-ID: <3472BD56.73BB3F68@info.fundp.ac.be>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3413D4C6.3719@dicon.nl> <343837bf.94921535@forums.borland.com> <341CFC8D.2CC6@dicon.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,be79338366707302,start
X-Google-Attributes: gidf74b3,public
From: Philippe Thiran <pth@info.fundp.ac.be>
Subject: Re: Using Delphi DLL's with java
Date: 1997/11/19
Message-ID: <3472BD56.73BB3F68@info.fundp.ac.be>
X-Deja-AN: 290684706
References: <3413D4C6.3719@dicon.nl> <343837bf.94921535@forums.borland.com> <341CFC8D.2CC6@dicon.nl>
To: vdZon@dicon.nl
X-Priority: 3 (Normal)
Organization: University of Namur
Newsgroups: borland.public.jbuilder.java.language