VCL3 Cam #include #include #pragma hdrstop #include "Unit1.h" //--------------------------------------------------------------------------- #pragma package(smart_init) #pragma resource "*.dfm" TForm1 *Form1; #define SCREEN_WIDTH 640 #define SCREEN_HEIGHT 480 //--------------------------------------------------------------------------- HWND hWndCap; BITMAPINFO bi; LRESULT CALLBACK capVideoStreamCallback(H.. 2010. 8. 10. FindWindow HWND hWnd = NULL; HWND phWnd = NULL; HDC hDC = NULL; char word[0xff]; AnsiString tmp = "--TRAY"; AnsiString titl = ""; hWnd = FindWindow("#32770", NULL); if(hWnd) { GetWindowText(hWnd, word, 0xfe); titl = AnsiString(word); phWnd = GetParent(hWnd); GetWindowText(phWnd, word, 0xfe); if(memcmp(word, tmp.c_str(), tmp.Length()) != 0) return; hWnd = FindWindowEx(hWnd, 0, NULL, "확인"); if(hWnd) { SendMe.. 2010. 7. 13. JIRA에서 SOAP을 통한 Issue등을 제어하기 위하여 자바로 하는 것이 쉬웠었는데, CPP로 다시 작성하는 중. _di_JiraSoapService InterfaceVariable; HTTPRIO1->QueryInterface(InterfaceVariable); if(InterfaceVariable) { WideString token = InterfaceVariable->login(WideString("test"), WideString("test")); Memo1->Lines->Add(token); RemoteServerInfo *ri = InterfaceVariable->getServerInfo(token); Memo1->Lines->Add(ri->version); // 개별 task RemoteIssue *ris = InterfaceVariable->g.. 2010. 5. 3. 이전 1 다음