Thread: Adding your own API calls.

  1. #1
    0x7f
    Guest

    Adding your own API calls.

    how would i go about adding my own special functions so OTHER programs could call them and interact with my program? Example: i can write a C program that calls a function in a running winamp window to change the volume. How would i go about adding a function like that so another program could call a function from my program? Does this make sense? Am i insane? ya but thats besides the point =P

  2. #2
    Registered User
    Join Date
    Feb 2003
    Posts
    76
    Do you mean something like an SDK like Winamp has? This involves writing the code for the functions to expose to the other programs, placing them in a DLL, and writing the documentation and providing header and library files.

    For an example of an SDK, go to the Nullsoft Developer's Network.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Having some annoying issues with API calls
    By DanFraser in forum C# Programming
    Replies: 7
    Last Post: 07-03-2008, 10:24 AM
  2. Macintosh API
    By ug52wxj in forum C Programming
    Replies: 1
    Last Post: 10-02-2003, 10:31 AM
  3. what SHOULD be a painfully simple API call...
    By Citizen Bleys in forum Windows Programming
    Replies: 3
    Last Post: 09-17-2003, 03:20 PM
  4. PlaySound Win API
    By INNEEDOFHELP in forum Windows Programming
    Replies: 9
    Last Post: 12-30-2002, 08:46 PM
  5. Rich edit control example Win API
    By Echidna in forum Windows Programming
    Replies: 1
    Last Post: 09-17-2001, 02:12 AM