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. _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
