A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
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
DLL with Parameters to be Called
jar to native dll
REPOST: can native method be called from main, without comp., RT errors ?
A JNI question
jni in linux
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015