Functions like CreateFile are defined to the unicode versions if UNICODE is defined otherwise they are ANSI versions.
I've been using the ANSI versions but now I've created a new project and suddenly they are set to the unicode versions so my code breaks.
I've even tried placing an #undef UNICODE before a function call but I still get the error about the arguments not being the correct type.
Is there some project setting for this?