CerebusOSS/CereLink

SDKSample does not compile when build against MFC Unicode version

Closed this issue · 2 comments

The Multi-Byte Character Set (MBCS) version of MFC is marked as deprecated starting with VS 2013 and therefore no longer included. When trying to build the SDKSample against the now default Unicode version, there are a bunch of LPCTSTR related casting errors.

Installing the MFC MBCS DLL Add-on and building against the MBSC version works fine, so this is probably a good workaround for now.

There was no real MB support in cbhwlib, and I do not think there is now, so we should be safe to just rename all to char *. This whole all-caps Microsoft types are ugly and confusing.

Added this to wiki