[Xkeymacs-dev-en] problem building xkeymacs (GetString() is not a member of CString)
Kazuhiro Fujieda
fujieda at users.sourceforge.jp
>>> On Mon, 12 Sep 2011 18:54:42 -0500 >>> "Harold Bamford (bamforh)" <bamforh at cisco.com> said: > I downloaded and installed the 2010 Express. I then downloaded > and installed the SDK 7.1 and the DDK 7.1. Finally, I compiled > the solution and got this error: > > 1>Utils.cpp(461): error C2039: 'GetString' : is not a member of 'CString' > C:\WinDDK\7600.16385.1\inc\mfc42\afx.h(385) : see declaration of 'CString' My mistake causes this error. I missed the MBCS version of CString in old MFC doesn't support GetString. I replaced it with the typecasting to LPCTSTR to solve this error. Regards, -- Kazuhiro Fujieda fujieda at users.sourceforge.jp
More information about the Xkeymacs-dev-en mailing list |