• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Tim Cooke
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
Saloon Keepers:
  • Piet Souris
Bartenders:

Can I call Win32 API from within Java code?

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
Sicerely,
Abdullah.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic