Changed <Winbase.h> to <windows.h> and now this will compile---
Have not had time to try in full program yet, but now I have a starting point.
pic = CreateFile( "COM1", // address of name of the communications device
GENERIC_READ | GENERIC_WRITE, // access (read-write) mode
0, // share mode
NULL, // address of security descriptor
OPEN_EXISTING, // how to create
0, // file attributes
NULL // handle of file with attributes to copy
Thank you for your help!!!