I found the sequence in which you make those setup calls was critical. This
worked for me.
if (ScanIsPalmSymbolUnit){
if((error = ScanOpenDecoder()) == STATUS_OK){
ScanCmdScanEnable();
ScanSetTriggeringModes(HOST);
ScanSetBarcodeEnabled( barUPCA, true);
ScanSetBarcodeEnabled( barUPCE, true);
ScanSetBarcodeEnabled( barUPCE1, true);
ScanSetBarcodeEnabled( barEAN13, true);
ScanSetBarcodeEnabled( barEAN8, true);
ScanSetBarcodeEnabled( barBOOKLAND_EAN, true);
ScanSetBarcodeEnabled( barCODE39, true);
ScanSetBarcodeEnabled( barTRIOPTIC39, true);
ScanCmdSendParams(No_Beep);
ScanSetLaserOnTime((Word) 20);
} else {
FrmAlert(NoOpenScanAlert);
}
} else {
FrmAlert(NoScannerAlert);
}
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of HU
HUITING
Sent: Thursday, January 03, 2002 12:57 AM
To: Palm Developer Forum
Subject: Barcode Scanning
hello,
i've encountered some problems when i'm doing my Barcode Scanning
application using Palm OS 3.5.
It doesn't seems to go into the event "case scanDecodeEvent:".
Does anyone know why?
thanks in advance.
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/