One of our software partner is having problems in Multiple Form Scanning on EP10. I have had asked the developer to look into a project on IW ttp://community.psion.com/downloads/developer_sdkhdk/m/sample__demo_code/34536.aspx and implement the methods in the same way but it’s not working on his project.
The only difference in they have two different forms and each one have its own handler.
He is using VS2008 and the SDK V5.3
How this can be addressed?
Please send me their code (email).
What exactly is the error? Not getting any data to one or both callbacks?
Offhand, I don't believe you can instantiate more than one MDSDK scanner callback per instance (but, let me at least look at their code).
Are they using Jacques' ScannerHelper class?
I'm looking at the C# example from Jacques (personally not a fan of VB.NET )
Every time a form is deactivated, he relinquishes the callback within his helper class (which then deregisters with the MDSDK scanner system).
That tends to backup the assertion that you can only have only one scanner callback at any one time (so the onus is on the develper to manage and keep up with multiple forms and whatnot).
Could you please share the attached solution with your customer and let us know how it goes from his/her end?
MDSDK v5.4 - VS2008 - VB .NET Multiple Form Scanner [Demo] for WM 6.x (compressed)
This demo derives from the same IW project you made reference to / your customer uses and embeds two forms:
As depicted below, I had no difficulties reading barcodes while the Main Form or Secondary Form is up / active:
è Load 2nd è
è OK è
Thanks for you help and support for our partner. With your advice they have managed to resolve their issue.
You are Top man and Big asset to our Company.