Re: [Harbour] SF.net SVN: harbour-project:[13563] trunk/harbour

2010-01-15 Thread Xavi
Hi Viktor, Okay, I'll mark them with TEXT(), is this alright? [ _T() is problematic as it needs yet another Windows header. But, TEXT() seems to work just as well for chars. ] Okay but they are very simple macros .- #ifdef UNICODE # define _TEXT(s) L##s #else # define _TEXT(s) s #endif #

Re: [Harbour] SF.net SVN: harbour-project:[13563] trunk/harbour

2010-01-15 Thread Viktor Szakáts
> Hi Viktor, > >> So, in comparisons, should we always use _T(), >> while in assigments, this is not required? > > I think that also but for not enter in technical reasons about different > compilers / machines. > If you read a written code for ANSI / UNICODE you expect to see TCHAR's > macros

Re: [Harbour] SF.net SVN: harbour-project:[13563] trunk/harbour

2010-01-15 Thread Xavi
Hi Viktor, So, in comparisons, should we always use _T(), while in assigments, this is not required? I think that also but for not enter in technical reasons about different compilers / machines. If you read a written code for ANSI / UNICODE you expect to see TCHAR's macros in literal constan

Re: [Harbour] SF.net SVN: harbour-project:[13563] trunk/harbour

2010-01-15 Thread Viktor Szakáts
Hi Xavi, >> ! Fixed new warning in hb_tstrncat() (assigment in conditional). >> I've now basically restored my original version taken from common lib. > > Only one small observation as a comment. > > Not is the same UNICODE NULL L'\0' that '\0', may be irrelevant because both > are ze

Re: [Harbour] SF.net SVN: harbour-project:[13563] trunk/harbour

2010-01-14 Thread Xavi
Hi Viktor, ! Fixed new warning in hb_tstrncat() (assigment in conditional). I've now basically restored my original version taken from common lib. Only one small observation as a comment. Not is the same UNICODE NULL L'\0' that '\0', may be irrelevant because both are zero. Not i

[Harbour] SF.net SVN: harbour-project:[13563] trunk/harbour

2010-01-13 Thread vszakats
Revision: 13563 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13563&view=rev Author: vszakats Date: 2010-01-14 02:26:19 + (Thu, 14 Jan 2010) Log Message: --- 2010-01-14 03:22 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/win_prn3.c