This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

invoking vb dll functions in java  RSS feed

 
Abhishek Reddy
Ranch Hand
Posts: 259
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can any one guide me how to invoke the functions in vb dll files using java?
all tell me how to find out the functions sugnature in dll files?
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
As you might guess, JNI is the way of invoking non Java code through Java. you cannot use a VB dll. You can definately use a C,C++ dll, and from that dll you can call your VB dll.
And to find the function signatures in a dll you can use a variety softwares available, the one i know is the Dependency Walker which is shipped with Delphi.
But i think it only displays the function names and their entry points, i am not sure if it displays the entire function signature.

Hope this helps
[ June 10, 2007: Message edited by: amit ghorpade ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!