Hi Steve,

Thanks for the suggestion. Actually, I believe that the #define's you
mention are the port selection argument to the "New Serial Manager" SrmOpen
call... I know because I've used that for OS3.3 and above. Works great!
Unfortunately I'm having to work with 3.2...

The prefDefSerialPlugIn looks promising though, as it may give me the
creator ID which I could use to get its App Preferences, if it doesn't use
the System Preferences.

Thanks,

  -- Lou

in article 3567@palm-dev-forum, McMicken, Steven at [EMAIL PROTECTED] wrote
on 2/29/00 3:30 PM:

> 
> The serial port definitions are in SerialMgr.h as
> #define serPortCradlePort        0x8000        // Use the RS-232
> cradle port.
> #define serPortIrPort            0x8001        // Use available IR
> port.
> 
> Use PrefSetPreference to change the preference.  Preferences are listed in
> Preferences.h.  I'm guessing that it's prefDefSerialPlugIn.  Hope this
> helps.
> 
> Regards,
> 
> Steve
> 
> -----Original Message-----
> From: Lou Krieg [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 29, 2000 3:09 PM
> To: Palm Developer Forum
> Subject: Enhanced IR Update...Where to set preference programmatically
> 
> 
> Greetings!
> 
> The Enhanced IR Update includes "SerIrPanel.prc" which apparently adds the
> Prefs panel with the preference for Serial via Cradle or Infrared.
> 
> Does anyone know where that preference is stored (I need to set it from my
> app before opening the serial port).
> 
> Many thanks in advance!
> 
> -- Lou



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to