MrLoick / zengl

Automatically exported from code.google.com/p/zengl
0 stars 0 forks source link

Delphi XE2 compilation failure. #49

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
at revision 1380

@zgl_resources.pas,792:
resThread[ QueueID ]     := BeginThread( nil, 0, @res_ProcQueue, @resQueueID[ 
QueueID ], 0, resThreadID[ QueueID ] );

resThreadID[ QueueID ] expected to be array of TThreadID

workaround: change
@zgl_resources.pas,151:
resThreadID        : array[ 0..255 ] of THandle;
to
resThreadID        : array[ 0..255 ] of TThreadID;

Original issue reported on code.google.com by vld.de...@gmail.com on 17 Dec 2011 at 1:32

GoogleCodeExporter commented 8 years ago
Strange, that there is no THandle in Delphi XE2... Also there is no TThreadID 
in Delphi 7, so I replaced it with LongWord. Thanks.

Original comment by dr.andru@gmail.com on 17 Dec 2011 at 4:57