On Sun, 14 Feb 2010, Xavi wrote:

Hi,

> 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

Officially WinCE does not support any of *A functions.
It has only UNICODE API and all strings should use UNICODE encoding.
I know that there is exception and inside coredll library in MinGWCE
there is GetProcAddressA() but I do not know if it's official extension
and I cannot say if it works.
The import library in MinGWCE contains:
   GetProcAddressA()
   StringCch*A()
   StringCb*A()
ASCII functions.

If you can confirm that it's official WinCE extension and it works
with other C compilers then for me it's very good choice which should
help to simplify existing code.

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

Reply via email to