Hi Allison - forgive the typo in my last post, I meant to say "I am NOW using Unicode.."
In fact, when I changed the compilation paramater from _MBCS to _UNICODE in my project settings, I had several hundred errors in a similar veign throughout my code, with regard to character conversions and using the unicode compatible macros and redefinitions as needed. I resolved them all, using _T() macros, and various variants of the string functions I was using. The only remaining errors are the imaq api calls, as I posted in my first post. Those errors only occur when compiling a UNICODE build. They've compiled and worked perfectly as is for a few years now under _MBCS. From what I gather, most 3rd party API's that support UNICODE would have seperate interfaces implemented for UNICODE, but I don't see any such thing in the imaq api. Which is what brings me here
🙂I am doing this:
dwError = imgInterfaceOpen(CConfigManager::Instance()->GetInterfaceName(), &m_InterfaceID);
GetInterfaceName is defined like this:
TCHAR m_lpszInterfaceName[32];
LPTSTRGetInterfaceName() { return m_lpszInterfaceName; };