Matt Gerrans
Posts: 1153
Nickname: matt
Registered: Feb, 2002
|
|
Re: Callin Windows-DLL from java program
|
Posted: Dec 5, 2005 9:26 AM
|
|
I think there are commercial libraries that facilitate use of COM in Java. I don't know if there is anything in the currrent Java library for this (there might be, I just haven't been doing a lot of Java programming for the last few years, so I don't know).
As far as Java Native Interface information, you can find sufficient information on Sun's site. I think there is a tutorial on it. Google for JNI Tutorial and the like and you're sure to find it. Using JNI, you'd probably use ATL in the native code to access your COM library. It might be a bit cumbersome (certainly not as easy as using COM from VB or even from .NET). So your first try should be at finding some Java/COM library, either commercial or on SourceForge, etc.
|
|