-
Will try today.
Thanks for your help and quick response.
thanks -
great!
The compilation is OK!
Then try the application on the device
thank you very much! -
Jon © (11.01.10 18:03) [22]Prego!
-
I tried
compilation is ok
when I run on device(windows mobile 2003 SE) error Access Violation:
PControl(c).Caption := 'AAA';
Help me
grazie -
Some ideas to solve?
thanks -
Jon © (13.01.10 18:14) [25]Sorry, but I have no mobile device to test with.
Can you provide more details of the error?
Are you sure that the device can actually show tooltips? -
The device does not support tooltips.
But the error occurs:
PControl(c).Caption := 'AAA'; <-- Error here
without using the tooltips
The device shows only AccessViolation
thanks -
Jon © (14.01.10 01:00) [27]Sorry about the tooltips - I misread your post.
I have downloaded and installed a Win-CE emulator to test. I could not find ROM images for Windows Mobile 2003 SE so I tested with Windows Mobile 6 Professional (ARM920T).
The code works correctly and without errors for me.
Here is a link to my Lazarus project and compiled exe for you to test: http://www.sendspace.com/file/xxlrzj -
You: I have downloaded and installed a Win-CE emulator to test.
Where can I find the emulator?
how I install it?
as I run it?
thanks -
Jon © (14.01.10 14:06) [29]
> Where can I find the emulator?
> how I install it?
> as I run it?
> thanks
From Microsoft - details here: http://technet.microsoft.com/en-us/library/cc461417.aspx
You need:
- Virtual PC 2007 http://www.microsoft.com/downloads/details.aspx?FamilyID=04d26402-3199-48a3-afa2-2dc0b40a73b6&DisplayLang=en
- Device Emulator Standalone http://www.microsoft.com/downloads/details.aspx?familyid=A6F6ADAF-12E3-4B2F-A394-356E2C2FB114&displaylang=en
- Emulator images (Professional) http://www.microsoft.com/downloads/details.aspx?familyid=06111A3A-A651-4745-88EF-3D48091A390B&displaylang=en
Did the files from my project work correctly? -
now works.
I indicated a different subject.
Excellent work.
thanks -
PControl(cl).Hint.Text :='AAA'
Compilazione ok, Esecuzione Ok.
but whatever value do to the string is not stored, without giving error.
Use the 'Hint' to store strings. I must not see the hints. I use them as tags.
any suggestions to workaround the problem?
thanks -
I solved using arrays of strings.
thanks -
Jon © (15.01.10 18:23) [33]
> Use the 'Hint' to store strings. I must not see the hints.
> I use them as tags.
You can use the CustomData property:
Set: PControl(c).CustomData := PKOLChar('String to store as tag');
Get: MsgOK(PKOLChar(PControl(c).CustomData));
Nice and easy. No need for additional arrays ;-) -
good!
thank you so much!
ciao.