Win32 API Questions

This is a discussion on Win32 API Questions within the C++ Programming forums, part of the General Programming Boards category; Can I use the Win32 to write strings to an already existing application and print them? Example: I want to ...

  1. #1
    Registered User
    Join Date
    May 2003
    Posts
    15

    Win32 API Questions

    Can I use the Win32 to write strings to an already existing application and print them?

    Example:
    I want to write in a chat client when a friend enters:
    "Hello - (person) Welcome to My Chat". Where this will be taken care of by an external application in which creates a string, writes it to a buffer I guess, and uses the command for pressing enter I suppose to print it to that screen. Do I have to familarize my self with window handles? I remember that comming up when I looked in the win API tutorials a while back. Sucks to be an amateur lol.

    In other words, I want to have one application write the text, save it, send it to the other application, print it in the text field or buffer, and print it to the channel. - I don't want to go down the packet client/server route since well - im not sure too many servers would appreciate that.

    is there any other way to accomplish this task - and can I use the Win API functions without creating a window and that sort, but run it through a console like DOS? - I don't want to go through the tedious task of creating windows, I will if I have to but I dont want to ^^.

  2. #2
    jasondoucette.com JasonD's Avatar
    Join Date
    Mar 2003
    Posts
    278
    Perhaps you could ask this in the Windows forum, even though I know it pertains to the console mode, as well. If you are getting into these types of function, you are basically creating a windows program, even if the application does not create its own window...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Win32 API help
    By 52Cent in forum Windows Programming
    Replies: 8
    Last Post: 01-23-2008, 09:24 AM
  2. Win32 API to concert enviornment variable to string
    By Bargi in forum Windows Programming
    Replies: 2
    Last Post: 08-17-2007, 07:43 AM
  3. Domain for Win32 API
    By maxorator in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 10-28-2006, 10:16 AM
  4. win32 api help
    By Noxir in forum C++ Programming
    Replies: 5
    Last Post: 08-16-2004, 11:44 AM
  5. Detecting CD drive letters in the Win32 API...
    By SyntaxBubble in forum Windows Programming
    Replies: 1
    Last Post: 10-07-2002, 02:20 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21