Use CreateFileA() instead of CreateFile() to stick with the ANSI version of the API even when built with unicode support.