Problem with 3rd party barcode scanning control on Windows CE 4.0 device
Posted on 2008-06-26
I've developed an application for a Datalogic handheld scanning device using VB on the .NET 1.1 compact framework.
The application works fine all except for 1 form where the user has to scan multiple barcodes.
After a whille the barcode reading laser will either not appear or the laser will appear and read the barcode but the "barcode read" event won't fire.
I have tried placing the Datalogic control on the form, creating the control each time on the fly, activating and deactivating the control after each scan, keeping the control active for each scan but nothing works.
Looking at the memory allocated, the control appears to be grabbing a large chunk of memory with each scan until scanning eventually freezes.
The only thing I can think of to do is to unload and reload the form with each scan but this will completely ruin the flow of the application.
Has anyone come across anything remotely like this as I am out of ideas?
I've contacted Datalogic a number of times but they haven't been any help so far. The control peforms fine in the test rig I've written, it just doesn't work in this part of the application.