The 0 constant is treated as a Byte in Delphi 6, whereas it was treated as an integer in Delphi 5 and earlier. We will have a Delphi 6 specific patch available shortly. Until then you can use the work around you mentioned.

------------------
Marco Kalter
Allround Automations


Marco Kalter
Allround Automations