Hi Viktor,
I would suggest that if type of string param not is RAW, not use hb_stor*len
use hb_stor*
This would avoid the possible inclusion of terminating null character.
I also recommend the use of a new our macro in exclusive HB_TEXT for UNICODE
literals.
Or at least change the current definition of HBTEXT to avoid problems.
...
#if defined( UNICODE ) || defined( HB_OS_WIN_CE )
#define HBTEXT( x ) TEXT( x )
#else
#define HBTEXT( x ) x
#endif
...
[ And out of context :)
Remember that in API DLLs, the name of function is finish in A or W.
Not enough that the string is ANSI or UNICODE. ]
Best regards,
Xavi
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour