Original Post
I have a situation where an SDK I need to use defines its character type as a TCHAR. Sounds great right? Well the problem is that they define their character as a TCHAR but then never use anything other than MBCS functions and they never use the _T() macro around any of their string literals. So now that I need to make my plugin Unicode - I have a million problems with the header files I need to include. So this prompts my question - has anyone out there ever had a situation like this? I'm thinking I need to make some kind of a wrapper header file to fool my SDK includes into thinking that MBCS is defined - but so far I'm having no luck. I don't know if I need to undefine some things or if #pragma once is preventing me from including tchar.h or other headers twice. Has anyone been down this road before?