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
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