I compiled and linked the library V2.43 with
#define __EXT_MFC_ENABLE_TEMPLATED_CHARS
When I tried to compile my own application the following output was generated:
==== BEGIN OUTPUT ====
stdafx.cpp
Prof-UIS multiple monitor support:
built-in
Automatically linking with Prof-UIS library: ProfUIS243yud.lib
(Professional User Interface Suite)
Prof-UIS native unicode character type support:
adding automatic conversion from unsigned short to __wchar_t
Prof-UIS real wchar_t type is:
unsigned short
Client project real wchar_t type is:
native __wchar_t
c:\Programme\Prof-UIS\Include\extbutton.h(286) : error C2664: ’int CWnd::GetWindowTextW(LPTSTR,int) const’ : cannot convert parameter 1 from ’CExtSafeSimpleStringT<BaseType>::PXSTR’ to ’LPTSTR’
with
[
BaseType=__prof_uis_used_wchar_t
]
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
==== END OUTPUT ====
Ok, I can live without _wchar_t being an internal type but I thought I might report this anyways.
Thanks
Thomas