🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java
Article #54

Re: Borland/Native methods query...

#54
From: D'Arcy Smith
Date: Thu, 23 Nov 1995 17:11
28 lines
1818 bytes
Sean Doyle wrote:
> In the "HelloWorld" native example from Sun, the first few compile errors are:
> 
> Error:..\..\JAVA\INCLUDE\WIN32\TYPEDEFS.H 34:,expected
> Error:..\..\JAVA\INCLUDE\WIN32\TYPEDEFS.H 35:Multiple declaration for '__int64'
> Error:..\..\JAVA\INCLUDE\WIN32\TYPEDEFS.H 79:'int64_t' cannot start a parameter declaration
> Error:..\..\JAVA\INCLUDE\WIN32\TYPEDEFS.H 80:Declaration syntax error

Borland can't handle the __int64.

MVC++ contains non-standard features such as __int64 while Borland
does not.  A Borland port will need to create a "64 bit integer" class
in C++ (I believe somebody has done this with the Watcom compiler)

So, until a "general" windows port comes available, you have 2 choices.
Buy MVC++ 2.? (I don't know about 4.0). Or don't do native methods
(unless you can get away with only using standard language features).

I don't know about Borland 5.0 (will there be something like __int64) - Pete?

..darcy

-- 
   D'Arcy Smith, Systems Analyst
   Applied Research in Computer Systems (ARCS) Laboratory
   British Columbia Institute of Technology (BCIT), Burnaby, BC, Canada
   E-Mail: darcy@arcs.bcit.bc.ca        URL http://www.arcs.bcit.bc.ca
   Tel:  (604) 432-8281      		Fax:  (604) 436-1297
Technical Details
Message-ID: <30B4AB5D.C41@arcs.bcit.bc.ca>
Path: arc1-ca.pugleaf.net!news.bcit.bc.ca!news
References: <30A6891B.59C3@mit.edu> <30A69CE9.3E40@mit.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.bcit.bc.ca!news
From: D'Arcy Smith <darcy@arcs.bcit.bc.ca>
Newsgroups: comp.lang.java,comp.lang.c++
Subject: Re: Borland/Native methods query...
Date: Thu, 23 Nov 1995 09:11:57 -0800
Organization: ARCS Lab, BCIT
Message-ID: <30B4AB5D.C41@arcs.bcit.bc.ca>
References: <30A6891B.59C3@mit.edu> <30A69CE9.3E40@mit.edu>
NNTP-Posting-Host: bird.arcs.bcit.bc.ca
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0b2 (Windows; I; 32bit)
To: Sean Doyle <mesozoic@mit.edu>