Hi all!i need help...i have a write function and read function to write and read through RS-232 to another pc.This source code i put it inside a class.I have a main and want to call this function out.How am i going to call this function.Thanks!
/*-- Function Read --*/
{
BufBytes =
OVERLAPPED ovlCommPort =
ReadFile(hComm,BufBytes,NumBytes,
OutBytes =
Array.Copy(BufBytes,OutBytes,BytesRead);
}
WriteFile(hComm,WriteBytes,WriteBytes.Length,