How to invoke a call to a dll program with java


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: How to invoke a call to a dll program with java

  1. #1
    Zarval Guest

    How to invoke a call to a dll program with java


    Im a beginner using java in html pages, and this question may seem very easy
    to answer for a professional java programmer. My doubt is "how can i show
    a dinamic html page generated by a dll program an its parameters from a database
    table instead of showing a static html page created previously. Is there
    a way to call this program using java by triggering a click event maybe?
    and if this is posible, how can i do it ??.

    thanks
    Zarval

  2. #2
    Ruchi Dhar Guest

    Re: How to invoke a call to a dll program with java


    The ugly way but still useful is to load the library i.e dll in java program
    by using System.loadLibrary("dll name") and invoke the method. But the hinderence
    is the method should be compatible to JNI headers. You can learn more on
    jni at http://java.sun.com/docs/books/tutor...1.1/index.html

    "Zarval" <zarval@loquesea.com> wrote:
    >
    >Im a beginner using java in html pages, and this question may seem very

    easy
    >to answer for a professional java programmer. My doubt is "how can i show
    >a dinamic html page generated by a dll program an its parameters from a

    database
    >table instead of showing a static html page created previously. Is there
    >a way to call this program using java by triggering a click event maybe?
    >and if this is posible, how can i do it ??.
    >
    >thanks
    >Zarval



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