분류 전체보기
-
WindowsPlatform/소켓 2010. 3. 30. 22:13
Winsock 2 introduced with the release of Windows NT® 4.0; it is also available on Windows 95 (as an add-on package), Windows 98, and Windows 2000. service provider interface (SPI) layered service provider (LSP) to extend an existing transport service provider NDIS 참조 사이트: http://jjjryu.tistory.com/entry/%EC%86%8C%EC%BC%93-MFC http://blog.lmep.net/46
-
VBScript/자바 스크립트 함수 상호 호출프로그래밍 언어/제어 구조 2010. 3. 30. 19:03
함수 사용법 execScript(함수, 언어) ※ 언어는 입력하지 않을시, 기본값인 Javascript 로 적용됨 1. 자바스크립트에서 VBScript 호출시 execScript("vb 스크립트 함수명", "VBScript"); //execScript의 대소문자에 유의 2. VBScript에서 자바스크립트 호출시 execScript "자바스크립트 함수명", "Javascript" '또는 call execScript ("자바스크립트 함수명", "Javascript") 'VBScript에서 "Javascript" 를 입력하지 않아도 기본값인 자바스크립트로 인식됨, VBScript는 대소문자에 상관 없음 예제1 스크립트를 실행하면, VBScript에서의 Msgbox 이벤트를 자바스크립트에서 vbMsg라는 새로..
-
시그널 - POSIXPlatform/Environment 2010. 3. 24. 22:40
sigaction() //signal() SIGINT SIGPIPE SIG_IGN signal(SIGPIPE, SIG_IGN); #include static void handler(int sig) { ... } int main(void) { int state; struct sigaction act; act.sa_handler=handler; sigemptyset(&act.sa_mask); act.sa_flags=0; state=sigaction(SIGINT, &act, 0); if(state != 0){ puts("sigaction() error "); exit(1); } ... } #include static void handler(int sig) { signal(SIGINT, handler); .....
-
LinuxSysAdmin/규격 2010. 3. 22. 09:33
레드햇 배포판레드햇엔터프라이즈리눅스(RHEL) 배포판수세우분투 오라클 리눅스 1994년 - 1.x 1996년 - 2.0 1999년 - 2.2 2000년 - 2.4 2004년 - 2.6 Debian 계열: Ubuntu, Debian, Kubuntu, KNOPPIX, gOS, Xubuntu, Mint, Damn Small, Dreamlinux, Sidux, MEPIS Red Hat 계열: Fedora, CentOS, Mandriva, RHEL, PCLinuxOSRed Hat Linux 9→Red Hat Enterprise Linux 3Fedora Core 3→Red Hat Enterprise Linux 4Fedora Core 6→Red Hat Enterprise Linux 5Fedora 13→Red Hat ..
-
MySQLPlatform/DB 2010. 3. 17. 14:27
$ sudo apt-get install libmysqlclient-dev $ gcc -o output-file $(mysql_config --cflags) mysql-c-api.c $(mysql_config --libs) 여기에서 mysql-connector-c-6.0.2-win32.msi 파일을 다운 받아 설치한다. C:\Program Files\MySQL\MySQL Connector C 6.0.2\include C:\Program Files\MySQL\MySQL Connector C 6.0.2\lib\opt 전체 설치를 하면 설치 디렉토리에 libmysql.dll 파일도 설치된다. mysql_init() mysql_real_connect() mysql_close() mysql_query() mysq..
-
ADOPlatform/DB 2010. 3. 16. 19:38
_ConnectionPtr .GetInterfacePtr() .Open() .Close() _RecordsetPtr .adoEOF .Open() .Close() .MoveNext() .GetCollect() // StdAfx.h #import "c:\program files\common files\system\ado\msado15.dll" \ no_namespace \ rename ("EOF", "adoEOF") BOOL CTry01App::InitInstance() { // { if(!AfxOleInit()) { AfxMessageBox("Could not initialize COM dll"); return FALSE; } // } AfxEnableControlContainer(); ... } clas..
-
POSIX(UNIX)Platform/File(장치 IO) 2010. 3. 16. 00:21
UNIX files, no matter what program created them, can all be accessed as a sequential stream of bytes. When you access a file, you start by opening it by name. The operating system then gives you a number, called a file descriptor, which you use to refer to the file until you are through with it. You can then read and write to the file using its file descriptor. When you are done reading and writ..