Losing Scanner Events

M

matt_dalrymple

I have written an application in C#.NET using VS.NET 2003 that runs on
a Symbol MK1100 (barcode scanner console) Windows CE 41. For the
database, I am using a small MS SQL CE.

The scanner is managed by a wedge, as barcodes are scanned, the wedge
throws a notification, which is then caught by my application. I then
stop the scanner, show a form, insert the barcode scanned into the MS
SQL CE database, and then hide the form and start the scanner again
pending for the next read.

All works as expected for the first 255 scans, but on the 256 scan, the
event handler that catches the notifications from the scanner wedge
stops catching the notifications.

I have verified that I can insert more than 255/6 records into a
database using the same open connection, so that isn't it. I tried
disposing and re-creating the form after being displayed 250 times, but
at the 255/6 mark, the issue still occurs. The application isn't
crashing when this happens as I am able to perform other operations.
The wedge is also operational as I can open up WordPad on the device to
catch additional barcodes.
Is there some sort of event stack that I am unaware of in WinCE 4.1?
And if so, why isn't it being cleared out?

Any help or suggestions would be appreciated.
Thanks,
Matt
 
D

Dick Grier

Contact Symbol. Their online response is pretty good -- and they are more
likely to have an answer than most of use (I've used a number of Symbol
PPCs, but not the one that you are using).

If I were to guess, I'd guess that there is a bug in the SMDK.

--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.
 
G

Guest

Thanks for the advice, I have been in touch with symbol, but with no luck as
of yet.

Thanks,
Matt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top