> Is there someone here who can drop me a rope and provide an example of
> this preference change?
>From PowerNet sources.
===
static void SetBeamRecv(Boolean set){
Boolean b;
UInt16 lib;
Err err = SysLibFind(irLibName, &lib);
if (err != errNone){
return;
}
b = set;
err = ExgLibControl(lib, irSetScanningMode, &b, NULL);
}
////////////////////////////////////////////////////////////////////////////
////
static Boolean GetBeamRecv(void){
//UInt16 len = sizeof(Boolean);
Boolean b;
UInt16 lib;
Err err = SysLibFind(irLibName, &lib);
if (err != errNone){
return false;
}
err = ExgLibControl(lib, irGetScanningMode, &b, NULL);
return b;
}
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/