Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Reg989

    Serial Communications

    The function you were looking for was SetupComm. You should use it with something like this: ... HANDLE handle = CreateFile("COM1", GENERIC_READ|GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, NULL); SetupComm(handle, 2048, 2048); if (!SetCommState(handle, &DCB)){ //Handle error here }...

Part and Inventory Search

Back
Top