Welcome Guest.   Make a donation to an author on the site November 24, 2014, 02:10:51 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2014! Download dozens of custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Something similiar to XFire...  (Read 2956 times)
Codebyte
Supporting Member
**
Posts: 160



"Premature Optimization is the root of all evil."

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« on: October 02, 2008, 01:24:55 PM »

So i've been wanting to use IRC inside of my games when they are running... so I dont have to alt-tab out and what not... I've figured out the core of what I need to do to make a program overlay a game and here it is:

   //scan for the game handle with
   bool WINAPI EnumDesktopWindows();

   //With the HWND you can access the DC with
   HDC GetDC(HWND hWnd);

   //now create a DC where you can copy the screen
   HDC CreateCompatibleDC(HDC hdc);

   //and a bitmap to access the data
   HBITMAP CreateCompatibleBitmap(HDC hdc, int nWidth, int nHeight);

   //link them together
   HGDIOBJ SelectObject(HDC hdc, HGDIOBJ hgdiobj);

   //copy the screen into our DeviceContex
   BOOL BitBlt(...);

   //access the bits with
   LONG GetBitmapBits(HBITMAP hbmp, LONG cbBuffer, LPVOID lpvBits);

But, what im wanting to know is: Does anyone else know what im talking about here? If so, lets work together on this... could be amazing since there is only currently only 1 IRC Client that works in games (Gamepe) and it doesnt work with NVIDIA cards...
Logged

CodeByter.com - http://www.codebyter.com
gamepe
Participant
*
Posts: 1

View Profile Give some DonationCredits to this forum member
« Reply #1 on: November 03, 2008, 11:59:10 PM »

Hey Codebyte
I am one of gamepe developers
gamepe should work with  NVIDIA
so can you please give it another try  and shoot us the coredump .

Thanks
 Gamepe team

Logged
Codebyte
Supporting Member
**
Posts: 160



"Premature Optimization is the root of all evil."

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #2 on: November 25, 2008, 11:53:26 AM »

any word on 64 bit windows vista support?
Logged

CodeByter.com - http://www.codebyter.com
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.045s | Server load: 0.04 ]