🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: accessing the windows api from Java

#8238
From: Dave Bird
Date: Mon, 16 Apr 2001 22:21
22 lines
2016 bytes
In article <3adad84b_2@dnews>, Ray Porter <ray_porter@unc.edu> writes
> We have
>several fairly major client/server and desktop applications (currently in
>Delphi) that interact directly with the Windows api and the office suite of
>tools.  These are functions that our customers have requested and require
>(for example, exports of query results to local MS Access databases or to
>Excel and Word, etc). 

 On the first point, you use the Java Native Interface to build a DLL
 which wraps your accesses to the Office-API.  It is best to do GUI
 the Java way but, if you really need to do special things by direct
 access to the Windows API, same thing.  

 It can be hell on wheels because the Java concept of an array or string
 is unlike the C++ concept, it takes some work converting them.
 Of course it will not then be portable;  comparable native code would
 have to be provided on any new platform you moved to.


-- 
   ^-^-^-@@-^-;-^   http://www.xemu.demon.co.uk/
        (..)__u     news:alt.smoking.mooses
Technical Details
Message-ID: <1QOfBaBBC326EwXa@xemu.demon.co.uk>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.icl.net!dispose.news.demon.net!news.demon.co.uk!demon!xemu.demon.co.uk!dave
References: <3adad84b_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,5baddf055eca73c6
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-04-16 18:06:03 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.icl.net!dispose.news.demon.net!news.demon.co.uk!demon!xemu.demon.co.uk!dave
From: Dave Bird <dave@xemu.demon.co.uk>
Newsgroups: borland.public.jbuilder.java.language
Subject: Re: accessing the windows api from Java
Date: Mon, 16 Apr 2001 23:21:53 +0100
Organization: none
Message-ID: <1QOfBaBBC326EwXa@xemu.demon.co.uk>
References: <3adad84b_2@dnews>
NNTP-Posting-Host: xemu.demon.co.uk
X-NNTP-Posting-Host: xemu.demon.co.uk:158.152.196.209
X-Trace: news.demon.co.uk 987469114 nnrp-01:20202 NO-IDENT xemu.demon.co.uk:158.152.196.209
X-Complaints-To: abuse@demon.net
MIME-Version: 1.0
X-Newsreader: Turnpike Integrated Version 5.00 U <dQumtnY$x4rJ2u5tL5fS$n2vuP>
Lines: 22