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. C#
  4. How to make use of an API

How to make use of an API

Scheduled Pinned Locked Moved C#
jsontutorialquestion
10 Posts 7 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
    rockyl
    wrote on last edited by
    #1

    Hi, Can some one please let me know how can I use an API in my application. Thanks: Rakesh

    Rakesh

    N L D J 4 Replies Last reply
    0
    • R rockyl

      Hi, Can some one please let me know how can I use an API in my application. Thanks: Rakesh

      Rakesh

      N Offline
      N Offline
      Niiiissssshhhhhuuuuu
      wrote on last edited by
      #2

      Hello, Means you want to inport API in our c# aplication??? Than use DllImport attribute DllImport("TestLib.dll")] public static extern void DisplayHelloFromDLL (); nishu

      R 1 Reply Last reply
      0
      • R rockyl

        Hi, Can some one please let me know how can I use an API in my application. Thanks: Rakesh

        Rakesh

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

        What API? If it's WinAPI, you may want to take a look at this site: http://www.pinvoke.net/ regards

        R T 2 Replies Last reply
        0
        • L Lost User

          What API? If it's WinAPI, you may want to take a look at this site: http://www.pinvoke.net/ regards

          R Offline
          R Offline
          rockyl
          wrote on last edited by
          #4

          I am looking to work with LCS APIs like RTC Client API. I am unable to find this RTC Client API. Can you help me in this regard? Actually the situation is like this: I have some users in my Active Directory and I want to develop some client application which will display all the users in the Active directory using the Live Communication Server APIs like RTC Client API. Thanks: Rakesh

          Rakesh

          E 1 Reply Last reply
          0
          • N Niiiissssshhhhhuuuuu

            Hello, Means you want to inport API in our c# aplication??? Than use DllImport attribute DllImport("TestLib.dll")] public static extern void DisplayHelloFromDLL (); nishu

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

            I am looking to work with LCS APIs like RTC Client API. I am unable to find this RTC Client API. Can you help me in this regard? Actually the situation is like this: I have some users in my Active Directory and I want to develop some client application which will display all the users in the Active directory using the Live Communication Server APIs like RTC Client API.

            Rakesh

            1 Reply Last reply
            0
            • L Lost User

              What API? If it's WinAPI, you may want to take a look at this site: http://www.pinvoke.net/ regards

              T Offline
              T Offline
              Tyler45
              wrote on last edited by
              #6

              [DllImport("kernel32")] public static extern long WinExec(string ipCmdLine, int nCmdShow); in any method of yours long sonuc = WinExec("C:\\Program Files\\Winamp\\Winamp.exe", 3); /* nCmdShow=9 for windows open in orginial size =3 open full screen =6 open in minimize*/

              R 1 Reply Last reply
              0
              • T Tyler45

                [DllImport("kernel32")] public static extern long WinExec(string ipCmdLine, int nCmdShow); in any method of yours long sonuc = WinExec("C:\\Program Files\\Winamp\\Winamp.exe", 3); /* nCmdShow=9 for windows open in orginial size =3 open full screen =6 open in minimize*/

                R Offline
                R Offline
                rockyl
                wrote on last edited by
                #7

                Sorry to say but I did not get your point. I was actually speaking about the Live Communication Server APIs.

                Rakesh

                1 Reply Last reply
                0
                • R rockyl

                  Hi, Can some one please let me know how can I use an API in my application. Thanks: Rakesh

                  Rakesh

                  D Offline
                  D Offline
                  Dan Neely
                  wrote on last edited by
                  #8

                  if you have C/C++ signatures to call the API by there's a tool available called "pinvoke wizard" that will generate the pinvoke signatures for use in .net. If you don't have any API documentation first and foremost, it sucks to be you! All I can suggest in that case is to visit the c++ forums and ask for help in reverse engineering the API from the dll files.

                  -- Rules of thumb should not be taken for the whole hand.

                  1 Reply Last reply
                  0
                  • R rockyl

                    I am looking to work with LCS APIs like RTC Client API. I am unable to find this RTC Client API. Can you help me in this regard? Actually the situation is like this: I have some users in my Active Directory and I want to develop some client application which will display all the users in the Active directory using the Live Communication Server APIs like RTC Client API. Thanks: Rakesh

                    Rakesh

                    E Offline
                    E Offline
                    Eric Dahlvang
                    wrote on last edited by
                    #9

                    rockyl wrote:

                    I am looking to work with LCS APIs like RTC Client API. I am unable to find this RTC Client API. Can you help me in this regard?

                    Have you looked here: MSDN2: RTC Client API[^]

                    --EricDV Sig--------- Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peters

                    1 Reply Last reply
                    0
                    • R rockyl

                      Hi, Can some one please let me know how can I use an API in my application. Thanks: Rakesh

                      Rakesh

                      J Offline
                      J Offline
                      Judah Gabriel Himango
                      wrote on last edited by
                      #10

                      *edit* nevermind, looks like others answered your question

                      Tech, life, family, faith: Give me a visit. I'm currently blogging about: Guess who's having a birthday? (It's not Jesus) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

                      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