Hi Przemek,

You're right if HBTEXT is only for use inside of GetProcAddress.

It has to give 8bit ASCII text in all desktop windows.

IMHO for this reason if the code is for all desktop windows and for WinCE is 
better to use GetProcAddressA.
[ Remember the A final for ASCII ]

...
   #if defined( HB_OS_WIN_CE )
      #define GetProcAddress GetProcAddressA
   #endif
...

And avoid the confusion because don't look any macro for UNICODE literals 
inside calls to GetProcAddress.
Also I think it simplifies other things, as always is LPCSTR.

Best regards,
Xavi
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to