On Thu, 30 Oct 2008, Abeb wrote:

Hi,

> >>How did you compile Harbour for WinCE? 
> hbcemk ./wcecon
> >>Used platform, C compiler and build scripts.
> under msys mingw32
> Harbour 1.0.1 Intl. (Rev. 9429)
> Harbour itself was build with make_gnu_xmingwce.sh

I've just check it and some modifications in GTWVT broke
WinCE build. I took older GTWVT and updated it for recent
modifications in core code (MT) and it works correctly.
I cannot say now what is wrong because I haven't checked
recent extensions to GTWVT and I can make WinCE tests only
in firm and real MS-Windows where MS WinCE PocketPC emulator
works - it doesn't with WINE in Linux.
Maybe Viktor or Pritpal can check it. For sure some of this
modifications are wrongly done, f.e. some static variables for
mouse selection were introduced what cannot work correctly in
MT mode. It has to be fixed. In this case looks that these
variables should be moved to HB_GTWVT structure.
BTW I would like to ask all developers to inform about _ALL_
static variables you want to introduce to core code. I cannot
check all commits.

The problem with WinCE is probably bound with console window
resizing and interactions with font selection or with some
new functions or window attributes which does not exist on
WinCE but I cannot say which ones with isolating new code
and making some real tests. I rather will not be able to
make it in this week.
Seems that the startup/resize code also should be checked.
F.e. as I can see CreateFontIndirect() is called 7 times.
I do not think it's necessary.

> wcecon will not run under windows ( it will say  ... not a valid w32
> application )

That's correct behavior. ARM-WinCE binaries cannot be executed
naively in x86 desktop MS-Windows but you can use WinCE/PocketPC
emulator from MS.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to