문제

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

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top