Solved

how to include Windows API into Java

Posted on 1998-10-29
1
234 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 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Is Applet the way to go for my drag and drop system? 8 49
Java program running SQL query 5 61
jmeter usage 4 60
Java import explained 4 47
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
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…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

739 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