0

how to close specific serial port in C++ MFC smart device application?

how to check if a port is open?

and how to close it?

i am using this " ex: http://msdn.microsoft.com/en-us/library/ms881795.aspx

Bart
  • 4,830
  • 16
  • 48
  • 68

1 Answers1

0

To close handle that you have got from CreateFile you should use CloseHandle function.

Kirill V. Lyadvinsky
  • 97,037
  • 24
  • 136
  • 212