On Sat, 13 Feb 2010, Szak�ts Viktor wrote:
Hi,
> I don't know about other OSes, but on Windows there
> is no distinction between char and string when using
> TEXT() macro (it works for both), so IMO it's not
> absolutely necessary to match it with type name, since
> it will be confusing in places anyway.
Sorry I do not know what you are talking about.
Now we do not have type for HBTEXT strings so we have to use locally
defined workarounds, i.e. in dllpcode.c we have:
#if defined( HB_OS_WIN_CE )
# define HBTEXTSTR LPCTSTR
#else
# define HBTEXTSTR LPCSTR
#endif
static HBTEXTSTR s_szGetProcAddr = HBTEXT( "_dll_hb_vmProcAddress" );
and I would like to not repeat such declarations in different files
but rather use everywhere sth like:
static const HB_OSCHAR * s_szGetProcAddr =
HB_OSTEXT( "_dll_hb_vmProcAddress" );
best regards,
Przemek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour