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 / C++ / MFC
  4. Creating API for my application...

Creating API for my application...

Scheduled Pinned Locked Moved C / C++ / MFC
questionjsonhelp
3 Posts 3 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.
  • S Offline
    S Offline
    Shy Agam
    wrote on last edited by
    #1

    Hello experts, Developers sometimes provide ways for other programmers to interact with their application using API they've created. Those API somehow "talk" with the original application they belong to. So if application A was written by someone, application B (which was written by someone else) can do this "talking" with A using A's APIs. I see no problem in developing a DLL which exposes functions. But how do I go about making my DLL able to talk with my app when used by another external application? Thanks in advance, Shy.

    CPalliniC M 2 Replies Last reply
    0
    • S Shy Agam

      Hello experts, Developers sometimes provide ways for other programmers to interact with their application using API they've created. Those API somehow "talk" with the original application they belong to. So if application A was written by someone, application B (which was written by someone else) can do this "talking" with A using A's APIs. I see no problem in developing a DLL which exposes functions. But how do I go about making my DLL able to talk with my app when used by another external application? Thanks in advance, Shy.

      CPalliniC Offline
      CPalliniC Offline
      CPallini
      wrote on last edited by
      #2

      Shy Agam wrote:

      But how do I go about making my DLL able to talk with my app when used by another external application?

      :confused:

      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
      [My articles]

      In testa che avete, signor di Ceprano?

      1 Reply Last reply
      0
      • S Shy Agam

        Hello experts, Developers sometimes provide ways for other programmers to interact with their application using API they've created. Those API somehow "talk" with the original application they belong to. So if application A was written by someone, application B (which was written by someone else) can do this "talking" with A using A's APIs. I see no problem in developing a DLL which exposes functions. But how do I go about making my DLL able to talk with my app when used by another external application? Thanks in advance, Shy.

        M Offline
        M Offline
        Michel Godfroid
        wrote on last edited by
        #3

        Add interfaces direcly to your application, and expose them as COM objects. Registering the COM server will thereafter ensure that other applications can instantiate and talk to your application.

        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