I just ported my primary project from CW5 to release 6...some headaches
(I had about a million UInt variables to go through and figure out which
did what, not counting my VoidHands), but this one really took the cake.
I call a ScanCmdScanEnable (Symbol SPT SDK2.0 call to enable the scanner)
after a keypress, handled by my custom event handler called in the event
loop. Everything compiles great, but this one call gets a 16 bit
reference out of range error every time (It NEVER did in CW 5), and it
really shouldn't do this. I should be able to enable or disable the
scanner any time I want to. I'm figuring that this is more a Codewarrior
release 6 linker issue than a Symbol SDK issue, but I can't really figure
out which is actually causing the problem, or whether the Symbol SDK is
doing something that Palm or Metrowerks has deemed "forbidden".
Anyway, it's important that I be able to do this, as it is an energy-
saving mechanism (Those Symbol SE 900 scanners really gobble up the lithium
ion battery life, not to mention the AAA's used in my SPT 1500 version).
// Rus Daniel Nesse
// SPT App Dev
// Avnet Convergent Technologies
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/