On 20.11.2010 14:13, Sergei Gorelkin wrote:
Sven Barth пишет:
Hello together!
While getting SysUtils and Classes to compile for Native NT I've
stumbled upon some more spots where Handle=LongInt/LongWord is assumed.
1. In objpas/sysutils/filutilh.inc and its implementation
In our previous episode, Florian Kl?mpfl said:
At least a lot of code assumes that. See e.g. FileRead and friends.
Windows has a system where all
handles are of the same type, but other systems might not.
As soon as we find such a system, we can still introduce a TFileHandle.
That was
Hello together!
While getting SysUtils and Classes to compile for Native NT I've
stumbled upon some more spots where Handle=LongInt/LongWord is assumed.
1. In objpas/sysutils/filutilh.inc and its implementation
objpas/sysutils/fina.inc the GetFileHandle functions are defined with
return
Sven Barth пишет:
Hello together!
While getting SysUtils and Classes to compile for Native NT I've
stumbled upon some more spots where Handle=LongInt/LongWord is assumed.
1. In objpas/sysutils/filutilh.inc and its implementation
objpas/sysutils/fina.inc the GetFileHandle functions are
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
Marco van de Voort пишет:
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.
Am 20.11.2010 14:30, schrieb Marco van de Voort:
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