[Lazarus] WSRegister error on console application
Paul Ishenin
ip at kmiac.ru
Tue May 5 02:41:24 CEST 2009
Andrea Mauri wrote:
> I tried it (replaced LCLType and LCLintf with Windows), now I got an
> error on these lines:
> NCB.ncb_command := Char(NCBENUM);
> NCB.ncb_command := Char(NCBRESET);
> NCB.ncb_command := Char(NCBASTAT);
> NCB.ncb_buffer := PChar(@Adapter);
> The error is:
> Error: Incompatible types: got "Char" expected "Byte"
Well, you can replace Char by Byte. See yourself which solution is
better for you.
Best regards,
Paul Ishenin.
More information about the Lazarus
mailing list