I think that we don't need v0.9.28 anymore
Why? I thought KControls worked for you in this version.
For me, this version does not work even with a simple fresh app.
Get following errors:
windres: can't open file `TForm1': No such file or directory
Hint: Start of reading config file c:\lazarus\fpc\2.2.4\bin\i386-win32\fpc.cfg
Hint: End of reading config file c:\lazarus\fpc\2.2.4\bin\i386-win32\fpc.cfg
Free Pascal Compiler version 2.2.4 [2009/09/29] for arm
Copyright (c) 1993-2008 by Florian Klaempfl
Target OS: WinCE for ARM
Compiling project1.lpr
Compiling unit1.pas
Assembling unit1
Compiling resource D:\Data\Delphi\Test\WinCETest\unit1.lfm
c:\lazarus\fpc\2.2.4\bin\i386-win32\arm-wince-windres.exe: can't open file `TForm1': No such file or directory
unit1.pas(27) Error: Error while linking
unit1.pas(27) Fatal: There were 1 errors compiling module, stopping
And I am really in doubt Printers4Lazarus package (->KControls) would work there.
In Lazarus 1.7 I am at least able to build a simple fresh app for WinCE/arm.
Anyway, I could not connect to and debug in your emulator at all, don't know how to setup it.
The manual (
http://wiki.freepascal.org/Windows_CE_Interface) did not work for me either (having only Win7x64 and Win10 now).
For example, I could not setup Windows Mobile 6.5 Developer Tool Kit at all.
To proceed further, could you please answer my previous question whether you can use Printers4Lazarus or TPrinterSetupDialog in your WinCE applications (compiled in Lazarus v0.9.28 beta where you previously stated Kcontrols worked)?
- If yes then Printers4Lazarus is broken -> Lazarus bug.
- If not then WinCE widgetset is incomplete -> KControls cannot be used as such with WinCE widgetset because it requires this package. You would need to delete Printers4Lazarus from KControls dependencies and remove all stuff that uses it, for now it is only PrintersDlgs unit in file kprintsetup.pas so it should not be that hard.
EDIT: Discovered now this
http://wiki.lazarus.freepascal.org/Roadmap#Status_of_dialogs_on_each_LCL_Interface ->
TPrinterSetupDialog not implemented under WinCE. This explains everything. So KControls couldn't work with WinCE widgetset without above modifications (well, maybe some old version which did not have the Printers4Lazarus dependency).
I made modifications in the KControls trunk. Now it is possible to compile KControlsLaz package under WinCE with newest Lazarus + FPC (both from trunks).
All you have to do is to remove Printer4Lazarus package form the KControlsLaz package dependencies (you may want to make a copy of KControlsLaz.lpk for that).