void __fastcall TForm1::Button1Click(TObject *Sender)
{
TFileStream *fileStream;
AnsiString filename, URL;
URL = Edit1->Text;
filename = "c:\\test.txt";
fileStream = new TFileStream(filename, fmCreate);
IdHTTP1->Get(URL, fileStream);
delete fileStream;
}
|
LIST
'Borland' 카테고리의 다른 글
| package 파일 linker error (0) | 2009.10.26 |
|---|---|
| TMaskEdit 사용시 Invalid input value. 메세지 Exception 해결방법 (0) | 2009.10.09 |
| 환경 변수 (0) | 2009.09.10 |
| Thread Test Program[WaitForMultipleObjects()] (0) | 2009.08.11 |
| 컴퓨터에 실행되는 프로세스를 확인하는 방법 (0) | 2009.05.01 |