Re: [Lazarus] One last ask for help

2013-03-21 Thread Michael Schnell

On 03/21/2013 09:51 AM, Sven Barth wrote:
You must not forget that much investment was done there and if you'd 
switch to another platform you'd have another big investment again.
Yep. But do many of them think about implementing completely new 
Software (that could be done in fpc/Lazarus, while obviously the current 
is done otherwise) on such legacy machines (or development crews) ?


I've talked with Casio employees last week and they told me that 
Windows CE will stay for the forseeable future just because of this.

Funny...

-Michael
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] One last ask for help

2013-03-21 Thread Sven Barth

Am 21.03.2013 09:40, schrieb Michael Schnell:

On 03/21/2013 03:46 AM, "Arí Ricardo Ody" wrote:
 WinCE ... a customer interested 

Isn't this a contradiction, nowadays ?
I feel that WinCE is rapidly declining.
In the consumer market you are right, but not for industrial/business 
devices. You must not forget that much investment was done there and if 
you'd switch to another platform you'd have another big investment 
again. I've talked with Casio employees last week and they told me that 
Windows CE will stay for the forseeable future just because of this.


Regards,
Sven
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] One last ask for help

2013-03-21 Thread Sven Barth

Am 21.03.2013 08:58, schrieb Tommi Prami:

Hello,

I can't help you with task at hand, but my impression of the 
WinCE/WindowsMobile PDA:s are that one should avoid them at all cost.


My ex Coworker has been battling with them a lot and he uses C# 
(Micro$oft tools!) and he has had huge problems. (I asked him which is 
the best WinMob-based PDA and he replied "they all are crappy", and 
asked him why he thinks that, he told that there are always some flaky 
stuff. that program works for one device and not other and so...)


I have been writing pretty simple app with Lazarus to Windows Mobile 
PDA and it has been struggle. From the beginning.


Had to to weird Hacks to get around weird problems. Some might be 
Lazarus/FPC related but never know...


Now there has been Rugged Android devices coming up. Have not seen 
good one with bar-code reader yet, but hope we have Lazarus-solution 
for Android soon, to get that kind of business the tools they need. 
Windows mobile based ones are just awful. the OS it self it is so ugly 
and difficult to work with that it is the reason it self.


If some one have more knowledge on Android Rugged PDAs and/or ability 
on using Lazarus on Android, hope to hear all about it (Saw something 
on Lazarus and Android development some time ago, but not lately, so I 
don't know the status of it...)


Last week I had the chance to speak to Casio workers on a mobile 
conference in Munich. Casio is also producing rugged industrial devices 
and they are now only beginning to provide Android based phones. They 
told me that they'll be doing a two track approach for the foreseeable 
time. Other companies like Motorola Solutions (aka Symbol) don't seem to 
want to switch to Android at all.


And also it's not always possible to dictate your customers what devices 
they should choose.


Regards,
Sven

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] One last ask for help

2013-03-21 Thread Michael Schnell

On 03/21/2013 03:46 AM, "Arí Ricardo Ody" wrote:
 WinCE ... a customer interested 

Isn't this a contradiction, nowadays ?
I feel that WinCE is rapidly declining.


If the .net application ...


While I was intrigued when the .NET virtual machine (in fact the correct 
therm here is CIL rather then .NET) came up  I feel that CIL now has 
been nearly killed by Java, even though nowadays there is decent Linux 
and Mac support for CIL and I still think that technically CIL is more 
advantageous.


-Michael
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] One last ask for help

2013-03-21 Thread Tommi Prami

On 21.3.2013 4:46, "Arí Ricardo Ody" wrote:

I wrote an application for WinCE in Lazarus 0.9.30/FPC 2.4.2 some time
ago. Finally appear a customer interested in the system. It was tested
in an iPaq equipment during the development stage. Late I tested it with
a Motorola ES400 handheld when I can test the functions using a barcode
scanner. Everything were alright. I have the idea that my software were
ready to sale even if the customer wants to use barcode scanner as data
entry for some fields in my forms.

Based on this I offer the software for the mentioned customer and tell
him that it always have to rent(or buy) a handheld with windows mobile 6
or greater.

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.

This afternoon the customer give me an ultimatum. If the software
doesn't run with a correct codebar reading they will change to another
program.

In all cases, if I install a .net(wrote in C#) in the handhelp, the
barcode is readed and is readed correct.

Well people. I know that you have no duty to help me. But once more I
ask for help with this problem. I believe in the same dream you believe:
Write once, compile everywhere. But I still believe that the code
generated will run as expected.

No one in the Lazarus community can help me? Why I wrote in the mailing
list, english forum and portuguese forum and nobody answer?

If the ,net application and even the windows mobile application "note"
read the barcode correct, is them wrong or is there something wrong with
the way Lazarus and FPC talk with the WinCE(windows mobile 6 or later)
I/O routines? Will WinCe change?

Here are now 11:33 PM. I have 'till 12 AM tomorrow to tell something to
the customer.

Look here the potential customer I'll lost:
http://www.votorantim.com.br/en-US/Pages/home.aspx

Think about the visibilty Lazarus, would acquire.

Greetings from Sao Paulo - Brazil

Ricardo

P.S.; No offense at all, please



Hello,

I can't help you with task at hand, but my impression of the 
WinCE/WindowsMobile PDA:s are that one should avoid them at all cost.


My ex Coworker has been battling with them a lot and he uses C# 
(Micro$oft tools!) and he has had huge problems. (I asked him which is 
the best WinMob-based PDA and he replied "they all are crappy", and 
asked him why he thinks that, he told that there are always some flaky 
stuff. that program works for one device and not other and so...)


I have been writing pretty simple app with Lazarus to Windows Mobile PDA 
and it has been struggle. From the beginning.


Had to to weird Hacks to get around weird problems. Some might be 
Lazarus/FPC related but never know...


Now there has been Rugged Android devices coming up. Have not seen good 
one with bar-code reader yet, but hope we have Lazarus-solution for 
Android soon, to get that kind of business the tools they need. Windows 
mobile based ones are just awful. the OS it self it is so ugly and 
difficult to work with that it is the reason it self.


If some one have more knowledge on Android Rugged PDAs and/or ability on 
using Lazarus on Android, hope to hear all about it (Saw something on 
Lazarus and Android development some time ago, but not lately, so I 
don't know the status of it...)


-Tee-

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] One last ask for help

2013-03-20 Thread Sven Barth
Am 21.03.2013 03:46 schrieb Arí Ricardo Ody :
> 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
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] One last ask for help

2013-03-20 Thread Arí Ricardo Ody
I wrote an application for WinCE in Lazarus 0.9.30/FPC 2.4.2 some time ago. 
Finally appear a customer interested in the system. It was tested in an iPaq 
equipment during the development stage. Late I tested it with a Motorola ES400 
handheld when I can test the functions using a barcode scanner. Everything were 
alright. I have the idea that my software were ready to sale even if the 
customer wants to use barcode scanner as data entry for some fields in my forms.

Based on this I offer the software for the mentioned customer and tell him that 
it always have to rent(or buy) a handheld with windows mobile 6 or greater.

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.

This afternoon the customer give me an ultimatum. If the software doesn't run 
with a correct codebar reading they will change to another program.

In all cases, if I install a .net(wrote in C#) in the handhelp, the barcode is 
readed and is readed correct.

Well people. I know that you have no duty to help me. But once more I ask for 
help with this problem. I believe in the same dream you believe: Write once, 
compile everywhere. But I still believe that the code generated will run as 
expected.

No one in the Lazarus community can help me? Why I wrote in the mailing list, 
english forum and portuguese forum and nobody answer?

If the ,net application and even the windows mobile application "note" read the 
barcode correct, is them wrong or is there something wrong with the way Lazarus 
and FPC talk with the WinCE(windows mobile 6 or later) I/O routines? Will WinCe 
change?

Here are now 11:33 PM. I have 'till 12 AM tomorrow to tell something to the 
customer. 

Look here the potential customer I'll lost: 
http://www.votorantim.com.br/en-US/Pages/home.aspx

Think about the visibilty Lazarus, would acquire.

Greetings from Sao Paulo - Brazil

Ricardo

P.S.; No offense at all, please
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus