In our previous episode, Sergei Gorelkin said: > > 2. THandleStream has a field FHandle which is defined as Integer. Now > > this handle is filled either by the constructor which takes an Integer > > as well or by e.g. TFileStream which gets its handle from > > FileOpen/FileCreate. Those return a THandle and you might guess what > > happens if a value >= 2^32 is returned. ^^ > > > 1 and 2 fixed in rev. 16383
Is it wise to recycle thandle for that? Windows has a system where all handles are of the same type, but other systems might not. (and have different handles for e.g. dynloaded shared libs and files). _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
