Click to See Complete Forum and Search --> : Text Draw Foremost layer?


dcyuri7
November 12th, 2007, 01:52 PM
Hello all,
Basically I'm trying to write a console-based program that accepts command-line params @ start to display(draw?) text to the screen on the foremost window - ie. on top of all full-screen applications.
An example, is the fps reading that shows when you use Fraps in a OpenGL game.
I do not know the WinAPI yet, but am fully willing to learn it. But I do know that based on what I've learned thus far(C++), I'm going to need winAPI or OGL/DX api's to do this.... can't think of anything useful from the basics of C++ to do this project.

So my question is, can anyone point me in the right direction so that I may figure out what I need to know to do such a thing? I'm guessing one of the above API's? Some sort of "Screen Buffer"?
(I've gone to extreme lengths with no luck, this is my last hope - I even attempted using Fraps, and a memory peek/poker to output my own text to the screen. Unfortunately, DMA aside, the data-type was not text, only int/float depending on location... so yea i don''t quite feel like hex patching Fraps.exe at the moment.)

Any and all help is greatly appreciated,
yuri

dcyuri7
November 13th, 2007, 12:52 PM
bleh, guess ill grind google for few more hours and make some ghetto *** "hack" to display it.

Alright, been searching a while and finally found something. It's another dead-end literally, but it atleast gives clues as to where I should be looking...

So for those whom are interested in this as well, here's the link:
http://www.gamedev.net/community/forums/topic.asp?topic_id=469615

*edit
found it!
http://www.gamedev.net/community/forums/topic.asp?topic_id=359319

Marc G
November 14th, 2007, 10:07 AM
Interesting link. Thank you for updating this thread with the solution you've found.