Platform
-
C#Platform/프로세스 2011. 7. 28. 16:50
delegate void System.Threading.ThreadStart(); System.Threading.Thread .CurrentThread // static .Sleep() // static .Name .ThreadState .Start() .Abort() .Suspend() .Resume() .Join() System.Threading.Monitor .Enter() .Exit() using System; using System.Threading; class ThreadProperty { public void ThreadBody() { .. Monitor.Enter(this); .. Monitor.Exit(this); } /* public void ThreadBody() { .. lock (..
-
-
동기화 - MFCPlatform/IPC 2011. 6. 16. 22:47
CCriticalSection .Lock() .Unlock() CEvent .Lock() .SetEvent() .PulseEvent() .. //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. // #endif // !defined(AFX_STDAFX_H__FDE11EDF_10C2_45B7_9039_DC9CE6E9CA6F__INCLUDED_) int g_nData[10][10]; int g_nHead = 0; int g_nTail = 0; int g_nCount = 0; CCriticalSection g_cs..
-
ASPPlatform/DB 2011. 5. 8. 13:12
OnTransactionCommit OnTransactionAbort ADODB.Connection .Open() .close() .Execute().BeginTrans().CommitTrans().RollbackTrans() ADODB.Recordset .PageSize .BOF .EOF .pagecount .absolutepage .Open() adOpenForwardOnly|adOpenStatic .Close() .MoveNext() .Move() Set db = Server.CreateObject("ADODB.Connection") db.Open "Provider=SQLOLEDB;Data Source=192.168.0.4\taeyo;Initial Catalog=MyDB;user ID=sa;pass..
-
파일 시스템 - ASPPlatform/File(장치 IO) 2011. 5. 6. 18:13
Scripting.FileSystemObject.GetDrive().GetFolder()' folder.GetFile() (' File).CreateTextFile().DeleteFile().FileExists()(.CopyFile())(.MoveFile())Folder(.Name).SubFolders[].Files[]File.DateCreated(.Name)(.Size)(.DateLastModified) Set fs = Server.CreateObject("Scripting.FileSystemObject") Set Cdrive = fs.GetDrive("c:") .. Cdrive.freespace .. Set myfile = fs.GetFile("c:\config.sys") .. myfile.size ..
-
ASPPlatform/설정 2011. 4. 30. 17:56
asp 파일은 홈 디렉토리나 가상 디렉토리에 위치해서 실행될 수 있어야 된다. 디렉토리의 등록 정보에서 '웹 공유' 탭에서 가상 디렉토리로 만들 수 있다. // 어플리케이션? global.asa 파이어폭스에서 '인증이 필요함' 창이 뜰 때 가상 디렉토리의 [등록 정보|디렉터리 보안|익명 액세스 및 인증제어|익명 액세스] 체크 쓰기 권한은 탐색기와 '인터넷 서비스 관리자' 동시에 설정 윈도우 서버? 참조 사이트: http://www.webdeveloper.com/forum/archive/index.php/t-58058.html
-
UNIX API(system call, primitives)Platform/Environment 2011. 1. 1. 23:37
Normal programs can’t do everything. Many operations such as calling other programs, dealing with files, and exiting have to be handled by the operating system through system calls. All system calls return -1 on failure Processes conventionally have access to three files: standard input file(0), standard output file(1), standard error file(2) open() O_RDONLY creat() read() write() mknod() execut..