C/C++ Programming

How to Screen Capture in C++ Using Bitmap Library.

#include <Windows.h> // API 헤더파일


#include <GdiPlus.h> // GdiPlus 라는 bitmap 라이브러리

using namespace Gdiplus;

#pragma comment(lib,"gdiplus")

#ifdef ULONG_PTR

#define ULONG_PTR unsigned long*

#endif;


#define wx GetSystemMetrics(SM_CXSCREEN) // 모니터 해상도 가로 크기

#define wy GetSystemMetrics(SM_CYSCR HDC hDc = CreateCompatibleDC(GetDC(0));


---------


나중에 다시 작성.. ( Continue.. )

'C/C++ Programming' 카테고리의 다른 글

Test Module  (0) 2013.11.04
첫 보드게임 온라인 제작 프로젝트 START!!  (0) 2013.10.13
함수 포인터 응용 몇가지.  (0) 2013.08.11
C++ Study LOG.  (0) 2013.08.07
C Code Test.  (0) 2013.07.23