TLama

Untitled

Feb 19th, 2014
485
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.17 KB | None | 0 0
  1. uses
  2.   ActiveX;
  3.  
  4. procedure TYourThread.Execute;
  5. begin
  6.   CoInitializeEx(nil, COINIT_MULTITHREADED);
  7.   try
  8.     <your code here>
  9.   finally
  10.     CoUninitialize;
  11.   end;
  12. end;
Advertisement
Add Comment
Please, Sign In to add comment