Actually, there do appear to be ways to interact with "native code
libraries" (Win32API dll's in the case of Windows) from within a Java
app.  The Java core API documentation of the System and Runtime
classes allude to this in the description of the "loadLibrary" method,
but don't go into any detail.  Sun's book "Core Java - Volume II -
Advanced Features, Eighth Edition" covers more about how to do it.  In
addition, there are a few Java APIs available (some free, some not)
that reportedly make it much easier than doing it all from scratch.
Do a search on the internet for "java win32api".  I used to access the
Win32API from within Visual Basic, but it's way beyond my current
level of expertise in Java to comprehend well enough to explain to
someone else.  While it does appear that you can at least interact
with the Win32API, whether or not you can accomplish the level of
interaction you're looking for is another question.

BillyRay

On Jan 22, 3:53 am, Николай Улога <[email protected]> wrote:
> Hi,
>
> as far as i know, you can only interact with filesystem itself and
> systemproperties like $PATH and so on ...
> And you can of course execute some native code into jvm, try to google
> something like "native code execution with java"
> But i don't know if you can interact with Win32 API directly. i think not.
>
> Take Care.
>
> 2009/1/21 sriramulu ch <[email protected]>
>
> > hi,
>
> > I want to interact with the properties of System through programming. For
> > example, opening of MyComputer,maximizing of MyDocuments,etc  through java
> > programming.
> > Is there any API or classes in java available?
>
> > Please send the details.
>
> --
> С уважением, Николай.

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to