Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » compile prof-uis lib - with __EXT_MFC_ENABLE_TEMPLATED_CHARS Collapse All
Subject Author Date
cosmin dumitru Nov 5, 2009 - 4:00 AM


I try to compile prof-uis lib 2.87 - statsic unicode with mcs dll, with __EXT_MFC_ENABLE_TEMPLATED_CHARS set



i got

\Include\ExtEdit.h(226) : error C2440: ’type cast’ : cannot convert from ’__EXT_MFC_SAFE_LPTSTR’ to ’LPINT’

1>        No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called

1>..\Src\ExtEdit.cpp(2426) : error C2593: ’operator +=’ is ambiguous

1>        ..\Include\ExtMfcSafeNativeTCHAR.h(4239): could be ’CExtSafeStringW &CExtSafeStringW::operator +=(__prof_uis_converted_wchar_t)’

1>        ..\Include\ExtMfcSafeNativeTCHAR.h(4234): or       ’CExtSafeStringW &CExtSafeStringW::operator +=(__prof_uis_used_wchar_t)’

1>        while trying to match the argument list ’(CExtSafeString, __EXT_MFC_SAFE_TCHAR)’

1>..\Src\ExtEdit.cpp(2449) : error C2678: binary ’!’ : no operator found which takes a left-hand operand of type ’__EXT_MFC_SAFE_TCHAR’ (or there is no acceptable conversion)

1>        could be ’built-in C++ operator!(bool)’

1>        while trying to match the argument list ’(__EXT_MFC_SAFE_TCHAR)’


any ideeas ?


Technical Support Nov 6, 2009 - 2:07 PM

We received your e-mail and replied with the fix information.