[Lazarus] One last ask for help

Sven Barth pascaldragon at googlemail.com
Thu Mar 21 07:58:56 CET 2013


Am 21.03.2013 03:46 schrieb ArĂ­ Ricardo Ody <aro52 at gmx.com>:
> He gave me, last friday, an handhelp Intermec with windows mobile 6.1.
The model was Intermec CK3a1. I installed my software in the equipment and
it ran ok as expected, since it have a arm processor and windows mobile 6
or later. Next step was test the program reading barcodes via CK3a1 barcode
reader. Then I go to hell. The CK3a1 read the barcode as indicated by the
sound an the pilot light but nothing appears in the correspondent Lazarus
edit box. I spent all weekend trying to learn what was wrong. Monday, very
ashamed I told to the customer that the program was not running Ok with
Intermec CK3a1. In the monday I tested with another Intermec, the CN50
model and the same error occurred. I tried with an old HP handheld and an
external barcode reader attached in the slot of the HP and everything was
right. The barcode read was successful.
>
> The customer call the firm that rented the equipment and it offers to
substitute by a Cipher  CP30. After a long time of tests I discover that if
I open the "barcode" software(it comes with CP30) and use the barcode
reader with my program, the barcode was read, but the first character of
the barcode is left. The rental firm people try lots of combinations of
configurations in the Cipher CP30. And the problem persists.

Wild guess: maybe the Intermec scanner is using a Windows message that is
not handled by the LCL.

What you could do to check this is to use your own Window Proc and write
out all messages directed to the edit control. An example is written here:
http://wiki.freepascal.org/Win32/64_Interface#Example
It works for WinCE also, because I'm using this to handle some custom
messages as well (I don't remember which though, but they are not related
to LCL controls).
If my assumption us correct then you you'll need to use this Window Proc to
set the edut's text manually.

If my assumption is incorrect, then I'm afraid that I can't help you :(

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130321/5898658b/attachment-0003.html>


More information about the Lazarus mailing list