Alex, you can't just use VER130.
If you use that, our own VCL modifications will stop working.
Rather you have to use {$IFDEF ENTERPRISE} for streams that use 64 bits.
Or create a new define that we can set on our code, something like D5_64BITS_TSTREAM and write:

```pascal
FCurPos: {$IFDEF VER130}{$IFNDEF D5_64BITS_TSTREAM}longint{$ELSE}Int64{$ENDIF}{$ELSE}Int64{$ENDIF}
```

The code must be compatible with our VCL modifications.

Think about the code as-is that it works perfectly fine in our Delphi 5 VCL. So when instrumenting the code to make it work in an unmodified VCL, like yours, make sure we can still compile with ALL modifications in our VCL.