2014/03

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

    #include // API 헤더파일 #include // 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_CYSCRHDC hDc = CreateCompatibleDC(GetDC(0)); --------- 나중에 다시 작성.. ( Continue.. )