|
-
March 8th, 1999, 11:16 PM
#1
Load DLL?
Can Java application call functions in DLL, and how?
Thanks!
-
March 15th, 1999, 07:00 AM
#2
Re: Load DLL?
Hi! Shuli,
Yes, See Java native Interface chapter in the tutrial.
The way is
System.load (DLL Name as a String);
Satya
-
March 16th, 1999, 01:39 AM
#3
Re: Load DLL?not work in applet...
Thank you!
My applet calls System.load(dllname),
and I got a java.lang.securityException .
Is there something wrong, or it's just a
security problem with applet??
Thanks for your help!!
-
March 16th, 1999, 03:18 AM
#4
Re: Load DLL?not work in applet...
The following is from Java Native Inteface tutorial. Check the security managet.
Security consideration: Note that the ability to load dynamic libraries is subject to approval by the current security manager. When working with native methods, you must load dynamic libraries. Some applets may not be able to use native methods because the browser or viewer they are running in restricts the ability to load dynamic libraries. See Security Restrictions for information about the security restrictions placed on applets.
Regards,
Satya
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|