• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 254
  • Last Modified:

how to include Windows API into Java

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
hvhemant
Asked:
hvhemant
1 Solution
 
diakovCommented:
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now