How to call a MS Windows dll from within Java


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: How to call a MS Windows dll from within Java

Hybrid View

  1. #1
    Paul Guest

    How to call a MS Windows dll from within Java


    Hi Every one,

    I am beginner to Java programming. I would like to know how to call a Windows
    dll from a java app or applet. Does any body know how?


    Thanks for your help.


    Paul.

  2. #2
    Paul Clapham Guest

    Re: How to call a MS Windows dll from within Java

    There are products available that allow you to do that, such as JIntegra
    from http://www.intrinsyc.com. I don't know why you would try to call one
    from an applet, because you would have to get around the applet security
    rules that prevent you from doing that (possible), and you would have to
    rely on the client having the DLL (impossible).

    PC2

    "Paul" <paulnguyen@cit.com.au> wrote in message
    news:3b5e0b01$1@news.devx.com...
    >
    > Hi Every one,
    >
    > I am beginner to Java programming. I would like to know how to call a

    Windows
    > dll from a java app or applet. Does any body know how?
    >
    >
    > Thanks for your help.
    >
    >
    > Paul.




  3. #3
    vikas pandya Guest

    Re: How to call a MS Windows dll from within Java


    Paul,

    As far as Java application is concern; you can call Windows DLL using Java
    Native Interface (JNI) but in applet i am not sure becaue in that case security
    comes into picture.

    Cheers,
    Vikas
    "Paul" <paulnguyen@cit.com.au> wrote:
    >
    >Hi Every one,
    >
    >I am beginner to Java programming. I would like to know how to call a Windows
    >dll from a java app or applet. Does any body know how?
    >
    >
    >Thanks for your help.
    >
    >
    >Paul.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center