Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Accessing Visual Basic DLL from JAVA

 
kumar mokkala
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anybody suggest me a way to acces a Visual Basic DLL from Java.
Any code samples are appreciated.
thanks in advance
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Google for "java com bridge". That should turn up some relevant pointers.
 
Jayesh Lalwani
Ranch Hand
Posts: 502
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's not neccessary that a Visual Basic DLL is going to be a COM object. If the Visual basic DLL is a COM object, then you can use JACOB or other Java-COM bridges to call the DLL. If it's not, then you will have to develop your own C++ JNI layer that will wrap the Visual basic DLL and export the functions to Java
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic