#include #include void foo(); #pragma managed #pragma comment(lib, "user32.lib") using namespace System; int main(array ^args) { // Call Managed Code Console::WriteLine(L"Managed Code"); // Call Windows API Code ::MessageBox(NULL, _T("Win32 API in Managed Area"), _T("Hello"), MB_OK); // Call Unmanaged Code foo(); return EXIT_SUCCESS; } #pragma unmanaged using namespace std; void foo() { cout
http://www.codeguru.com/forum/showthread.php?t=344315 Draw the image in a memory device context in which the CBitmap object is selected. Like in next example: using namespace Gdiplus; Image* pImage = Image::FromFile(L"c:\\test.gif"); Status status = pImage->GetLastStatus(); if(Ok == status) { CDC dc; dc.CreateCompatibleDC(NULL); CBitmap bitmap; bitmap.CreateCompatibleBitmap(&dc, pImage->GetWidth..
CString strhex = _T("8CEF"); _tprintf(_T("hex: %s \n"), (LPCTSTR)strhex); unsigned long dec = _tcstoul(strhex, NULL, 16); _tprintf(_T("dec: %d \n"), dec); CString bin; CString buf; TCHAR mod[2]; do { _ultot(dec % 2, mod, 2); buf = mod; buf += bin; bin = buf; } while (dec = dec / 2); _tprintf(_T("bin: %s \n"), (LPCTSTR)bin); CString strhex = _T("8CEF"); _tprintf(_T("hex: %s \n"), (LPCTSTR)strhex)..
2009-04-14 오후 2:59:03 Registry Key Handle로 Registry Key Path 얻는데 성공했다. ZwQueryKey 함수를 Dynamic Linking 해서 사용한다. RegSetValueEx 함수만 후킹했다. 2009-04-14 오후 9:20:40 2009-04-15 오후 10:48:46 RegQueryValueEx, RegSetValueEx 각각 Hooking 한다. RegCreateKeyEx, RegOpenKeyEx 함수가 RegGetKeyPath 함수 call 할 때 문제가 있어서 주석처리했다. 2009-04-18 오후 4:37:57 출력파일에서 한글이 깨지는 문제 수정 _wsetlocale(LC_ALL, L"korean"); 사용함. 2009-04-20 오전 7:1..
2009-04-13 오후 8:39:47 Detours 2.1 Express 216 , VS2005 withdll 포함 모든 프로젝트를 /MT 옵션으로 컴파일함 __declspec(dllexport) VOID WINAPI TimedSleep(DWORD dwMilliseconds) // Watch Out!!! { DWORD dwBeg = GetTickCount(); TrueSleep(dwMilliseconds); DWORD dwEnd = GetTickCount(); InterlockedExchangeAdd(&dwSlept, dwEnd - dwBeg); printf("Slept %d ticks.\n", dwSlept); fflush(stdout); } Mircrosoft Detours 2.1 Build 216..
PowerPro Plug-in bee.dll 과 함께 사용하는 프로그램입니다. #include "stdafx.h"#include "CmdLineParser.h" void WINAPI initializeDefault();void WINAPI parseCommandLine();COLORREF WINAPI parseColor(CString); HINSTANCE hInstanceMain; int cxScreen; // The width of the screen, in pixels.int cyScreen; // The height of the screen, in pixels. CString m; // Notice Messageint x; // x-coordinate of starting positionint y;..
- Total
- Today
- Yesterday
- jre
- Rollback Rx
- AdSense감추기
- Sample Code
- iText
- AdSense숨기기
- 애드센스감추기
- 유틸리티
- 애드센스숨기기
- Microsoft
- java
- Regular Expressions
- iTextSharp
- AxWebBrowser
- tagREADYSTATE
- 스크린캡쳐
- c#
- Phalanger
- WinAutomation
- windows
- ScreenHunter
- download.com
- autohotkey
- READYSTATE_COMPLETE
- DotNetMagic
- .net framework
- registry
- Service pack
- Automation
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |