FileCopy 출처 : http://delphi.about.com/od/fileio/a/untypedfiles.htm procedure FileCopy(const FileFrom, FileTo: string) ; var FromF, ToF: file; NumRead, NumWritten: Integer; Buffer: array[1..2048] of Byte; begin AssignFile(FromF, FileFrom) ; Reset(FromF, 1) ; AssignFile(ToF, FileTo) ; Rewrite(ToF, 1) ; repeat BlockRead(FromF, Buffer, SizeOf(Buffer), NumRead) ; BlockWrite(ToF, Buffer, NumRead, NumW..
출처 : http://www.xxlinux.com/linux/dev/Delphi/2007-10-30/11392.html http://dolba.net/old_k2club/bbs/bbs.php3?board=delphi&mode=view&id=345&page=32&recnum=359&keyword=&flag= http://www.pic16.com/BBS/dispbbs.asp?boardID=31&ID=17357&page=3 function StrToBin(const S: string): string; const BitArray: array[0..15] of string = ('0000', '0001', '0010', '0011', '0100', '0101', '0110', '0111', '1000', '100..
출처 : http://delphi.about.com/cs/adptips2002/a/bltip1002_5.htm type TByteArr = array of byte; function StringToBytes(aString: String): TByteArr; var i: integer; begin SetLength( Result, Length(aString)) ; for i := 0 to Length(aString) - 1 do Result[i] := ord(aString[i + 1]) { - 48} ; end; function BytesToString(aBytes : TByteArr): String; begin Result := PChar(aBytes); end; procedure TForm1.Butto..
출처 : http://www.scalabium.com/faq/dct0106.htm http://delphi.mylivepage.com/wiki/1380/638 uses ShlObj, ActiveX; function GetSystemPath(Folder: Integer): string; var PIDL: PItemIDList; Path: LPSTR; AMalloc: IMalloc; begin Path := StrAlloc(MAX_PATH); SHGetSpecialFolderLocation(Application.Handle, Folder, PIDL); if SHGetPathFromIDList(PIDL, Path) then Result := Path; SHGetMalloc(AMalloc); AMalloc.Fr..
출처 : http://blog.bagesoft.com/725 http://fallacy.tistory.com/76 http://kwon37xi.egloos.com/2852803?89a004e0 1) C:\apache-tomcat-5.5.27\conf\server.xml 내용추가 2) C:\apache-tomcat-5.5.27\conf\context.xml 내용추가 3) C:\oracle\product\10.2.0\db_1\jdbc\lib 폴더의 ojdbc14.jar 파일을 C:\apache-tomcat-5.5.27\common\lib 폴더에 복사 4) C:\apache-tomcat-5.5.27\webapps\ROOT\WEB-INF\web.xml 내용 추가 Oracle Datasource example j..
- Total
- Today
- Yesterday
- ble
- Linux
- 서울오토살롱
- flex
- oracle
- Xcode
- Delphi Tip
- BPI-M4
- 튜닝쇼 2008
- ffmpeg
- android
- ubuntu
- 레이싱모델 익스트림 포토 페스티벌
- Java
- 전예희
- 지스타2007
- Mac
- NDK
- JavaScript
- Spring MVC
- MySQL
- 송주경
- Delphi
- SAS
- koba2010
- 동경
- sas2009
- 일본여행
- Spring
- KOBA
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |