Hi Viktor,

I have a question about using HB_OS_WIN_CE macro in HBWIN library.
As I can see many functions are disabled and sometimes even such
basic ones like GetProcAddress() which for sure exists in WinCE.
So my question is why this macro was used?

If you only had not time to update some code for WinCE builds
then please at least leave a not about it or add iTODO warning.
Now seems that we have to verify all
   #if [!] defined( HB_OS_WIN_CE )
conditional compilation macros and mark the ones which cannot be
implemented due to limited WinCE API and the ones which can be
implemented but so far we had no time for it.

Current behavior is also very confusing for final users because .prg
code can be cleanly compiled and linked but it will not work due to
dummy functions in WinCE builds.
Usually when the code can be at least compiled with WinCE header
files though it will not work due to missing functions in standard
libraries then I'd suggest to enable such code in WinCE builds
(in separate files of course to not create dependencies which
break other functions) because link time errors can greatly help
to early detect the problems and if possible use some 3-rd party
libraries giving missing functions like console or printing
libraries for WinCE.

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

Reply via email to