[Xkeymacs-dev-en] problem building xkeymacs (GetString() is not a member of CString)

アーカイブの一覧に戻る

Kazuhiro Fujieda fujie****@users*****
Tue Sep 13 14:10:50 JST 2011


>>> On Mon, 12 Sep 2011 18:54:42 -0500
>>> "Harold Bamford (bamforh)" <bamfo****@cisco*****> 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
fujie****@users*****




More information about the Xkeymacs-dev-en mailing list
アーカイブの一覧に戻る