Quote:
|
Originally Posted by sciguy125
I figured it out. My Makefile was trying to be helpful and defined UNICODE in the compiler options. Apparently, the compiler doesn't like that. I'm not really sure why it's defined or why it works without it, but it taking it out fixed the problem.
|
I knew it had to be something like that because of the CreateFile
W, and the
WCHAR* in the error message. I assumed, though, that you needed wide character strings for some reason, and I was looking around for a way to create a wide string from an 8 bit one.