delphi的方法:
delphi->File->New->最下一行第三个thread object.
thread的example:
C:/Program Files/Borland/Delphi5/Demos/Threads/
win sdk的方法:
参看win32 help createthread的帮助,主要用到下面两个函数:
hThread = CreateThread (&security_attributes, dwStackSize, ThreadProc, pParam, dwFlags, &idThread) ;
DWORD WINAPI ThreadProc (PVOID pParam) ;