I am just getting started with serial port via Win32 API and I am stuck on the following:
I need to write Hex data to the serial port. So far I can write ASCII characters using:
WriteFile(hComm, lpBuf, dwToWrite, &dwWritten, &osWrite)
but 'lpbuf' barks at me if I try anything else saying that it is expecting a "const void"
Hopefully this is cake for you experienced coders out there... I am working with C++ Builder6.