CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2012
    Posts
    2

    Communicating with other programs

    Hi
    i want that my program communicate with other programs for example there are some programs that communicate with games make the game do something or there are some programs that make some changes in office how i can do that in C++

  2. #2
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,620

    Re: Communicating with other programs

    This always depends on the program you are to communicate with. Communication is something specially designed, so to make use of that you have to be aware of the design, except some trivial cases of one way communication by means of sending/posting Windows messages.
    Best regards,
    Igor

  3. #3
    Join Date
    Aug 2012
    Posts
    2

    Re: Communicating with other programs

    I want to say a game when i pressed a key do something

  4. #4
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,620

    Re: Communicating with other programs

    I wonder did you really read my message. You may want whatever you fancy, but the game will obey to only commands that it was programmed to. So, the first and the most interesting thing you are to do is figuring out what commands it was programmed to. Second and more trivial (or maybe not ), how to invoke the commands.

    Please note, it's not about an abstract "a game" or "doing something", but it's always about specific software and specific commands.
    Best regards,
    Igor

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured