簡單用CreateThread傳遞自定義參數

1. 聲明一個Record類 type  MyData = record   title:pchar;   str:string;   num:Integer ;   end ; PMyData = ^MyData;  2. 線程函數像這樣寫html Function ThreadProc(Para:PMyData):integer;stdcall; begin  result: = 0 ;   
相關文章
相關標籤/搜索