digidotcom / xbee_ansic_library

A collection of portable ANSI C code for communicating with Digi International's XBee wireless radio modules in API mode.
204 stars 116 forks source link

ports/win32: use CreateFileA() instead of CreateFile() #32

Closed pcdangio closed 3 years ago

pcdangio commented 3 years ago

Addressing #31 by switching from CreateFile() macro to the base CreateFileA() method. Using the original CreateFile() macro may result in improper resolution to the unicode/wchar method CreateFileW if certain definitions are missing.