Hello Przemek
Przemyslaw Czerpak-2 wrote: > > Yes because it operates on char types. If you want to write the above > code which will work with and without UNICODE macro then you should > change it to use TCHAR. > TCHAR is single bute char when UNICODE macro is not set and two bytes > (USHORT) when it's set. Pointer to TCHAR (TCHAR*) is defined as LPTSTR. > LPCTSTR is pointer to const TCHAR array. > The following code may look like: > Thanks for the detailed analysis and solution. Now the showstopper: MSDN defines header and lib for the fiunction StringCchCat() strsafe.h and strsafe.lib which is not available with BCC5.8. What should I do? Regards Pritpal Bedi -- View this message in context: http://www.nabble.com/C-and-Unicode-compliant-string-conversions-tp20721945p20723649.html Sent from the Harbour - Dev mailing list archive at Nabble.com. _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
