Thread: Writing Text

  1. #1
    Banned
    Join Date
    Oct 2004
    Posts
    250

    Writing Text

    does anyone know how i would go about writing text to the top of a game screen would i need to use a direct x hook or could i do it will openGL?

  2. #2
    vae victus! skorman00's Avatar
    Join Date
    Nov 2003
    Posts
    594
    it can be done with either quite easily, and the topic is covered in many tutorials and their respective SDK's.

  3. #3
    Banned
    Join Date
    Oct 2004
    Posts
    250
    i cant find it
    its for a trainer i want to write text on the top part of the window

  4. #4
    ---
    Join Date
    May 2004
    Posts
    1,379
    OpenGL Solution

  5. #5
    Banned
    Join Date
    Oct 2004
    Posts
    250
    dont think that will work i want to write text to another programs windows not its own

  6. #6
    vae victus! skorman00's Avatar
    Join Date
    Nov 2003
    Posts
    594
    You won't be able to do that without breaking rules. That window has a lock on it's frame buffer, and you would have to break that lock. To do that, you have to find out where the memory is being written (in VRAM, which cannot be accessed by normal conventions), the bit depth of that buffer, how often draw calls are made....no, just don't try it.
    Last edited by skorman00; 11-07-2004 at 03:34 PM.

  7. #7
    ---
    Join Date
    May 2004
    Posts
    1,379
    Quote Originally Posted by cgod
    dont think that will work i want to write text to another programs windows not its own
    I had a feeling that's what you meant, but I wasn't sure.

  8. #8
    Banned
    Join Date
    Oct 2004
    Posts
    250
    yeah anyway i found the answer after more searching on myg0t.com...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to use FTP?
    By maxorator in forum C++ Programming
    Replies: 8
    Last Post: 11-04-2005, 03:17 PM
  2. writing a number to a text file
    By Erkan in forum C Programming
    Replies: 2
    Last Post: 10-31-2005, 09:18 AM
  3. Small HTML question
    By Thantos in forum Tech Board
    Replies: 4
    Last Post: 12-29-2003, 12:37 AM
  4. Replies: 1
    Last Post: 07-13-2002, 05:45 PM
  5. Ok, Structs, I need help I am not familiar with them
    By incognito in forum C++ Programming
    Replies: 7
    Last Post: 06-29-2002, 09:45 PM