Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How can we call WinAPI's from java  RSS feed

 
Amitesh Harit
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am facing a problem, I want to call Win API's form Java. any idea..
Any win API.. like GetUserNameA.... (it fetches current user logged in).
Its bit urgent guys... i have always counted on u guys...

Thx & Regards
@mit

[ UD: removed the "urgent" part from the subject ]
[ July 03, 2006: Message edited by: Ulf Dittmer ]
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The standard way of calling native functions is JNI. For accessing COM objects there a few libraries that take the pain out of the COM/JNI programming, like Jacob.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!