[阅读: 522] 2006-08-19 15:29:29
procedure TThread.Synchronize(Method: TThreadMethod);
begin
FSynchronizeException := nil;
FMethod := Method;
SendMessage(ThreadWindow, CM_EXECPROC, 0, Longint(Self));
if Assigned(FSynchronizeException) then raise FSynchronizeException;
end;
以上是D5的源码。D6开始的源码看得眼晕,偶就没再研究过VCL了。