How can I read a VisualBasic DLL with JNI?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Tuesday, June 25, 2002 08:38 AM

Hi!


I have a problem, at this moment, when I try to read a VisualBasic DLL with JNI and send me an exception like this:


			
Exception in thread "main" java.langUnsatisfiedLinkError: Send



where Send is a method of the DLL. Can somebody tell me why I can't read this DLL.

Thanks!

Re: How can I read a VisualBasic DLL with JNI?

Posted By:   Janak_Janak  
Posted On:   Tuesday, June 25, 2002 12:32 PM

Java only recognizes function signatures that it specified. You will need to run javah on your class file & use the generated function signature to write an exported function with that signature in a C dll which then would convert the parameters & invoke your VB dll.
About | Sitemap | Contact