I have opened a handle for a port using CreateFile() but don't know how to close it. Can you help me?
I have opened a handle for a port using CreateFile() but don't know how to close it. Can you help me?
ummmm the rather imaginatively titled CloseHandle (filehandle) will do the job. Dont you guys ever read the documentation that comes with a compiler!
Free the weed!! Class B to class C is not good enough!!
And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi