팁모음집

Size: px
Start display at page:

Download "팁모음집"

Transcription

1 팁모음집 금주가몇번째주인지어떻게구합니까 function kcisleapyear( nyear: Integer ): Boolean; // 윤년을계산하는함수 Result := (nyear mod 4 = 0) and ((nyear mod 100 <> 0) or (nyear mod 400 = 0)); function kcmonthdays( nmonth, nyear: Integer ): Integer; // 한달에몇일이있는지를계산하는함수 const DaysPerMonth: array[1..12] of Integer = (31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31); Result := DaysPerMonth[nMonth]; if (nmonth = 2) and kcisleapyear(nyear) then Inc(Result); function kcweekofyear( ddate: TDateTime ): Integer; // 위의두함수를써서몇번째주인지계산하는함수 X, ndaycount: Integer; nmonth, nday, nyear: Word; ndaycount := 0; decodedate( ddate, nyear, nmonth, nday ); For X := 1 to ( nmonth - 1 ) do ndaycount := ndaycount + kcmonthdays( X, nyear ); ndaycount := ndaycount + nday; Result := ( ( ndaycount div 7 ) + 1 ); 긴파일명사용하기 function filelongname(const afile: String): String; ainfo: TSHFileInfo;

2 if SHGetFileInfo(PChar(aFile),0,aInfo,Sizeof(aInfo),SHGFI_DISPLAYNAME)<>0 then Result:=StrPas(aInfo.szDisplayName) else Result:=aFile; 네트워크검색 connections or persistent (won't normally get here):} r:=wnetopenenum(listtype,resourcetype,resourceusage_container, nil,henum); { Couldn't enumerate through this container; just make a note of it and continue on: } if r<>no_error then AddShareString(TopContainerIndex,''); WNetCloseEnum(hEnum); Exit; { We got a valid enumeration handle; walk the resources: } while (1=1) do EntryCount:=1; NetResLen:=SizeOf(NetRes); r:=wnetenumresource(henum,entrycount,@netres,netreslen); case r of 0: { Yet another container to enumerate; call this function recursively to handle it: } if (NetRes[0].dwUsage=RESOURCEUSAGE_CONTAINER) or (NetRes[0].dwUsage=10) then DoEnumerationContainer(NetRes[0]) else case NetRes[0].dwDisplayType of { Top level type: } RESOURCEDISPLAYTYPE_GENERIC, RESOURCEDISPLAYTYPE_DOMAIN,

3 RESOURCEDISPLAYTYPE_SERVER: AddContainer(NetRes[0]); { Share: } RESOURCEDISPLAYTYPE_SHARE: AddShare(TopContainerIndex,NetRes[0]); ERROR_NO_MORE_ITEMS: Break; else MessageDlg('Error #'+IntToStr(r)+' Walking Resources.',mtError,[mbOK],0); Break; { Close enumeration handle: } WNetCloseEnum(hEnum); procedure TfrmMain.FormShow(Sender: TObject); DoEnumeration; // Add item to tree view; indicate that it is a container: procedure TfrmMain.AddContainer(NetRes: TNetResource); ItemName: String; ItemName:=Trim(String(NetRes.lpRemoteName)); if Trim(String(NetRes.lpComment))<>'' then if ItemName<>'' then ItemName:=ItemName+' '; ItemName:=ItemName+'('+String(NetRes.lpComment)+')'; tvresources.items.add(tvresources.selected,itemname);

4 // Add child item to container denoted as current top: procedure TfrmMain.AddShare(TopContainerIndex: Integer; NetRes:TNetResource); ItemName: String; ItemName:=Trim(String(NetRes.lpRemoteName)); if Trim(String(NetRes.lpComment))<>'' then if ItemName<>'' then ItemName:=ItemName+' '; ItemName:=ItemName+'('+String(NetRes.lpComment)+')'; tvresources.items.addchild(tvresources.items[topcontainerindex],itemname); { Add child item to container denoted as current top; this just adds a string for purposes such as being unable to enumerate a container. That is, the container's shares are not accessible to us.} procedure TfrmMain.AddShareString(TopContainerIndex: Integer;ItemName: String); tvresources.items.addchild(tvresources.items[topcontainerindex],itemname); { Add a connection to the tree view. Mostly used for persistent and currently connected resources to be displayed.} procedure TfrmMain.AddConnection(NetRes: TNetResource); ItemName: String; ItemName:=Trim(String(NetRes.lpLocalName)); if Trim(String(NetRes.lpRemoteName))<>'' then if ItemName<>'' then ItemName:=ItemName+' '; ItemName:=ItemName+'-> '+Trim(String(NetRes.lpRemoteName)); tvresources.items.add(tvresources.selected,itemname);

5 // Expand all containers in the tree view: procedure TfrmMain.mniExpandAllClick(Sender: TObject); tvresources.fullexpand; // Collapse all containers in the tree view: procedure TfrmMain.mniCollapseAllClick(Sender: TObject); tvresources.fullcollapse; // Allow saving of tree view to a file: procedure TfrmMain.mniSaveToFileClick(Sender: TObject); if dlgsave.execute then tvresources.savetofile(dlgsave.filename); // Allow loading of tree view from a file: procedure TfrmMain.mniLoadFromFileClick(Sender: TObject); if dlgopen.execute then tvresources.loadfromfile(dlgopen.filename); // Rebrowse: procedure TfrmMain.btnOKClick(Sender: TObject); DoEnumeration; end.

6 네트워크드라이브등록하기 procedure TStartForm.NetBtnClick(Sender: TObject); OldDrives: TStringList; i: Integer; OldDrives := TStringList.Create; OldDrives.Assign(Drivebox.Items); // Remember old drive list // Show the connection dialog if WNetConnectionDialog(Handle, RESOURCETYPE_DISK) = NO_ERROR then DriveBox.TextCase := tclowercase; // Refresh the drive list box for i := 0 to DriveBox.Items.Count - 1 do if Olddrives.IndexOf(Drivebox.Items[i]) = -1 then // Find new Drive letter DriveBox.ItemIndex := i; // Updates the drive list box to new drive letter DriveBox.Drive := DriveBox.Text[1]; // Cascades the update to connected directory lists, etc DriveBox.SetFocus; 다른윈도우에서선택된문자열복사하기 procedure TForm1.WMHotkey(Var msg: TWMHotkey); hotherwin, hfocuswin: THandle; OtherThreadID, ProcessID: DWORD; hotherwin := GetForegroundWindow; if hotherwin = 0 then Exit;

7 OtherThreadID := GetWindowThreadProcessID( ); if AttachThreadInput( GetCurrentThreadID, OtherThreadID, True ) then hfocuswin := GetFocus; if hfocuswin <> 0 then try SendMessage( hfocuswin, WM_COPY, 0, 0 ); finally AttachThreadInput( GetCurrentThreadID, OtherThreadID, False ); Memo1.Lines.Add( Clipboard.AsText ); if IsIconIC( Application.Handle ) then Application.Restore; 다른 Application 에 Data 전달하기 WM_COPYDATA- 다른 Application 에 Data 전달 unit other_ap; { 다른 Application 을찾아서 WM_COPYDATA 로 DATA 를전달 } interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; const WM_COPYDATA = $004A; type Tform1 = class(tform) Button1: TButton; Memo1: TMemo; procedure Button1Click(Sender: TObject); private { Private declarations }

8 procedure WMCopyData( m : TMessage); message WM_COPYDATA; public { Public declarations } form1: Tform1; implementation {$R *.DFM} type PCopyDataStruct = ^TCopyDataStruct; TCopyDataStruct = record dwdata: LongInt; cbdata: LongInt; lpdata: Pointer; type PRecToPass = ^TRecToPass; TRecToPass = packed record s : string[255]; i : integer; procedure TForm1.WMCopyData( m : TMessage); Memo1.Lines.Add(PRecToPass(PCopyDataStruct(m.LParam)^.lpData)^.s); Memo1.Lines.Add(IntToStr(PRecToPass(PCopyDataStruct(m.LParam)^.lpData)^.i)); procedure Tform1.Button1Click(Sender: TObject); h : THandle; cd : TCopyDataStruct; rec : TRecToPass;

9 if Form1.Caption = 'My App' then h := FindWindow(nil, 'My Other App'); rec.s := 'Hello World - From My App'; rec.i := 1; end else h := FindWindow(nil, 'My App'); rec.s := 'Hello World - From My Other App'; rec.i := 2; cd.dwdata := 0; cd.cbdata := sizeof(rec); cd.lpdata if h <> 0 then SendMessage(h, WM_CopyData, Form1.Handle, LongInt(@cd)); end. 델파이중복실행방지 unit PrevInst; interface uses WinTypes, WinProcs, SysUtils; type PHWND = ^HWND; function EnumFunc(Wnd:HWND; TargetWindow:PHWND): bool; export; procedure GotoPreviousInstance;

10 implementation function EnumFunc(Wnd:HWND; TargetWindow:PHWND): bool; ClassName : array[0..30] of char; Result := true; if GetWindowWord(Wnd,GWW_HINSTANCE) = hprevinst then GetClassName(Wnd,ClassName,30); if StrIComp(ClassName,'TApplication') = 0 then TargetWindow^ := Wnd; Result := false; procedure GotoPreviousInstance; PrevInstWnd : HWND; PrevInstWnd := 0; EnumWindows(@EnumFunc,longint(@PrevInstWnd)); if PrevInstWnd <> 0 then if IsIconic(PrevInstWnd) then ShowWindow(PrevInstWnd, SW_RESTORE) else BringWindowToTop(PrevInstWnd); end. 이 이러한유닛을프로젝트에추가하신후 DPR 소스의 BEGIN - END 를다음과같

11 수정해주세요 if hprevinst <> 0 then GotoPreviousInstance else Application.CreateForm(MyForm, MyForm); Application.Run; end. 델파이에서한글토글하기 델파이 2.0 이하에서는 ims.pas 를이용하여한영토글을구현했는데, 3.0 이상에서는한영토글에대한간단한답에있더군요. TEdit 에 ImsMode 프라퍼티를이용합니다. edit1.imemode:=imhangul; // 한글모드 edit2.imemode:=imalpha; // 영문모드 입력이한글이많을경우, 입력초기모드를한글모드로바꿔준다면, 사용자의한 / 영키를누르는것을없애줄수있겠지요. 델파이에서자동으로한글입력모드로변경시키는소스 uses 절에 Imm 을추가하세요 그런다음아래프로시저를작성하여 OnEnter 이벤트에서 한글을 on 하시구요 OnExit 이벤트에서 off 하세요 procedure TForm1.SetHangeulMode(SetHangeul: Boolean); tmode : HIMC;

12 tmode := ImmGetContext(handle); if SetHangeul then // 한글모드로 ImmSetConversionStatus(tMode, IME_CMODE_HANGEUL) IME_CMODE_HANGEUL, else // 영문모드로 ImmSetConversionStatus(tMode, IME_CMODE_ALPHANUMERIC, IME_CMODE_ALPHANUMERIC); 델파이에서폼을사정없이뜯어내는방법의소스 WindowRgn,HoleRgn : HRgn; WindowRgn := 0; GetWindowRgn(handle, WindowRgn); DeleteObject(WindowRgn); WindowRgn := CreateRectRgn(0,0,Width,Height); HoleRgn := CreateRectRgn(16,25,126,236); CombineRgn(WindowRgn, WindowRgn, HoleRgn, RGN_DIFF); SetWindowRgn(handle, WindowRgn, TRUE); DeleteObject(HoleRgn); 델파이에서의키값 아래에가상키값리스트입니다... vk_lbutton = $01; vk_rbutton = $02; vk_cancel = $03; vk_mbutton = $04; { NOT contiguous with L & RBUTTON } vk_back = $08; vk_tab = $09; vk_clear = $0C;

13 vk_return = $0D; vk_shift = $10; vk_control = $11; vk_menu = $12; vk_pause = $13; vk_capital = $14; vk_escape = $1B; vk_space = $20; vk_prior = $21; vk_next = $22; vk_end = $23; vk_home = $24; vk_left = $25; vk_up = $26; vk_right = $27; vk_down = $28; vk_select = $29; vk_print = $2A; vk_execute = $2B; vk_snapshot = $2C; { vk_copy = $2C not used by keyboards } vk_insert = $2D; vk_delete = $2E; vk_help = $2F; { vk_a thru vk_z are the same as their ASCII equivalents: 'A' thru 'Z' } { vk_0 thru vk_9 are the same as their ASCII equivalents: '0' thru '9' } vk_numpad0 = $60; vk_numpad1 = $61; vk_numpad2 = $62; vk_numpad3 = $63; vk_numpad4 = $64; vk_numpad5 = $65; vk_numpad6 = $66; vk_numpad7 = $67;

14 vk_numpad8 = $68; vk_numpad9 = $69; vk_multiply = $6A; vk_add = $6B; vk_separator = $6C; vk_subtract = $6D; vk_decimal = $6E; vk_divide = $6F; vk_f1 = $70; vk_f2 = $71; vk_f3 = $72; vk_f4 = $73; vk_f5 = $74; vk_f6 = $75; vk_f7 = $76; vk_f8 = $77; vk_f9 = $78; vk_f10 = $79; vk_f11 = $7A; vk_f12 = $7B; vk_f13 = $7C; vk_f14 = $7D; vk_f15 = $7E; vk_f16 = $7F; vk_f17 = $80; vk_f18 = $81; vk_f19 = $82; vk_f20 = $83; vk_f21 = $84; vk_f22 = $85; vk_f23 = $86; vk_f24 = $87; vk_numlock = $90; vk_scroll = $91;

15 디렉토리에관련된함수 function GetCurrentDir: string; // 현재의 Directory function ExtractFileDir(const FileName: string): string; // Directory 만 Return.Filename 빼고 function ExtractFileName(const FileName: string): string; // 화일이름만 Return 동작중인프로그램죽이기 unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, TlHelp32; type TForm1 = class(tform) ListBox1: TListBox; B_Search: TButton; B_Terminate: TButton; procedure B_SearchClick(Sender: TObject); procedure B_TerminateClick(Sender: TObject); private { Private declarations } public { Public declarations } Form1: TForm1; implementation {$R *.DFM}

16 // kernel32.dll 을사용하여현재떠있는 process 를읽어온다 procedure Process32List(Slist: TStrings); Process32: TProcessEntry32; SHandle: THandle; // the handle of the Windows object Next: BOOL; Process32.dwSize := SizeOf(TProcessEntry32); SHandle := CreateToolHelp32Snapshot(TH32CS_SNAPPROCESS, 0); if Process32First(SHandle, Process32) then // 실행화일명과 process object 저장 Slist.AddObject(Process32.szExeFile, TObject(Process32.th32ProcessID)); repeat Next := Process32Next(SHandle, Process32); if Next then Slist.AddObject(Process32.szExeFile, TObject(Process32.th32ProcessID)); until not Next; CloseHandle(SHandle); // closes an open object handle procedure TForm1.B_SearchClick(Sender: TObject); // 현재실행중인 process 를검색 ListBox1.Items.Clear; Process32List(ListBox1.Items); procedure TForm1.B_TerminateClick(Sender: TObject); hprocess: THandle; ProcId: DWORD; TermSucc: BOOL;

17 // 현재실행중인 process 를 kill if ListBox1.ItemIndex < 0 then System.Exit; ProcId := DWORD(ListBox1.Items.Objects[ListBox1.ItemIndex]); // 존재하는 process object 의 handle 을 return 한다 hprocess := OpenProcess(PROCESS_ALL_ACCESS, TRUE, ProcId); if hprocess = NULL then ShowMessage('OpenProcess error!'); // 명시한 process 를강제종료시킨다 TermSucc := TerminateProcess(hProcess, 0); if TermSucc = FALSE then ShowMessage('TerminateProcess error!') else ShowMessage(Format('Process# %x terminated successfully!', [ProcId])); end. 레지스트리를이용한모뎀찾기 WRegistry := TRegistry.Create; with Wregistry do rootkey := HKEY_LOCAL_MACHINE; if OpenKey ('\System\CurrentControlSet\Services\Class\Modem\0000',False) then Showmessage (' 모뎀이있습니다.');... free.. 마우스의 Enter/Exit Event 사용하기 TForm1 = class(tform) Image1 : TImage; private

18 m_orgproc : TWndMethod; procedure ImageProc ( Msg : TMessage ) ; public procedure FormCreate(Sender: TObject); procedure FormDestroy(Sender: TObject); : : procedure TForm1.FormCreate(Sender:TObject); m_orgproc := Image1.WindowProc; Image1.WindowProc := ImageProc; procedure TForm1.FormDestroy(Sender:TObject); Image1.WindowProc := m_orgproc; procedure TForm1.ImageProc( Msg : TMessage ); case Msg.Msg of CM_MOUSELEAVE: // 여기서콘트롤에마우스가들어왔을때를처리합니다. CM_MOUSEENTER: // 여기서콘트롤로부터마우스가벗어날때부분을처리합니다. m_orgproc(msg);

19 마우스의범위제한하기 다음예제는폼에 2 개의버튼을두고첫번째버튼을누르면마우스가폼밖으로못나가게 하고, 두번째버튼을누르면원래대로바꿔주는프로그램입니다... procedure TForm1.Button1Click(Sender: TObject); Rect : TRect; Rect := BoundsRect; InflateRect(Rect, 0, 0); ClipCursor(@Rect); procedure TForm1.Button2Click(Sender: TObject); ClipCursor(nil); Message 박스에두줄출력하기 MessageDlg(' 문자열 ' + chr(13) + ' 문자열 ', mtinformation,[mbok], 0); 참고 : 윈도우에서는 3 줄까지가능함. 3 줄이상의문자열은자동으로정렬하지 않으니개발자가주의해야함. 바탕화면바꾸기 GetMem( ThePChar, 255 ); StrPCopy( ThePChar, 'wallpaper.bmp'); SystemParametersInfo( SPI_SETDESKWALLPAPER, 0, ThePChar, SPIF_SENDWININICHANGE ); Freemem( ThePChar, 255 ); 브라우저동작하기

20 UrlMon 유닛으로선언되고있다 HlinkNavigateString Win32 API 을 ( 를 ) 씁니다. 호출예 : HlinkNavigateString(Nil,' 만약액티브폼의중 ( 안 ) 에서불러내고싶는경우에는이하와같이지정합니다 : HlinkNavigateString(ComObject,' ShellApi 유닛으로선언되고있다 ShellExecute 을 ( 를 ) 쓰는것도가능합니다. ShellExecute(0, 'open', ' nil, nil, SW_SHOW) 사용자가조합키를누른것처럼처리하는방법 다음소스를참고하기바랍니다. 중요한부분은조합키중키와키, 키와같이홀드 (hold) 상태인키를확인해서키값을포스팅해주는것입니다. 완전하다면더할나위없이좋겠지만, 그냥자신의프로그램에덧붙여사용하거나외부참조로사용해도무방할것입니다. procedure PostKeyEx( hwindow: HWnd; key: Word; Const shift: TShiftState; Specialkey: Boolean ); type TBuffers = Array [0..1] of TKeyboardState; pkeybuffers : ^TBuffers; lparam: LongInt; if IsWindow( hwindow ) then pkeybuffers := nil; lparam := MakeLong( 0, MapVirtualKey( key, 0 ) ); if Specialkey then

21 lparam := lparam or $ ; New( pkeybuffers ); try GetKeyboardState( pkeybuffers^[1] ); FillChar( pkeybuffers^[0],sizeof( TKeyboardState ), 0 ); if ssshift In shift then pkeybuffers^[0][vk_shift] := $80; if ssalt In shift then pkeybuffers^[0][vk_menu] := $80; lparam := lparam or $ ; if ssctrl in shift then pkeybuffers^[0][vk_control] := $80; if ssleft in shift then pkeybuffers^[0][vk_lbutton] := $80; If ssright in shift then pkeybuffers^[0][vk_rbutton] := $80; if ssmiddle in shift then pkeybuffers^[0][vk_mbutton] := $80; SetKeyboardState( pkeybuffers^[0] ); if ssalt in shift then PostMessage( hwindow, WM_SYSKEYDOWN, key, lparam); PostMessage( hwindow, WM_SYSKEYUP, key, lparam or $C ); end else PostMessage( hwindow, WM_KEYDOWN, key, lparam); PostMessage( hwindow, WM_KEYUP, key, lparam or $C ); Application.ProcessMessages;

22 SetKeyboardState( pkeybuffers^[1] ); finally if pkeybuffers <> nil then Dispose( pkeybuffers ); { PostKeyEx } procedure TForm1.SpeedButton2Click(Sender: TObject); Var W: HWnd; W := Memo1.Handle; PostKeyEx( W, VK_END, [ssctrl, ssshift], False ); // 전체선택 PostKeyEx( W, Ord('C'), [ssctrl], False ); // 클립보드로복사 PostKeyEx( W, Ord('C'), [ssshift], False ); // "C" 로치환 PostKeyEx( W, VK_RETURN, [], False ); // 엔터키 ( 새라인 ) PostKeyEx( W, VK_END, [], False ); // 라인의끝으로 PostKeyEx( W, Ord('V'), [ssctrl], False ); // 붙여넣기 시스템 About 사용하기 ShellAbout(Self.Handle, PChar(Application.Title), ' Application.Icon.Handle); Self.Handle 은현재동작중인 Application 의실행영역을리턴하는것이고... PChar( Application.Title ) 은 Title 의 Caption 을전달하는것..

23 ' 문서영역 ' 은이곳에서만들었다는표시... Application.Icon.Handle 은 About 에서보일 Icon 의값을전달하는방법 시스템 Image 를사용하는 TListView procedure TDirTreeView.FindAllSubDirectories(pNode: TCTreeNode; ItsTheFirstPass: Boolean); srch: TSearchRec; DOSerr: integer; NewText: String; NewPath: string; tnode: TCTreeNode; cnode: TCTreeNode; ImagesHandleNeeded : boolean; ccursor: HCursor; NewList: TStringList; i: integer; tpath: string; function TheImage(FileID: string; Flags: DWord; IconNeeded: Boolean): Integer; SHFileInfo: TSHFileInfo; Result := SHGetFileInfo(pchar(FileID), 0, SHFileInfo, SizeOf(SHFileInfo), Flags); if IconNeeded then Result := SHFileInfo.iIcon; function ItHasChildren(const fpath: string): Boolean; srch: TSearchrec; found: boolean; DOSerr: integer;

24 chdir(fpath); Found := false; DOSerr := FindFirst('*.*',faDirectory,srch); while (DOSerr=0) and not(found) do found := ((srch.attr and fadirectory)=fadirectory) and ((srch.name<>'.') and (srch.name<>'..')); if not(found) then DOSerr := FindNext(srch); sysutils.findclose(srch); chdir('..'); Result := Found; tnode := TopItem; ccursor := Screen.cursor; Screen.cursor := crhourglass; Items.BeginUpdate; SortType := stnone; tpath := uppercase(fcurrentpath); NewList := TStringList.Create; getdir(0,newpath); if (NewPath[length(NewPath)]<>'\') then NewPath := NewPath + '\'; ImagesHandleNeeded := ItsTheFirstPass; DOSerr := FindFirst('*.*',faDirectory,srch); while DOSerr=0 do if ((srch.attr and fadirectory)=fadirectory) and ((srch.name<>'.') and (srch.name<>'..')) then NewText := lowercase(srch.name);

25 NewText[1] := Upcase(NewText[1]); NewList.AddObject(NewText, pointer(newstr(newpath+newtext))); DOSerr := FindNext(srch); sysutils.findclose(srch); NewList.Sorted := true; with NewList do for i := 0 to Count-1 do cnode := Items.AddChildObject(pNode,Strings[i], PString(Objects[i])); with cnode do NewText := PString(Data)^; HasChildren := ItHasChildren(NewText); if ImagesHandleNeeded then Images.Handle := TheImage(NewText, SHGFI_SYSICONINDEX or SHGFI_SMALLICON, false); ImagesHandleNeeded := false; ImageIndex := TheImage(NewText, SHGFI_SYSICONINDEX or SHGFI_SMALLICON, true); SelectedIndex := TheImage(NewText, SHGFI_SYSICONINDEX or SHGFI_SMALLICON or SHGFI_OPENICON, True); if AnsiCompareText(NewText,fCurrentPath)=0 then Expanded := true; StateIndex := SelectedIndex; Self.Selected := cnode; end else if (pos(uppercase(newtext),tpath)=1) then Expanded := true;

26 tnode := cnode; NewList.Free; Items.EndUpdate; if Assigned(tNode) then TopItem := tnode; Screen.cursor := ccursor; 실행하기 function fileexec(const acmdline: String; ahide, await: Boolean): Boolean; StartupInfo : TStartupInfo; ProcessInfo : TProcessInformation; {setup the startup information for the application } FillChar(StartupInfo, SizeOf(TStartupInfo), 0); with StartupInfo do cb:= SizeOf(TStartupInfo); dwflags:= STARTF_USESHOWWINDOW or STARTF_FORCEONFEEDBACK; if ahide then wshowwindow:= SW_HIDE else wshowwindow:= SW_SHOWNORMAL; Result := CreateProcess(nil,PChar(aCmdLine), nil, nil, False, NORMAL_PRIORITY_CLASS, nil, nil, StartupInfo, ProcessInfo); if await then if Result then WaitForInputIdle(ProcessInfo.hProcess, INFINITE); WaitForSingleObject(ProcessInfo.hProcess, INFINITE);

27 function fileredirectexec(const acmdline: String; Strings: TStrings): Boolean; StartupInfo : TStartupInfo; ProcessInfo : TProcessInformation; aoutput : Integer; afile : String; Strings.Clear; { Create temp. file for output } afile:=filetemp('.tmp'); aoutput:=filecreate(afile); try {setup the startup information for the application } FillChar(StartupInfo, SizeOf(TStartupInfo), 0); with StartupInfo do cb:= SizeOf(TStartupInfo); dwflags:= STARTF_USESHOWWINDOW or STARTF_FORCEONFEEDBACK or STARTF_USESTDHANDLES; wshowwindow:= SW_HIDE; hstdinput:= INVALID_HANDLE_VALUE; hstdoutput:= aoutput; hstderror:= INVALID_HANDLE_VALUE; Result := CreateProcess(nil,PChar(aCmdLine), nil, nil, False, NORMAL_PRIORITY_CLASS, nil, nil, StartupInfo, ProcessInfo); if Result then WaitForInputIdle(ProcessInfo.hProcess, INFINITE); WaitForSingleObject(ProcessInfo.hProcess, INFINITE); finally

28 FileClose(aOutput); Strings.LoadFromFile(aFile); DeleteFile(aFile); 외부 Application 의 Window 크기조절하기 SHOWWINDOW- 외부 Application 의 Window 크기조절 아래소스는현재 active 된 window 의 list 를구한후그중하나를선택하여 Minimized, Maximized 하는예제입니다. procedure GetAllWindowsProc(WinHandle: HWND; Slist: TStrings); P: array[0..256] of Char; {title bar 를저장할 buffer} P[0] := #0; GetWindowText(WinHandle, P, 255); {window's title bar 를알아낸다 } if (P[0] <> #0) then if IsWindowVisible(WinHandle) then {invisible 한 window 는제외 } Slist.AddObject(P, TObject(WinHandle)); {window 의 handle 저장 } procedure GetAllWindows(Slist: TStrings); WinHandle: HWND; Begin WinHandle := FindWindow(nil, nil); GetAllWindowsProc(WinHandle, Slist); while (WinHandle <> 0) do {Top level 의 window 부터순차적으로 handle 을구한다 } WinHandle := GetWindow(WinHandle, GW_HWNDNEXT); GetAllWindowsProc(WinHandle, Slist);

29 procedure TForm1.B_SearchClick(Sender: TObject); ListBox1.Items.Clear; GetAllWindows(ListBox1.Items); procedure TForm1.B_MaximizeClick(Sender: TObject); if ListBox1.ItemIndex < 0 then System.Exit; { 선택한 window 를 maximize} ShowWindow(HWND(ListBox1.Items.Objects[ListBox1.ItemIndex]), SW_MAXIMIZE); procedure TForm1.B_minimizeClick(Sender: TObject); if ListBox1.ItemIndex < 0 then System.Exit; { 선택한 window 를 minimize} ShowWindow(HWND(ListBox1.Items.Objects[ListBox1.ItemIndex]), SW_MINIMIZE); 워크그룹의호스트네임읽어내기 program ShowSelf; {$apptype console} uses Windows, Winsock, SysUtils; function HostIPFromHostEnt( const HostEnt: PHostEnt ): String; Assert( HostEnt <> nil ); // first four bytes are the host address Result := Format( '%d.%d.%d.%d', [Byte(HostEnt^.h_addr^[0]), Byte(HostEnt^.h_addr^[1]), Byte(HostEnt^.h_addr^[2]), Byte(HostEnt^.h_addr^[3])] );

30 r: Integer; WSAData: TWSAData; HostName: array[0..255] of Char; HostEnt: PHostEnt; // initialize winsock r := WSAStartup( MakeLong( 1, 1 ), WSAData ); if r <> 0 then RaiseLastWin32Error; try Writeln( 'Initialized winsock successfully...' ); // get the host name (this is the current machine) FillChar( HostName, sizeof(hostname), #0 ); r := gethostname( HostName, sizeof(hostname) ); if r <> 0 then RaiseLastWin32Error; Writeln( 'Host name is ', HostName ); // get host entry (address is contained within) HostEnt := gethostbyname( HostName ); if not Assigned(HostEnt) then RaiseLastWin32Error; Writeln( 'Got host info...' ); // dump out the host ip address Writeln( 'Host address: ', HostIPFromHostEnt( HostEnt ) ); finally WSACleanup; end. 윈도우시작메뉴히스트로에문서등록하기

31 윈도우즈시작메뉴에있는문서히스토리에자기가생성한 화일을등록할수있는함수가있습니다. 먼저다음과같은프로시져를프로그램에넣어주세요. use ShellAPI, ShlObj; procedure AddToStartDocument(FilePath: string) SHAddToRecentDocs(SHARD_PATH, PChar(FilePath)); 자이제이함수를사용해봅시다. 우린파라미터로문서의경로를넘겨주면됩니다. 예 ) AddToStartDocument(C:\Test.txt); => 책에이렇게나와있는데, 미스프린팅같군요. -> 요렇게해주세요. AddToStartDocument('C:\Test.txt'); 윈도우배경그림바꾸기 Window 배경그림바꾸기 procedure ChangeIt; Reg: TRegIniFile; Reg := TRegIniFile.Create('Control Panel'); Reg.WriteString('desktop','Wallpaper','c:\windows\kim.bmp'); Reg.WriteString('desktop', 'TileWallpaper', '1'); Reg.Free; SystemParametersInfo(SPI_SETDESKWALLPAPER,0,nil,SPIF_SENDWININICHANGE);

32 Status 에색깔넣기 Status bar 에색깔넣기 StatusBar Font 의색을바꾸는방법은직접그려주는수밖에없습니다. 익히아시겠지만 StatusBar 의 Item 이라할수있는 TStatusPanel 에는 Style 이란게있습니다. 이값은 pstext 나 psownerdraw 란값을갖는데 psownerdraw 일때에는해당 Panel 을그릴때마다 OnDrawPanel event 가호출됩니다. 이때에원하는색으로직접그려주시면됩니다. psownerdraw 일때는그려주지않게되면 Text 값을갖고있다하더라도전혀나오질않으므로, 반드시위에말한 event 에서그려주셔야합니다. 다음에예제를보여드립니다. procedure TfmMain.m_statusBarDrawPanel(StatusBar: TStatusBar; Panel: TStatusPanel; const Rect: TRect); with StatusBar.Canvas do case Panel.ID of 0 : Font.Color := clblue; 2 : if Panel.Text = ' 한글 ' then Font.Color := clred else Font.Color := clblue; FillRect(Rect); TextOut(Rect.Left+2,Rect.Top+2,Panel.Text); 위에 ID 란 property 를사용했는데요, 이것은 index 와는약간차이가있습니다. index propery 와같이부여되긴하지만, item 이추가, 삭제, 삽입되더라도 ID 의값은변하질않습니다. 다시말해한번부여된 ID 는다시사용되지않습니다. TreeView 프린트하기 TreeView and Print paintto can be made to work, you just have to scale the printer.canvas in the ratio of screen to printer resolution.

33 procedure TForm1.Button2Click(Sender: TObject); Printer.BeginDoc; try printer.canvas.moveto(100,100); SetMapMode( printer.canvas.handle, MM_ANISOTROPIC ); SetWindowExtEx(printer.canvas.handle, GetDeviceCaps(canvas.handle, LOGPIXELSX), GetDeviceCaps(canvas.handle, LOGPIXELSY), Nil); SetViewportExtEx(printer.canvas.handle, GetDeviceCaps(printer.canvas.handle, LOGPIXELSX), GetDeviceCaps(printer.canvas.handle, LOGPIXELSY), Nil); treeview1.paintto( printer.canvas.handle, 100, 100 ); finally printer.enddoc;

歯MDI.PDF

歯MDI.PDF E08 MDI SDI(Single Document Interface) MDI(Multiple Document Interface) MDI (Client Window) (Child) MDI 1 MDI MDI MDI - File New Other Projects MDI Application - MDI - OK [ 1] MDI MDI MDI MDI Child MDI

More information

歯처리.PDF

歯처리.PDF E06 (Exception) 1 (Report) : { $I- } { I/O } Assign(InFile, InputName); Reset(InFile); { $I+ } { I/O } if IOResult 0 then { }; (Exception) 2 2 (Settling State) Post OnValidate BeforePost Post Settling

More information

PowerPoint 프레젠테이션

PowerPoint 프레젠테이션 @ Lesson 2... ( ). ( ). @ vs. logic data method variable behavior attribute method field Flow (Type), ( ) member @ () : C program Method A ( ) Method B ( ) Method C () program : Java, C++, C# data @ Program

More information

DocsPin_Korean.pages

DocsPin_Korean.pages Unity Localize Script Service, Page 1 Unity Localize Script Service Introduction Application Game. Unity. Google Drive Unity.. Application Game. -? ( ) -? -?.. 준비사항 Google Drive. Google Drive.,.. - Google

More information

강의10

강의10 Computer Programming gdb and awk 12 th Lecture 김현철컴퓨터공학부서울대학교 순서 C Compiler and Linker 보충 Static vs Shared Libraries ( 계속 ) gdb awk Q&A Shared vs Static Libraries ( 계속 ) Advantage of Using Libraries Reduced

More information

Microsoft PowerPoint - hci2-lecture5.ppt

Microsoft PowerPoint - hci2-lecture5.ppt Overview Mouse, Keyboard Message Mouse Message Keyboard Message HCI Programming 2 (321190) 2008년가을학기 10/15/2008 박경신 2 마우스기초 마우스처리 윈도우운영체제는마우스와관련된모든변화를형태로프로그램에게전달한다. 마우스기초 마우스전달 마우스는마우스커서밑에있는윈도우가받는다. 마우스

More information

chap 5: Trees

chap 5: Trees 5. Threaded Binary Tree 기본개념 n 개의노드를갖는이진트리에는 2n 개의링크가존재 2n 개의링크중에 n + 1 개의링크값은 null Null 링크를다른노드에대한포인터로대체 Threads Thread 의이용 ptr left_child = NULL 일경우, ptr left_child 를 ptr 의 inorder predecessor 를가리키도록변경

More information

PowerPoint 프레젠테이션

PowerPoint 프레젠테이션 Verilog: Finite State Machines CSED311 Lab03 Joonsung Kim, joonsung90@postech.ac.kr Finite State Machines Digital system design 시간에배운것과같습니다. Moore / Mealy machines Verilog 를이용해서어떻게구현할까? 2 Finite State

More information

CD-RW_Advanced.PDF

CD-RW_Advanced.PDF HP CD-Writer Program User Guide - - Ver. 2.0 HP CD-RW Adaptec Easy CD Creator Copier, Direct CD. HP CD-RW,. Easy CD Creator 3.5C, Direct CD 3.0., HP. HP CD-RW TEAM ( 02-3270-0803 ) < > 1. CD...3 CD...5

More information

EMBARCADERO TECHNOLOGIES (Humphery Kim) RAD Studio : h=p://tech.devgear.co.kr/ : h=p://blog.hjf.pe.kr/ Facebook : h=p://d.com/hjfactory :

EMBARCADERO TECHNOLOGIES (Humphery Kim) RAD Studio : h=p://tech.devgear.co.kr/ : h=p://blog.hjf.pe.kr/ Facebook : h=p://d.com/hjfactory : #3 (RAD STUDIO) In www.devgear.co.kr 2016.05.23 EMBARCADERO TECHNOLOGIES (Humphery Kim) RAD Studio : h=p://tech.devgear.co.kr/ : h=p://blog.hjf.pe.kr/ Facebook : h=p://d.com/hjfactory : hskim@embarcadero.kr

More information

EMBARCADERO TECHNOLOGIES (Humphery Kim) RAD Studio : h=p://tech.devgear.co.kr/ : h=p://blog.hjf.pe.kr/ Facebook : h=p://d.com/hjfactory :

EMBARCADERO TECHNOLOGIES (Humphery Kim) RAD Studio : h=p://tech.devgear.co.kr/ : h=p://blog.hjf.pe.kr/ Facebook : h=p://d.com/hjfactory : #1 RAD (RAD STUDIO) In www.devgear.co.kr 2016.05.16 EMBARCADERO TECHNOLOGIES (Humphery Kim) RAD Studio : h=p://tech.devgear.co.kr/ : h=p://blog.hjf.pe.kr/ Facebook : h=p://d.com/hjfactory : hskim@embarcadero.kr

More information

UI TASK & KEY EVENT

UI TASK & KEY EVENT 2007. 2. 5 PLATFORM TEAM 정용학 차례 CONTAINER & WIDGET SPECIAL WIDGET 질의응답및토의 2 Container LCD에보여지는화면한개 1개이상의 Widget을가짐 3 Container 초기화과정 ui_init UMP_F_CONTAINERMGR_Initialize UMP_H_CONTAINERMGR_Initialize

More information

학습목표 함수프로시저, 서브프로시저의의미를안다. 매개변수전달방식을학습한다. 함수를이용한프로그래밍한다. 2

학습목표 함수프로시저, 서브프로시저의의미를안다. 매개변수전달방식을학습한다. 함수를이용한프로그래밍한다. 2 학습목표 함수프로시저, 서브프로시저의의미를안다. 매개변수전달방식을학습한다. 함수를이용한프로그래밍한다. 2 6.1 함수프로시저 6.2 서브프로시저 6.3 매개변수의전달방식 6.4 함수를이용한프로그래밍 3 프로시저 (Procedure) 프로시저 (Procedure) 란무엇인가? 논리적으로묶여있는하나의처리단위 내장프로시저 이벤트프로시저, 속성프로시저, 메서드, 비주얼베이직내장함수등

More information

Ext JS À¥¾ÖÇø®ÄÉÀ̼ǰ³¹ß-³¹Àå.PDF

Ext JS À¥¾ÖÇø®ÄÉÀ̼ǰ³¹ß-³¹Àå.PDF CHAPTER 2 (interaction) Ext JS., HTML, onready, MessageBox get.. Ext JS HTML CSS Ext JS.1. Ext JS. Ext.Msg: : Ext Ext.get: DOM 22 CHAPTER 2 (config). Ext JS.... var test = new TestFunction( 'three', 'fixed',

More information

API 매뉴얼

API 매뉴얼 PCI-DIO12 API Programming (Rev 1.0) Windows, Windows2000, Windows NT and Windows XP are trademarks of Microsoft. We acknowledge that the trademarks or service names of all other organizations mentioned

More information

12-file.key

12-file.key 11 (String).. java.lang.stringbuffer. s String s = "abcd"; s = s + "e"; a b c d e a b c d e ,., "910359,, " "910359" " " " " (token) (token),, (delimiter). java.util.stringtokenizer String s = "910359,,

More information

UI TASK & KEY EVENT

UI TASK & KEY EVENT T9 & AUTOMATA 2007. 3. 23 PLATFORM TEAM 정용학 차례 T9 개요 새로운언어 (LDB) 추가 T9 주요구조체 / 주요함수 Automata 개요 Automata 주요함수 추후세미나계획 질의응답및토의 T9 ( 2 / 30 ) T9 개요 일반적으로 cat 이라는단어를쓸려면... 기존모드 (multitap) 2,2,2, 2,8 ( 총 6번의입력

More information

Microsoft PowerPoint - chap02-C프로그램시작하기.pptx

Microsoft PowerPoint - chap02-C프로그램시작하기.pptx #include int main(void) { int num; printf( Please enter an integer "); scanf("%d", &num); if ( num < 0 ) printf("is negative.\n"); printf("num = %d\n", num); return 0; } 1 학습목표 을 작성하면서 C 프로그램의

More information

Mobile Service > IAP > Android SDK [ ] IAP SDK TOAST SDK. IAP SDK. Android Studio IDE Android SDK Version (API Level 10). Name Reference V

Mobile Service > IAP > Android SDK [ ] IAP SDK TOAST SDK. IAP SDK. Android Studio IDE Android SDK Version (API Level 10). Name Reference V Mobile Service > IAP > Android SDK IAP SDK TOAST SDK. IAP SDK. Android Studio IDE 2.3.3 Android SDK Version 2.3.3 (API Level 10). Name Reference Version License okhttp http://square.github.io/okhttp/ 1.5.4

More information

PowerPoint 프레젠테이션

PowerPoint 프레젠테이션 @ Lesson 3 if, if else, if else if, switch case for, while, do while break, continue : System.in, args, JOptionPane for (,, ) @ vs. logic data method variable Data Data Flow (Type), ( ) @ Member field

More information

Microsoft PowerPoint - 07-Data Manipulation.pptx

Microsoft PowerPoint - 07-Data Manipulation.pptx Digital 3D Anthropometry 7. Data Analysis Sungmin Kim SEOUL NATIONAL UNIVERSITY Body 기본정보표시 Introduction 스케일조절하기 단면형상추출 단면정보관리 3D 단면형상표시 2 기본정보표시및스케일조절 UI 및핸들러구성 void fastcall TMainForm::BeginNewProject1Click(TObject

More information

ISP and CodeVisionAVR C Compiler.hwp

ISP and CodeVisionAVR C Compiler.hwp USBISP V3.0 & P-AVRISP V1.0 with CodeVisionAVR C Compiler http://www.avrmall.com/ November 12, 2007 Copyright (c) 2003-2008 All Rights Reserved. USBISP V3.0 & P-AVRISP V1.0 with CodeVisionAVR C Compiler

More information

Orcad Capture 9.x

Orcad Capture 9.x OrCAD Capture Workbook (Ver 10.xx) 0 Capture 1 2 3 Capture for window 4.opj ( OrCAD Project file) Design file Programe link file..dsn (OrCAD Design file) Design file..olb (OrCAD Library file) file..upd

More information

Visual Basic 반복문

Visual Basic 반복문 학습목표 반복문 For Next문, For Each Next문 Do Loop문, While End While문 구구단작성기로익히는반복문 2 5.1 반복문 5.2 구구단작성기로익히는반복문 3 반복문 주어진조건이만족하는동안또는주어진조건이만족할때까지일정구간의실행문을반복하기위해사용 For Next For Each Next Do Loop While Wend 4 For

More information

A Hierarchical Approach to Interactive Motion Editing for Human-like Figures

A Hierarchical Approach to Interactive Motion Editing for Human-like Figures 단일연결리스트 (Singly Linked List) 신찬수 연결리스트 (linked list)? tail 서울부산수원용인 null item next 구조체복습 struct name_card { char name[20]; int date; } struct name_card a; // 구조체변수 a 선언 a.name 또는 a.date // 구조체 a의멤버접근 struct

More information

Javascript.pages

Javascript.pages JQuery jquery part1 JavaScript : e-mail:leseraphina@naver.com http://www.webhard.co.kr I.? 2 ......,,. : : html5 ; ; .

More information

untitled

untitled Push... 2 Push... 4 Push... 5 Push... 13 Push... 15 1 FORCS Co., LTD A Leader of Enterprise e-business Solution Push (Daemon ), Push Push Observer. Push., Observer. Session. Thread Thread. Observer ID.

More information

Modern Javascript

Modern Javascript ES6 - Arrow Function Class Template String Destructuring Default, Rest, Spread let, const for..of Promises Module System Map, Set * Generator * Symbol * * https://babeljs.io/ Babel is a JavaScript compiler.

More information

목차 BUG offline replicator 에서유효하지않은로그를읽을경우비정상종료할수있다... 3 BUG 각 partition 이서로다른 tablespace 를가지고, column type 이 CLOB 이며, 해당 table 을 truncate

목차 BUG offline replicator 에서유효하지않은로그를읽을경우비정상종료할수있다... 3 BUG 각 partition 이서로다른 tablespace 를가지고, column type 이 CLOB 이며, 해당 table 을 truncate ALTIBASE HDB 6.1.1.5.6 Patch Notes 목차 BUG-39240 offline replicator 에서유효하지않은로그를읽을경우비정상종료할수있다... 3 BUG-41443 각 partition 이서로다른 tablespace 를가지고, column type 이 CLOB 이며, 해당 table 을 truncate 한뒤, hash partition

More information

PowerPoint Template

PowerPoint Template JavaScript 회원정보 입력양식만들기 HTML & JavaScript Contents 1. Form 객체 2. 일반적인입력양식 3. 선택입력양식 4. 회원정보입력양식만들기 2 Form 객체 Form 객체 입력양식의틀이되는 태그에접근할수있도록지원 Document 객체의하위에위치 속성들은모두 태그의속성들의정보에관련된것

More information

09-interface.key

09-interface.key 9 Database insert(record r): boolean find(key k): Record 1 Record getkey(): Key * Record Key Database.? Key equals(key y): boolean Database insert(record r): boolean find(key k): Record * Database OK 1

More information

Eclipse 와 Firefox 를이용한 Javascript 개발 발표자 : 문경대 11 년 10 월 26 일수요일

Eclipse 와 Firefox 를이용한 Javascript 개발 발표자 : 문경대 11 년 10 월 26 일수요일 Eclipse 와 Firefox 를이용한 Javascript 개발 발표자 : 문경대 Introduce Me!!! Job Jeju National University Student Ubuntu Korean Jeju Community Owner E-Mail: ned3y2k@hanmail.net Blog: http://ned3y2k.wo.tc Facebook: http://www.facebook.com/gyeongdae

More information

0. 표지에이름과학번을적으시오. (6) 1. 변수 x, y 가 integer type 이라가정하고다음빈칸에 x 와 y 의계산결과값을적으시오. (5) x = (3 + 7) * 6; x = 60 x = (12 + 6) / 2 * 3; x = 27 x = 3 * (8 / 4

0. 표지에이름과학번을적으시오. (6) 1. 변수 x, y 가 integer type 이라가정하고다음빈칸에 x 와 y 의계산결과값을적으시오. (5) x = (3 + 7) * 6; x = 60 x = (12 + 6) / 2 * 3; x = 27 x = 3 * (8 / 4 Introduction to software design 2012-1 Final 2012.06.13 16:00-18:00 Student ID: Name: - 1 - 0. 표지에이름과학번을적으시오. (6) 1. 변수 x, y 가 integer type 이라가정하고다음빈칸에 x 와 y 의계산결과값을적으시오. (5) x = (3 + 7) * 6; x = 60 x

More information

휠세미나3 ver0.4

휠세미나3 ver0.4 andromeda@sparcs:/$ ls -al dev/sda* brw-rw---- 1 root disk 8, 0 2014-06-09 18:43 dev/sda brw-rw---- 1 root disk 8, 1 2014-06-09 18:43 dev/sda1 brw-rw---- 1 root disk 8, 2 2014-06-09 18:43 dev/sda2 andromeda@sparcs:/$

More information

C# Programming Guide - Types

C# Programming Guide - Types C# Programming Guide - Types 최도경 lifeisforu@wemade.com 이문서는 MSDN 의 Types 를요약하고보충한것입니다. http://msdn.microsoft.com/enus/library/ms173104(v=vs.100).aspx Types, Variables, and Values C# 은 type 에민감한언어이다. 모든

More information

OCaml

OCaml OCaml 2009.. (khheo@ropas.snu.ac.kr) 1 ML 2 ML OCaml INRIA, France SML Bell lab. & Princeton, USA nml SNU/KAIST, KOREA 3 4 (let) (* ex1.ml *) let a = 10 let add x y = x + y (* ex2.ml *) let sumofsquare

More information

(Humphery Kim) RAD Studio : h=p://tech.devgear.co.kr/ : h=p://blog.hjf.pe.kr/ Facebook : h=p://d.com/hjfactory :

(Humphery Kim) RAD Studio : h=p://tech.devgear.co.kr/ : h=p://blog.hjf.pe.kr/ Facebook : h=p://d.com/hjfactory : #2 (RAD STUDIO) In www.devgear.co.kr 2016.05.18 (Humphery Kim) RAD Studio : h=p://tech.devgear.co.kr/ : h=p://blog.hjf.pe.kr/ Facebook : h=p://d.com/hjfactory : hskim@embarcadero.kr 3! 1 - RAD, 2-3 - 4

More information

Deok9_Exploit Technique

Deok9_Exploit Technique Exploit Technique CodeEngn Co-Administrator!!! and Team Sur3x5F Member Nick : Deok9 E-mail : DDeok9@gmail.com HomePage : http://deok9.sur3x5f.org Twitter :@DDeok9 > 1. Shell Code 2. Security

More information

BMP 파일 처리

BMP 파일 처리 BMP 파일처리 김성영교수 금오공과대학교 컴퓨터공학과 학습내용 영상반전프로그램제작 2 Inverting images out = 255 - in 3 /* 이프로그램은 8bit gray-scale 영상을입력으로사용하여반전한후동일포맷의영상으로저장한다. */ #include #include #define WIDTHBYTES(bytes)

More information

Microsoft PowerPoint - 09-CE-5-윈도우 핸들

Microsoft PowerPoint - 09-CE-5-윈도우 핸들 순천향대학교컴퓨터학부이상정 1 학습내용 윈도우핸들 윈도우찿기 윈도우확인및제거 윈도우숨기기 윈도우포커스 윈도우텍스트 윈도우핸들 순천향대학교컴퓨터학부이상정 3 핸들 (handle) 윈도우에서구체적인어떤대상을구분하기위해지정되는고유의번호 32비트의정수값 핸들은운영체제가발급하고사용자가이값을사용 실제값이무엇인지는몰라도상관없음 윈도우, DC, 브러쉬등등 순천향대학교컴퓨터학부이상정

More information

<4D F736F F D20C5D7C6AEB8AEBDBA20B0D4C0D320B8B8B5E9B1E22E646F63>

<4D F736F F D20C5D7C6AEB8AEBDBA20B0D4C0D320B8B8B5E9B1E22E646F63> Chapter 0 테트리스게임만들기 본강좌의목적은테트리스게임자체보다는사용자인터페이스와논리구조를분리하여분석 / 설계하고코딩하는과정을설명하기위한것이다. 특히 BDS 2006에서새로추가된 Together for Delphi를이용하여보다쉽게객체지향적설계를실제업무에도입하는과정을설명하고자한다. 1 단계 UI 와 Logic 의분리 이번강좌에서는필자가원래사용하던문서작성법이아닌클래스다이어그램만으로기능설계와구조설계를병행하도록하겠다.

More information

thesis

thesis ( Design and Implementation of a Generalized Management Information Repository Service for Network and System Management ) ssp@nile nile.postech.ac..ac.kr DPE Lab. 1997 12 16 GMIRS GMIRS GMIRS prototype

More information

rmi_박준용_final.PDF

rmi_박준용_final.PDF (RMI) - JSTORM http://wwwjstormpekr (RMI)- Document title: Document file name: Revision number: Issued by: Document Information (RMI)- rmi finaldoc Issue Date: Status:

More information

UI TASK & KEY EVENT

UI TASK & KEY EVENT KEY EVENT & STATE 구현 2007. 1. 25 PLATFORM TEAM 정용학 차례 Key Event HS TASK UI TASK LONG KEY STATE 구현 소스코드및실행화면 질의응답및토의 2 KEY EVENT - HS TASK hs_task keypad_scan_keypad hs_init keypad_pass_key_code keypad_init

More information

À©µµ³×Æ®¿÷ÇÁ·Î±×·¡¹Ö4Àå_ÃÖÁ¾

À©µµ³×Æ®¿÷ÇÁ·Î±×·¡¹Ö4Àå_ÃÖÁ¾ P a 02 r t Chapter 4 TCP Chapter 5 Chapter 6 UDP Chapter 7 Chapter 8 GUI C h a p t e r 04 TCP 1 3 1 2 3 TCP TCP TCP [ 4 2] listen connect send accept recv send recv [ 4 1] PC Internet Explorer HTTP HTTP

More information

Microsoft Word - ExecutionStack

Microsoft Word - ExecutionStack Lecture 15: LM code from high level language /* Simple Program */ external int get_int(); external void put_int(); int sum; clear_sum() { sum=0; int step=2; main() { register int i; static int count; clear_sum();

More information

6주차.key

6주차.key 6, Process concept A program in execution Program code PCB (process control block) Program counter, registers, etc. Stack Heap Data section => global variable Process in memory Process state New Running

More information

교육2 ? 그림

교육2 ? 그림 Interstage 5 Apworks EJB Application Internet Revision History Edition Date Author Reviewed by Remarks 1 2002/10/11 2 2003/05/19 3 2003/06/18 EJB 4 2003/09/25 Apworks5.1 [ Stateless Session Bean ] ApworksJava,

More information

Microsoft Word - FunctionCall

Microsoft Word - FunctionCall Function all Mechanism /* Simple Program */ #define get_int() IN KEYOARD #define put_int(val) LD A val \ OUT MONITOR int add_two(int a, int b) { int tmp; tmp = a+b; return tmp; } local auto variable stack

More information

MAX+plus II Getting Started - 무작정따라하기

MAX+plus II Getting Started - 무작정따라하기 무작정 따라하기 2001 10 4 / Version 20-2 0 MAX+plus II Digital, Schematic Capture MAX+plus II, IC, CPLD FPGA (Logic) ALTERA PLD FLEX10K Series EPF10K10QC208-4 MAX+plus II Project, Schematic, Design Compilation,

More information

Polly_with_Serverless_HOL_hyouk

Polly_with_Serverless_HOL_hyouk { } "Version":"2012-10-17", "Statement":[ { "Effect":"Allow", "Action":[ "polly:synthesizespeech", "dynamodb:query", "dynamodb:scan", "dynamodb:putitem", "dynamodb:updateitem", "sns:publish", "s3:putobject",

More information

Index Process Specification Data Dictionary

Index Process Specification Data Dictionary Index Process Specification Data Dictionary File Card Tag T-Money Control I n p u t/o u t p u t Card Tag save D e s c r i p t i o n 리더기위치, In/Out/No_Out. File Name customer file write/ company file write

More information

03장.스택.key

03장.스택.key ---------------- DATA STRUCTURES USING C ---------------- 03CHAPTER 1 ? (stack): (LIFO:Last-In First-Out) 2 : top : ( index -1 ),,, 3 : ( ) ( ) -> ->. ->.... 4 Stack ADT : (LIFO) : init():. is_empty():

More information

본교재는수업용으로제작된게시물입니다. 영리목적으로사용할경우저작권법제 30 조항에의거법적처벌을받을수있습니다. [ 실습 ] 스위치장비초기화 1. NVRAM 에저장되어있는 'startup-config' 파일이있다면, 삭제를실시한다. SWx>enable SWx#erase sta

본교재는수업용으로제작된게시물입니다. 영리목적으로사용할경우저작권법제 30 조항에의거법적처벌을받을수있습니다. [ 실습 ] 스위치장비초기화 1. NVRAM 에저장되어있는 'startup-config' 파일이있다면, 삭제를실시한다. SWx>enable SWx#erase sta [ 실습 ] 스위치장비초기화 1. NVRAM 에저장되어있는 'startup-config' 파일이있다면, 삭제를실시한다. SWx>enable SWx#erase startup-config Erasing the nvram filesystem will remove all configuration files Continue? [confirm] ( 엔터 ) [OK] Erase

More information

USER GUIDE

USER GUIDE Solution Package Volume II DATABASE MIGRATION 2010. 1. 9. U.Tu System 1 U.Tu System SeeMAGMA SYSTEM 차 례 1. INPUT & OUTPUT DATABASE LAYOUT...2 2. IPO 중 VB DATA DEFINE 자동작성...4 3. DATABASE UNLOAD...6 4.

More information

var answer = confirm(" 확인이나취소를누르세요."); // 확인창은사용자의의사를묻는데사용합니다. if(answer == true){ document.write(" 확인을눌렀습니다."); else { document.write(" 취소를눌렀습니다.");

var answer = confirm( 확인이나취소를누르세요.); // 확인창은사용자의의사를묻는데사용합니다. if(answer == true){ document.write( 확인을눌렀습니다.); else { document.write( 취소를눌렀습니다.); 자바스크립트 (JavaScript) - HTML 은사용자에게인터페이스 (interface) 를제공하는언어 - 자바스크립트는서버로데이터를전송하지않고서할수있는데이터처리를수행한다. - 자바스크립트는 HTML 나 JSP 에서작성할수있고 ( 내부스크립트 ), 별도의파일로도작성이가능하다 ( 외 부스크립트 ). - 내부스크립트 - 외부스크립트

More information

PowerPoint 프레젠테이션

PowerPoint 프레젠테이션 (Host) set up : Linux Backend RS-232, Ethernet, parallel(jtag) Host terminal Target terminal : monitor (Minicom) JTAG Cross compiler Boot loader Pentium Redhat 9.0 Serial port Serial cross cable Ethernet

More information

Something that can be seen, touched or otherwise sensed

Something that can be seen, touched or otherwise sensed Something that can be seen, touched or otherwise sensed Things about an object Weight Height Material Things an object does Pen writes Book stores words Water have Fresh water Rivers Oceans have

More information

Mentor_PCB설계입문

Mentor_PCB설계입문 Mentor MCM, PCB 1999, 03, 13 (daedoo@eeinfokaistackr), (kkuumm00@orgionet) KAIST EE Terahertz Media & System Laboratory MCM, PCB (mentor) : da & Summary librarian jakup & package jakup & layout jakup &

More information

13주-14주proc.PDF

13주-14주proc.PDF 12 : Pro*C/C++ 1 2 Embeded SQL 3 PRO *C 31 C/C++ PRO *C NOT! NOT AND && AND OR OR EQUAL == = SQL,,, Embeded SQL SQL 32 Pro*C C SQL Pro*C C, C Pro*C, C C 321, C char : char[n] : n int, short, long : float

More information

No Slide Title

No Slide Title Copyright, 2001 Multimedia Lab., CH 3. COM object (In-process server) Eun-sung Lee twoss@mmlab.net Multimedia Lab. Dept. of Electrical and Computer Eng. University of Seoul Seoul, Korea 0. Contents 1.

More information

chap01_time_complexity.key

chap01_time_complexity.key 1 : (resource),,, 2 (time complexity),,, (worst-case analysis) (average-case analysis) 3 (Asymptotic) n growth rate Θ-, Ο- ( ) 4 : n data, n/2. int sample( int data[], int n ) { int k = n/2 ; return data[k]

More information

Microsoft PowerPoint - a10.ppt [호환 모드]

Microsoft PowerPoint - a10.ppt [호환 모드] Structure Chapter 10: Structures t and Macros Structure 관련된변수들의그룹으로이루어진자료구조 template, pattern field structure를구성하는변수 (cf) C언어의 struct 프로그램의 structure 접근 entire structure 또는 individual fields Structure는

More information

목차 BUG DEQUEUE 의 WAIT TIME 이 1 초미만인경우, 설정한시간만큼대기하지않는문제가있습니다... 3 BUG [qp-select-pvo] group by 표현식에있는컬럼을참조하는집합연산이존재하지않으면결괏값오류가발생할수있습니다... 4

목차 BUG DEQUEUE 의 WAIT TIME 이 1 초미만인경우, 설정한시간만큼대기하지않는문제가있습니다... 3 BUG [qp-select-pvo] group by 표현식에있는컬럼을참조하는집합연산이존재하지않으면결괏값오류가발생할수있습니다... 4 ALTIBASE HDB 6.5.1.5.10 Patch Notes 목차 BUG-46183 DEQUEUE 의 WAIT TIME 이 1 초미만인경우, 설정한시간만큼대기하지않는문제가있습니다... 3 BUG-46249 [qp-select-pvo] group by 표현식에있는컬럼을참조하는집합연산이존재하지않으면결괏값오류가발생할수있습니다... 4 BUG-46266 [sm]

More information

4. #include <stdio.h> #include <stdlib.h> int main() { functiona(); } void functiona() { printf("hihi\n"); } warning: conflicting types for functiona

4. #include <stdio.h> #include <stdlib.h> int main() { functiona(); } void functiona() { printf(hihi\n); } warning: conflicting types for functiona 이름 : 학번 : A. True or False: 각각항목마다 True 인지 False 인지적으세요. 1. (Python:) randint 함수를사용하려면, random 모듈을 import 해야한다. 2. (Python:) '' (single quote) 는한글자를표현할때, (double quote) 는문자열을표현할때사용한다. B. 다음에러를수정하는방법을적으세요.

More information

1장 윈도우 프로그래밍 들어가기

1장 윈도우 프로그래밍 들어가기 1 장 윈도우프로그래밍들어가기 김성영교수 금오공과대학교 컴퓨터공학부 예제 다음프로그램은언제종료할까? #include #define QUIT -1 int Func(void) int i; cout > i; return i; void main(void) int Sum = 0, i; cout

More information

Chapter 1

Chapter 1 3 Oracle 설치 Objectives Download Oracle 11g Release 2 Install Oracle 11g Release 2 Download Oracle SQL Developer 4.0.3 Install Oracle SQL Developer 4.0.3 Create a database connection 2 Download Oracle 11g

More information

제이쿼리 (JQuery) 정의 자바스크립트함수를쉽게사용하기위해만든자바스크립트라이브러리. 웹페이지를즉석에서변경하는기능에특화된자바스크립트라이브러리. 사용법 $( 제이쿼리객체 ) 혹은 $( 엘리먼트 ) 참고 ) $() 이기호를제이쿼리래퍼라고한다. 즉, 제이쿼리를호출하는기호

제이쿼리 (JQuery) 정의 자바스크립트함수를쉽게사용하기위해만든자바스크립트라이브러리. 웹페이지를즉석에서변경하는기능에특화된자바스크립트라이브러리. 사용법 $( 제이쿼리객체 ) 혹은 $( 엘리먼트 ) 참고 ) $() 이기호를제이쿼리래퍼라고한다. 즉, 제이쿼리를호출하는기호 제이쿼리 () 정의 자바스크립트함수를쉽게사용하기위해만든자바스크립트라이브러리. 웹페이지를즉석에서변경하는기능에특화된자바스크립트라이브러리. 사용법 $( 제이쿼리객체 ) 혹은 $( 엘리먼트 ) 참고 ) $() 이기호를제이쿼리래퍼라고한다. 즉, 제이쿼리를호출하는기호 CSS와마찬가지로, 문서에존재하는여러엘리먼트를접근할수있다. 엘리먼트접근방법 $( 엘리먼트 ) : 일반적인접근방법

More information

어댑터뷰

어댑터뷰 04 커스텀어댑터뷰 (Custom Adapter View) 커스텀어댑터뷰 (Custom Adapter View) 커스텀어댑터뷰 (Custom Adatper View) 란? u 어댑터뷰의항목하나는단순한문자열이나이미지뿐만아니라, 임의의뷰가될수 있음 이미지뷰 u 커스텀어댑터뷰설정절차 1 2 항목을위한 XML 레이아웃정의 어댑터정의 3 어댑터를생성하고어댑터뷰객체에연결

More information

untitled

untitled - -, (insert) (delete) - - (insert) (delete) (top ) - - (insert) (rear) (delete) (front) A A B top A B C top push(a) push(b) push(c) A B top pop() top A B D push(d) top #define MAX_STACK_SIZE 100 int

More information

윈도우즈프로그래밍(1)

윈도우즈프로그래밍(1) 제어문 (2) For~Next 문 윈도우즈프로그래밍 (1) ( 신흥대학교컴퓨터정보계열 ) 2/17 Contents 학습목표 프로그램에서주어진특정문장을부분을일정횟수만큼반복해서실행하는문장으로 For~Next 문등의구조를이해하고활용할수있다. 내용 For~Next 문 다중 For 문 3/17 제어문 - FOR 문 반복문 : 프로그램에서주어진특정문장들을일정한횟수만큼반복해서실행하는문장

More information

HW5 Exercise 1 (60pts) M interpreter with a simple type system M. M. M.., M (simple type system). M, M. M., M.

HW5 Exercise 1 (60pts) M interpreter with a simple type system M. M. M.., M (simple type system). M, M. M., M. 오늘할것 5 6 HW5 Exercise 1 (60pts) M interpreter with a simple type system M. M. M.., M (simple type system). M, M. M., M. Review: 5-2 7 7 17 5 4 3 4 OR 0 2 1 2 ~20 ~40 ~60 ~80 ~100 M 언어 e ::= const constant

More information

Microsoft PowerPoint - 09-Object Oriented Programming-3.pptx

Microsoft PowerPoint - 09-Object Oriented Programming-3.pptx Development of Fashion CAD System 9. Object Oriented Programming-3 Sungmin Kim SEOUL NATIONAL UNIVERSITY Introduction Topics Object Oriented Programming (OOP) 정의 복수의 pattern object 로 이루어지는 새로운 class Pattern

More information

NoSQL

NoSQL MongoDB Daum Communications NoSQL Using Java Java VM, GC Low Scalability Using C Write speed Auto Sharding High Scalability Using Erlang Read/Update MapReduce R/U MR Cassandra Good Very Good MongoDB Good

More information

ilist.add(new Integer(1))과 같이 사용하지 않고 ilist.add(1)과 같이 사용한 것은 자바 5.0에 추가된 기본 자료형과 해당 객체 자료 형과의 오토박싱/언박싱 기능을 사용한 것으로 오토박싱이란 자바 컴파일러가 객체를 요구하는 곳에 기본 자료형

ilist.add(new Integer(1))과 같이 사용하지 않고 ilist.add(1)과 같이 사용한 것은 자바 5.0에 추가된 기본 자료형과 해당 객체 자료 형과의 오토박싱/언박싱 기능을 사용한 것으로 오토박싱이란 자바 컴파일러가 객체를 요구하는 곳에 기본 자료형 바에 제네릭스(generics)를 도입하기 위한 연구는 이미 8년 전인 1996년부터라고 한다. 실제로 자바에 제네릭스를 도입하 는 몇 가지 방안들이 논문으로 나오기 시작한 것이 1998년 초임을 감 안하면 무려 8년이 지난 후에야 자바 5.0에 전격 채택되었다는 것은 이것이 얼마나 어려운 일이었나 하는 것을 보여준다. 자바의 스펙을 결정하는 표준화 절차인

More information

<443A5C4C C4B48555C B3E25C32C7D0B1E25CBCB3B0E8C7C1B7CEC1A7C6AE425CC0E7B0EDB0FCB8AE5C53746F636B5F4D616E D656E74732E637070>

<443A5C4C C4B48555C B3E25C32C7D0B1E25CBCB3B0E8C7C1B7CEC1A7C6AE425CC0E7B0EDB0FCB8AE5C53746F636B5F4D616E D656E74732E637070> 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include "QuickSort.h" 7 using namespace std; 8 9 10 Node* Queue[100]; // 추가입력된데이터를저장하기위한 Queue

More information

5.스택(강의자료).key

5.스택(강의자료).key CHP 5: https://www.youtube.com/watch?v=ns-r91557ds ? (stack): (LIFO:Last-In First-Out):. D C B C B C B C B (element) C (top) B (bottom) (DT) : n element : create() ::=. is_empty(s) ::=. is_full(s) ::=.

More information

API - Notification 메크로를통하여어느특정상황이되었을때 SolidWorks 및보낸경로를통하여알림메시지를보낼수있습니다. 이번기술자료에서는메크로에서이벤트처리기를통하여진행할예정이며, 메크로에서작업을수행하는데유용할것입니다. 알림이벤트핸들러는응용프로그램구현하는데있어

API - Notification 메크로를통하여어느특정상황이되었을때 SolidWorks 및보낸경로를통하여알림메시지를보낼수있습니다. 이번기술자료에서는메크로에서이벤트처리기를통하여진행할예정이며, 메크로에서작업을수행하는데유용할것입니다. 알림이벤트핸들러는응용프로그램구현하는데있어 메크로를통하여어느특정상황이되었을때 SolidWorks 및보낸경로를통하여알림메시지를보낼수있습니다. 이번기술자료에서는메크로에서이벤트처리기를통하여진행할예정이며, 메크로에서작업을수행하는데유용할것입니다. 알림이벤트핸들러는응용프로그램구현하는데있어서가장중요한부분이라고도할수있기때문입니다. 1. 새로운메크로생성 새메크로만들기버튺을클릭하여파일을생성합니다. 2. 메크로저장 -

More information

ORANGE FOR ORACLE V4.0 INSTALLATION GUIDE (Online Upgrade) ORANGE CONFIGURATION ADMIN O

ORANGE FOR ORACLE V4.0 INSTALLATION GUIDE (Online Upgrade) ORANGE CONFIGURATION ADMIN O Orange for ORACLE V4.0 Installation Guide ORANGE FOR ORACLE V4.0 INSTALLATION GUIDE...1 1....2 1.1...2 1.2...2 1.2.1...2 1.2.2 (Online Upgrade)...11 1.3 ORANGE CONFIGURATION ADMIN...12 1.3.1 Orange Configuration

More information

<443A5C4C C4B48555C B3E25C32C7D0B1E25CBCB3B0E8C7C1B7CEC1A7C6AE425CBED0C3E0C7C1B7CEB1D7B7A55C D616E2E637070>

<443A5C4C C4B48555C B3E25C32C7D0B1E25CBCB3B0E8C7C1B7CEC1A7C6AE425CBED0C3E0C7C1B7CEB1D7B7A55C D616E2E637070> #include "stdafx.h" #include "Huffman.h" 1 /* 비트의부분을뽑아내는함수 */ unsigned HF::bits(unsigned x, int k, int j) return (x >> k) & ~(~0

More information

11 템플릿적용 - Java Program Performance Tuning (김명호기술이사)

11 템플릿적용 - Java Program Performance Tuning (김명호기술이사) Java Program Performance Tuning ( ) n (Primes0) static List primes(int n) { List primes = new ArrayList(n); outer: for (int candidate = 2; n > 0; candidate++) { Iterator iter = primes.iterator(); while

More information

Tcl의 문법

Tcl의 문법 월, 01/28/2008-20:50 admin 은 상당히 단순하고, 커맨드의 인자를 스페이스(공백)로 단락을 짓고 나열하는 정도입니다. command arg1 arg2 arg3... 한행에 여러개의 커맨드를 나열할때는, 세미콜론( ; )으로 구분을 짓습니다. command arg1 arg2 arg3... ; command arg1 arg2 arg3... 한행이

More information

Java ...

Java ... 컴퓨터언어 1 Java 제어문 조성일 조건문 : if, switch 어떠한조건을조사하여각기다른명령을실행 if 문, switch 문 if 문 if - else 문형식 if 문형식 if ( 조건식 ) { 명령문 1; 명령문 2;... if ( 조건식 ) { 명령문 1; 명령문 2;... else { 명령문 a; 명령문 b;... 예제 1 정수를입력받아짝수와홀수를판별하는프로그램을작성하시오.

More information

Dialog Box 실행파일을 Web에 포함시키는 방법

Dialog Box 실행파일을 Web에 포함시키는 방법 DialogBox Web 1 Dialog Box Web 1 MFC ActiveX ControlWizard workspace 2 insert, ID 3 class 4 CDialogCtrl Class 5 classwizard OnCreate Create 6 ActiveX OCX 7 html 1 MFC ActiveX ControlWizard workspace New

More information

Remote UI Guide

Remote UI Guide Remote UI KOR Remote UI Remote UI PDF Adobe Reader/Adobe Acrobat Reader. Adobe Reader/Adobe Acrobat Reader Adobe Systems Incorporated.. Canon. Remote UI GIF Adobe Systems Incorporated Photoshop. ..........................................................

More information

chapter4

chapter4 Basic Netw rk 1. ก ก ก 2. 3. ก ก 4. ก 2 1. 2. 3. 4. ก 5. ก 6. ก ก 7. ก 3 ก ก ก ก (Mainframe) ก ก ก ก (Terminal) ก ก ก ก ก ก ก ก 4 ก (Dumb Terminal) ก ก ก ก Mainframe ก CPU ก ก ก ก 5 ก ก ก ก ก ก ก ก ก ก

More information

01-OOPConcepts(2).PDF

01-OOPConcepts(2).PDF Object-Oriented Programming Concepts Tel: 02-824-5768 E-mail: hhcho@selabsoongsilackr? OOP (Object) (Encapsulation) (Message) (Class) (Inheritance) (Polymorphism) (Abstract Class) (Interface) 2 1 + = (Dependency)

More information

제8장 자바 GUI 프로그래밍 II

제8장 자바 GUI 프로그래밍 II 제8장 MVC Model 8.1 MVC 모델 (1/7) MVC (Model, View, Controller) 모델 스윙은 MVC 모델에기초를두고있다. MVC란 Xerox의연구소에서 Smalltalk 언어를바탕으로사용자인터페이스를개발하기위한방법 MVC는 3개의구성요소로구성 Model : 응용프로그램의자료를표현하기위한모델 View : 자료를시각적으로 (GUI 방식으로

More information

Chapter 4. LISTS

Chapter 4. LISTS 6. 동치관계 (Equivalence Relations) 동치관계 reflexive, symmetric, transitive 성질을만족 "equal to"(=) 관계는동치관계임. x = x x = y 이면 y = x x = y 이고 y = z 이면 x = z 동치관계를이용하여집합 S 를 동치클래스 로분할 동일한클래스내의원소 x, y 에대해서는 x y 관계성립

More information

K7VT2_QIG_v3

K7VT2_QIG_v3 1......... 2 3..\ 4 5 [R] : Enter Raid setup utility 6 Press[A]keytocreateRAID RAID Type: JBOD RAID 0 RAID 1: 2 7 " RAID 0 Auto Create Manual Create: 2 RAID 0 Block Size: 16K 32K

More information

Analytics > Log & Crash Search > Unity ios SDK [Deprecated] Log & Crash Unity ios SDK. TOAST SDK. Log & Crash Unity SDK Log & Crash Search. Log & Cras

Analytics > Log & Crash Search > Unity ios SDK [Deprecated] Log & Crash Unity ios SDK. TOAST SDK. Log & Crash Unity SDK Log & Crash Search. Log & Cras Analytics > Log & Crash Search > Unity ios SDK [Deprecated] Log & Crash Unity ios SDK. TOAST SDK. Log & Crash Unity SDK Log & Crash Search. Log & Crash Unity SDK... Log & Crash Search. - Unity3D v4.0 ios

More information

<4D F736F F F696E74202D20B8AEB4AABDBA20BFC0B7F920C3B3B8AEC7CFB1E22E BC8A3C8AF20B8F0B5E55D>

<4D F736F F F696E74202D20B8AEB4AABDBA20BFC0B7F920C3B3B8AEC7CFB1E22E BC8A3C8AF20B8F0B5E55D> 리눅스 오류처리하기 2007. 11. 28 안효창 라이브러리함수의오류번호얻기 errno 변수기능오류번호를저장한다. 기본형 extern int errno; 헤더파일 라이브러리함수호출에실패했을때함수예 정수값을반환하는함수 -1 반환 open 함수 포인터를반환하는함수 NULL 반환 fopen 함수 2 유닉스 / 리눅스 라이브러리함수의오류번호얻기 19-1

More information

The_IDA_Pro_Book

The_IDA_Pro_Book The IDA Pro Book Hacking Group OVERTIME force (forceteam01@gmail.com) GETTING STARTED WITH IDA IDA New : Go : IDA Previous : IDA File File -> Open Processor type : Loading Segment and Loading Offset x86

More information

iii. Design Tab 을 Click 하여 WindowBuilder 가자동으로생성한 GUI 프로그래밍환경을확인한다.

iii. Design Tab 을 Click 하여 WindowBuilder 가자동으로생성한 GUI 프로그래밍환경을확인한다. Eclipse 개발환경에서 WindowBuilder 를이용한 Java 프로그램개발 이예는 Java 프로그램의기초를이해하고있는사람을대상으로 Embedded Microcomputer 를이용한제어시스템을 PC 에서 Serial 통신으로제어 (Graphical User Interface (GUI) 환경에서 ) 하는프로그램개발예를설명한다. WindowBuilder:

More information

Microsoft Word - FS_ZigBee_Manual_V1.3.docx

Microsoft Word - FS_ZigBee_Manual_V1.3.docx FirmSYS Zigbee etworks Kit User Manual FS-ZK500 Rev. 2008/05 Page 1 of 26 Version 1.3 목 차 1. 제품구성... 3 2. 개요... 4 3. 네트워크 설명... 5 4. 호스트/노드 설명... 6 네트워크 구성... 6 5. 모바일 태그 설명... 8 6. 프로토콜 설명... 9 프로토콜 목록...

More information

Microsoft PowerPoint - PL_03-04.pptx

Microsoft PowerPoint - PL_03-04.pptx Copyright, 2011 H. Y. Kwak, Jeju National University. Kwak, Ho-Young http://cybertec.cheju.ac.kr Contents 1 프로그래밍 언어 소개 2 언어의 변천 3 프로그래밍 언어 설계 4 프로그래밍 언어의 구문과 구현 기법 5 6 7 컴파일러 개요 변수, 바인딩, 식 및 제어문 자료형 8

More information

<C0CCBCBCBFB52DC1A4B4EBBFF82DBCAEBBE7B3EDB9AE2D313939392D382E687770>

<C0CCBCBCBFB52DC1A4B4EBBFF82DBCAEBBE7B3EDB9AE2D313939392D382E687770> i ii iii iv v vi 1 2 3 4 가상대학 시스템의 국내외 현황 조사 가상대학 플랫폼 개발 이상적인 가상대학시스템의 미래상 제안 5 웹-기반 가상대학 시스템 전통적인 교수 방법 시간/공간 제약을 극복한 학습동기 부여 교수의 일방적인 내용전달 교수와 학생간의 상호작용 동료 학생들 간의 상호작용 가상대학 운영 공지사항,강의록 자료실, 메모 질의응답,

More information

13ÀåÃß°¡ºÐ

13ÀåÃß°¡ºÐ 13 CHAPTER 13 CHAPTER 2 3 4 5 6 7 06 android:background="#ffffffff"> 07

More information

<4D F736F F F696E74202D20C1A63034B0AD202D20C7C1B7B9C0D3B8AEBDBAB3CABFCD20B9ABB9F6C6DBC0D4B7C2>

<4D F736F F F696E74202D20C1A63034B0AD202D20C7C1B7B9C0D3B8AEBDBAB3CABFCD20B9ABB9F6C6DBC0D4B7C2> 게임엔진 제 4 강프레임리스너와 OIS 입력시스템 이대현교수 한국산업기술대학교게임공학과 학습내용 프레임리스너의개념 프레임리스너를이용한엔터티의이동 OIS 입력시스템을이용한키보드입력의처리 게임루프 Initialization Game Logic Drawing N Exit? Y Finish 실제게임루프 오우거엔진의메인렌더링루프 Root::startRendering()

More information

10주차.key

10주차.key 10, Process synchronization (concurrently) ( ) => critical section ( ) / =>, A, B / Race condition int counter; Process A { counter++; } Process B { counter ;.. } counter++ register1 = counter register1

More information