Hello together!
I want to create a application (gui) with lazarus for wince.
The application should connect to an sql server 2005
I have problems by including the components of ZEOdbo when I compile for wince
This my steps:
Until Step 2 (down) I compile for win32 for testing first.!
STEP1:
-> I install the "lazarus-0.9.28.2-fpc-2.2.4-win32"
-> Then the "Lazarus-0.9.28.2-fpc-2.2.4-cross-arm-wince-win32"
-> Open lazarus and generate a new project
-> I do the things in this tutorial (http://wiki.lazarus.freepascal.org/Zeos_tutorial)
-> Download the "ZEOSDBO-6.6.4-stable.zip" and extract the files
-> Download the "TortoiseSVN-1.6.6.17493-win32-svn-1.6.6.msi" and install this (restart the pc after setup)
-> make the checkout from windows explore (svn://zeos.firmos.at/zeos/trunk), it works!
-> Open Lazarus and save the default project1 (the default project with the empty form!)
-> Compile all (Start > compile all) > no errors!
-> go to package > load packages (lpk) and select the "zcomponent.lpk"
-> In the package zcomponents-form I press install
-> By the dialog with the question recompile i press yes
-> Make the steps with the connectors..
-> TEST - It works!!!!!!!
STEP2: (Now I want to compile for wince / arm
-> I change the compilerconstant
Options > Options "FCP.exe" to: B:\lazarus\fpc\2.2.4\bin\i386-win32\ppcrossarm.exe
Project > Paths > LCL-Interface to: wince (beta)
Project > Sourcecode > target-OS to : WinCE
Project > Sourcecode > target-CPU to : arm
When I now compile I received the attached error messages
Can someone help me please?
Support zeosdbo the wince ?
Must I change some files or sources???
Thanks and best regards from germany
Chris
Problems with lazarus and zeosdbo compiile for wince
Moderators: gto, EgonHugeist
Problems with lazarus and zeosdbo compiile for wince
You do not have the required permissions to view the files attached to this post.
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
Chris,
Zeoslib doesn't support Wince at the moment. Seems like WINCE lazarus wants a PWideChar instead of a PChar for passing a library name to LoadLibrary. IFDEF'ing the loadlibrary call might help you.
I only wonder if this would be the only incompatibility...
If you want to look deeper into the issue and you can get it fixed without breaking the other platforms, no doubt I'll add the necessary changes to the official zeoslib version. Provided these changes are reasonable, of course.
Mark
Zeoslib doesn't support Wince at the moment. Seems like WINCE lazarus wants a PWideChar instead of a PChar for passing a library name to LoadLibrary. IFDEF'ing the loadlibrary call might help you.
I only wonder if this would be the only incompatibility...
If you want to look deeper into the issue and you can get it fixed without breaking the other platforms, no doubt I'll add the necessary changes to the official zeoslib version. Provided these changes are reasonable, of course.
Mark