File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
Java in General
Difference b/w native method and loadLibrary function
Joined: Oct 11, 2005
Oct 06, 2006 14:58:00
we can call a dll using loadLibrary of Runtime class.
we can also access the dll using native method. what is the difference ?
which method is best
Joined: Dec 31, 2004
Oct 06, 2006 16:41:00
Actually your native method must be defined in the DLL file, that is why you must load the library for its invocation to suceed.
That is done through JNI you can read about JNI in the Sun JDK Specification or follow the link
rocket mass heater
subject: Difference b/w native method and loadLibrary function
jni in linux
REPOST: can native method be called from main, without comp., RT errors ?
jar to native dll
DLL with Parameters to be Called
A JNI question
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014