Hi James, Sumita, Hu and all gurus, It is possible to simulate barcode scanning on POSE?
Regards, Herman -----Original Message----- From: James Barwick [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 03, 2002 7:00 PM To: Palm Developer Forum Subject: Re: Barcode Scanning Question: You have two forms, can I assume that you are changing the event handler when you go to each form? HU HUITING wrote: > > hello james, > > sorry...i'm not quite sure what you are talking. > i've tried to put an alert box..the box didn't pop up, that means it > went into the ScanCmdScanEnable(). > can you explain step by step. > > thank you. > > >> From: James Barwick <[EMAIL PROTECTED]> >> Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]> >> To: "Palm Developer Forum" <[EMAIL PROTECTED]> >> Subject: Re: Barcode Scanning >> Date: Thu, 03 Jan 2002 14:37:33 -0500 >> >> 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/ > > > > > > _________________________________________________________________ > Send and receive Hotmail on your mobile device: http://mobile.msn.com > > -- 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/
