mmx64 0 Newbie Poster

I have a problem with Tcomport.
This is usage for writeing to ComPort.

b:byte
ComPort1.write(char(b));

How do i use

ComPort1.read(Buffer:pAnsiChar;Count:integer):integer;

Thanks!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.