Microsoft
Software
Hardware
Network
Question : Problem: ScanAPI is hanging on the MC1000, time sensitive API?
I'm trying to wrap up a simple little barcode application for a Symbol MC1000 scanner. I thought I had it working, but I've lost the magic in the cleanup sequence where I'm basically hanging the driver. If I step very slowly through the code, all is fine. Running at full speed, the application hangs in the SCAN_Disable call.
Code:
dwResult = SCAN_Flush(hScanner);
dwResult = SCAN_Disable(hScanner); <---- hangs here, no return.
SCAN_DeallocateBuffer(lpSc
anBuffer);
SCAN_Close(hScanner);
Part 1 of the question is, does anyone have any knowledge and experience with this API regarding any timing race conditions? For example, I would expect the device to be ready to _Disable if the flush completes.
Part 2 of the question: the scanning application itself can make use of a messages, events or a simple read/timeout approach. I elected to use the SCAN_ReadLabelWait approach where I look for a read and if I timeout I just read again. However, the code samples I have seen in the API make use of the event driven architecture. Any recommendations as to the more robust solution?
thanks
Answer : Problem: ScanAPI is hanging on the MC1000, time sensitive API?
To close this out, I appear to have a slightly braindead scanner unit. Customer reports no problems on his device.
Random Solutions
Problem: how do i get my itunes software to recognize disc recording for burning cd/dvd?
Problem: Ghost 100 of computers into a domain
Problem: Running telephone cable over Cat5e cable to the central wiring closet
Problem: Backup- \\jccdbserver2\[ROOT] Failed to read extended attributes and ACLs for /. Please review file system mount options to enable support for extended attributes and ACLs.
Problem: Unable to connect MacBook to Vista Laptop...despair fast approaching
Problem: Matching Memory with CPU
Problem: in depth difrence of 74hc, hct act ls .......
Problem: Cannot access CD-ROM (CDRW) and Floppy Drives in Windows 2000 after un/installing Nero Burner Software
Problem: In HP G85: How do I scan a text multipage docs into a readable, relatively small file?
Problem: Can't print to HP LaserJet 3390 but i can use the function to scan!! Help