• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can I call Win32 API from within Java code?  RSS feed

Abdullah Javid
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello. I tried to understand Java from some books and the Java documentation but I was unable to find the answer of the question "Can I call Win32 APIs from JNI interface?". I know how to call other native methods which we write and specify that they could be called by Java(we use javah.exe and some other #include statements for C/C++). Microsoft has not explicitly specified that their Win32 API classes could be called from within Java. So my question is that can we call those API simply by using System.loadLibrary() method. I am looking forward for your replies. Thanks in advance. Can somebody explain the process with example, i will be so thankful to you.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!