Welll...obvious first....did you initialize the scanner (yes if your 
using a laser scanner and you see the laser beam).

Did you check your parens in your switch statements?  Sometimes those 
buggers get me.

On App Start:
    if (ScanIsPalmSymbolUnit())
    {
        error = (Err) ScanOpenDecoder();    // open the scan manager library
        if (!error)
        {
            bOpenDecoderOK = true; // set global variable that all is well
            ScanCmdScanEnable();    // Enable scanning
        }
        else
            FrmAlert( alrtScannerProblem );
    }

Put some debug code in at the top of your switch and emulate a 
ScanEvent.  Then step through your code.

Best of luck!


HU HUITING wrote:

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

Reply via email to