Re: query drive parameters

From: Paul Lutus (nospam_at_nosite.zzz)
Date: 08/29/04


Date: Sat, 28 Aug 2004 16:09:08 -0700

pn wrote:

> Hi all
>
> I have searched for days trying to find the answer to this and I'm sure
> it's just a matter of being pointed to the right place (maybe something
> to do with native functions which I know nothing about but probably
> should).
>
> How do I get drive parameters in Java?

You don't. Java is a platform-portable language, thus it cannot portably
deal with hardware-specific issues. You can always call native code to get
this kind of information, but how you call native code, and the information
this is returned, is different from platform to platform, so you can't
write a portable program that does this.

-- 
Paul Lutus
http://www.arachnoid.com


Relevant Pages

  • Re: Delphi 8: Confusion
    ... VM is not exactly native code as much as some people would want to ... Java is a nice net language but its more script and tokens ... are talking about apps that only run on 1 platform and in that case ... Then you have the Java app that will work cross platform and its only ...
    (borland.public.delphi.language.objectpascal)
  • Re: Delphi 8: Confusion
    ... VM is not exactly native code as much as some people would want to ... Java is a nice net language but its more script and tokens ... are talking about apps that only run on 1 platform and in that case ... Then you have the Java app that will work cross platform and its only ...
    (alt.comp.lang.borland-delphi)
  • Re: Java is slow!
    ... FSVO "platform", presumably. ... WinForms are a layer over Win32, ... all platforms have to get to native code eventually. ... Java does more of it there, ...
    (comp.lang.java.advocacy)
  • Pondering the dev tool landscape from an outsider
    ... best path for continuing development on an existing VB6 application. ... Java port leveraging the Netbeans RCP. ... Cross platform. ...
    (borland.public.delphi.non-technical)
  • Re: COBOL to Java conversion
    ... experience and at least one of them is currently working in Java. ... platform, but also to change the language to be Java. ... I have not personally seen or worked on a Unisys conversion to Unix, ... Changing a technical platform might have many reasons, ...
    (comp.lang.cobol)