CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Thread: Load DLL?

  1. #1
    Join Date
    Apr 1999
    Posts
    33

    Load DLL?



    Can Java application call functions in DLL, and how?


    Thanks!




  2. #2
    Join Date
    Mar 1999
    Posts
    7

    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

  3. #3
    Join Date
    Apr 1999
    Posts
    33

    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!!




  4. #4
    Join Date
    Mar 1999
    Posts
    7

    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
  •  





Click Here to Expand Forum to Full Width

Featured