• Post Reply Bookmark Topic Watch Topic
  • New Topic

invoking vb dll functions in java

 
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!