Solved

how to include Windows API into Java

Posted on 1998-10-29
1
215 Views
Last Modified: 2012-06-27
can anybody tell me how do i include Windows API calls in Java application. If i want to talk to Windows OS and use Windows SDK what is the way out ???
I use java1.2beta4 version on Win95.
0
Comment
Question by:hvhemant
1 Comment
 
LVL 8

Accepted Solution

by:
diakov earned 10 total points
ID: 1226587
You can use JNI.
Go toi www.javasoft.com and search JNI, there is a lot of documentation.
JNI allows you to implement 'native' method in Java classes.
Natvie means, they ar ein a shared .dll and as you know from .dll you can do whatever you want in the Windows system.

this is the way.

 Cheers.

P.S. You might want to also use Microsoft's extensions for Java. they allow some limited acces to the Win32 API.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Checkbox and ListView in Android Layout 4 67
print map entry 34 69
mysql jsp example issue 32 38
Chrome and Firefox Java 5 34
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question