Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling a dll

Status
Not open for further replies.

Stevoie

Programmer
Jun 7, 2001
68
IE
I've been having problems calling dlls, does anyone know a good clean way of calling dlls. I'm working on a WinXP OS if that makes any difference.
The /**import USER.DLL doesn't even tell me if the dll name is correct!
Any good websites you may know would be great.
Thanx.
 
You are trying to call dll methods from a Java program?

And you are trying to do this by import myDll.dll...

You might want to take a look at JNI, Java Native Interface...

What you are doing is so wrong that... well, not possible.

Check out JNI in java.sun.com

Dix
 
Your other good shot would be to buy a package like JIntegra which is a commercial Java-to-COM bridge. If you run WebLogic you may already have a copy of it because I think it either comes packaged as part of 6.1 or it will be part of 7.0. I would have to check.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top