• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Calling Visual Basic DLL from Java

 
Suresh Appagundi
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want call DLL created using Visual Basic from JAVA.

Very Urgent

Thanks in Advance.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First of all, Ease Up.

Secondly, if you want to call a DLL, why don't you? What I mean by that is: is there a question in your post? Have you tried something that didn't work? Tell us the details.
[ September 22, 2005: Message edited by: Ulf Dittmer ]
 
Srinivasa Raghavan
Ranch Hand
Posts: 1228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I Assume that you have problem in JNI. Have a look at
thi spage
 
Rick O'Shay
Ranch Hand
Posts: 531
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're missing the .dll extension. Should be "Very Urgent.dll".
 
Pradeep Kadambar
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suggest if you are in such a hurray ... you can surpass the pain/gain in learning JNI by using a ready made tool that has the necessary JNI wrappings.

The tool is JACOM - Java COM Bridge Link

It is pretty stable.

 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15216
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unfortunately, the Jacob project to which Pradeep KG provided a link to, has very little documentation.

I've used Jawin in the past, which has better documentation:
http://jawinproject.sourceforge.net/
 
Ritesh Agrawal
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Suresh,

This same question has been posted several times in this Forum. I would suggest you do a search prior to making a post. Most of the times,for repeated questions, answers too are repeated or nearly the discussion follows one of previously traversed route.

See this : Search First

Type DLL and Java in the search text box and see the number of results you will get. Some of the posts in the results point to good tutorials as well.

Have a look at this earlier posts:

http://www.coderanch.com/t/369273/java/java/VB-dll-java
http://www.coderanch.com/t/369248/java/java/dll
http://www.coderanch.com/t/369634/java/java/Accessing-dll-files-java
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic