Creating API for my application...
-
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.
-
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.
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] -
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.
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.