[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

how to include Windows API into Java

Posted on 1998-10-29
1
Medium Priority
?
251 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 8

Accepted Solution

by:
diakov earned 30 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
In this post we will learn different types of Android Layout and some basics of an Android App.
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…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Suggested Courses

649 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