Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Java
  4. API Function

API Function

Scheduled Pinned Locked Moved Java
javacomjsonhelptutorial
7 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rahmat_20
    wrote on last edited by
    #1

    I want to use API function in Java, how to load DLL of api function. please help me. my email: rahmat_7088@yahoo.com

    T L G 3 Replies Last reply
    0
    • R rahmat_20

      I want to use API function in Java, how to load DLL of api function. please help me. my email: rahmat_7088@yahoo.com

      T Offline
      T Offline
      TorstenH
      wrote on last edited by
      #2

      you do not now anything about JAVA do you? JAVA uses jar-files. no DLL. Which API is it that you want to use?

      regards Torsten When I'm not working

      R 1 Reply Last reply
      0
      • R rahmat_20

        I want to use API function in Java, how to load DLL of api function. please help me. my email: rahmat_7088@yahoo.com

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Torsten may be quite correct in his comments, but it may also be that you are thinking of the Java Native Interface[^].

        Unrequited desire is character building. OriginalGriff I'm sitting here giving you a standing ovation - Len Goodman

        1 Reply Last reply
        0
        • R rahmat_20

          I want to use API function in Java, how to load DLL of api function. please help me. my email: rahmat_7088@yahoo.com

          G Offline
          G Offline
          gebri
          wrote on last edited by
          #4

          Also JNA may help You.

          1 Reply Last reply
          0
          • T TorstenH

            you do not now anything about JAVA do you? JAVA uses jar-files. no DLL. Which API is it that you want to use?

            regards Torsten When I'm not working

            R Offline
            R Offline
            rahmat_20
            wrote on last edited by
            #5

            I want to use Setactivewindow function's API. please help me. how to use JNI , Native Function , . . . . in java.

            L J 2 Replies Last reply
            0
            • R rahmat_20

              I want to use Setactivewindow function's API. please help me. how to use JNI , Native Function , . . . . in java.

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              rahmat_20 wrote:

              how to use JNI

              Did you look at the link I gave you? It contains all the information you need to use JNI.

              Unrequited desire is character building. OriginalGriff I'm sitting here giving you a standing ovation - Len Goodman

              1 Reply Last reply
              0
              • R rahmat_20

                I want to use Setactivewindow function's API. please help me. how to use JNI , Native Function , . . . . in java.

                J Offline
                J Offline
                jschell
                wrote on last edited by
                #7

                rahmat_20 wrote:

                I want to use Setactivewindow

                Presumably NOT because you think this is necessarily going to work with a java component. So your FIRST steps. 1. Learn C/C++ 2. Learn how to create a windows window 3. Write C/C++ code to call SetActiveWindow() 4. Test it. NONE of the above has anything to do with java. DO NOT write java until you have the above working.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups