The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2002

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Java, VB, C++ and C

Posted by Matt Gerrans on January 28, 2002 at 1:30 AM


> Then u mean i need to use JNI??
> but i just can find same sample which connect java with C++ or C
> but not VB
> any reference can help me?

I'm affraid I really don't understand exactly what you are asking. Do you want to develop a Java application that uses existing VB code? Do you want to access DLLs? If you have DLLs (written with VB or C/C++) that have exported functions, then you can access those easily enough with JNI. There is another thread here (use the Artima Search to find it) with more on this.

C is the lingua franca of most other higher-level languages including VB, Python, Java, Ruby, etc. That means they usually allow for a bridge to C, which you can bridge to the other language.



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us