Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Canon Camera and working with EDSDK

843829Apr 7 2010 — edited Jul 30 2010
Hi all.
I am working with Canon Camera and Java, i got SDK of Canon and also had some DLL file : (EDSDK.Dll ...)
I write some example code
public class EDSDK{
 public native static int EdsInitializeSDK();
static {
System.load("C:\\Java\\CameraDemo\\ EDSDK.Dll");
}
public static void main(String[] args){
EDSDK.EdsInitializeSDK();
}
}
when i run this code, it appears wrong message.
Exception in thread "main" java.lang.UnsatisfiedLinkError: EDSDK.EdsInitializeSDK()I
    at EDSDK.EdsInitializeSDK(Native Method)
Have you had some experiences with Canon SDK ? Please help me that Java can work with them ?

Thanks in advance
Diego

Edited by: Diego
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 27 2010
Added on Apr 7 2010
8 comments
1,734 views