Hi,
I manage to disable the IR beaming by using the
irSetScanningMode. However, i will re-Enable the IR
beaming which was disabled but i couldn't do it in the
other way. The following is the snippet code for
re-enabling the IR:
UInt16 size = sizeof(irGetScanningMode );
error = ExgLibControl (refNumP, irGetScanningMode,
&ivalue,&size);
if (ivalue)
{
Int16 value =0;
size = sizeof(irSetScanningMode );
error = ExgLibControl(refNumP, irSetScanningMode ,
&value, &size);
}
It detected the IR=off but no error return after set
the IR beaming to false. Eventually the IR never set
to false in the Pref.
Pls help in this regard. Your comments/helps are
greatly appreciated.
__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/