Access DLL functions

  • 18 years ago

    How do you access DLL functions in Java?


    For instance, in Visual Basic You would call FindWindow from the User32.dll like this:


    Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long


    What is the code for this like in java?

  • 18 years ago


    It would take a (VERY VERY)x10^99.245223  long time
    to pull off. I think it can be done with the JNI (Java Native Interface)
    though.


    hard to do.


    I wouldn't attempt it, looked too hard for me anyway.


    greetings,


    - Mike H
    "All hail JAVA!"

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Better train people and risk they leave – than do nothing and risk they stay.” - Anonymous