i want something super simple for calling a dll... i was looking at sun's website but that just seemed to be going in circles... can someone help me out here?:confused: :confused: :confused:
i want something super simple for calling a dll... i was looking at sun's website but that just seemed to be going in circles... can someone help me out here?:confused: :confused: :confused:
Do you mean by calling a DLL being able to invoke a method contained in a class that may reside on another system? If that is the case you might want to check out the post on dynamic object creation in this forum.
yeah, you'll need to use native classes which should be avoided like the plague unless you really really really have to. they reduce the platform independence of your project. most things tho you can usually accomplish through java's many classes so that you really shuld need to use a .dll, what .dll are you trying to use? maybe there is a java one you can use instead...
intervenat that was all in some other language... i cant read it...
i need the dll cuz... java cannot do what we need it to... need to open up documents in lotus notes from outside program... java can not do this... vb and suppsoedly c++ CAN... but java can not... so i need to call a dll that will do this ....
try using this: http://babelfish.altavista.com/ and set it to:
French to English
also i found this on the sun site:
http://java.sun.com/docs/books/tutor...1.1/index.html
it was right there... all i had to do was search for "native classes"
i found that thing on suns site... and all it did was confuse me... i guess i need to find some one that can explain that... i dont understand the example they are doing...
did you try translating that french page from intervenat w/ babelfish then?
basically you need to write native code (ie. platform specific code eg. c\c++ pascal turing asm etc.) and then make the wrapper that lets java know how to interact w/ the native code (this is the .h header file i believe, similiar to MASM32 proto libraries)
i just translated it.. wow that works pretty slick... i'll have to read it now.. and see if i can figure it out...