I am using HsGetPhoneLibrary to get a reference to the phone lib. This works for me. The only challenge I had was that once the radio was on, if I tried to connect to the network via NetLibOpen, I would get an error saying that coverage was not available.
To get around this, I placed a call to PhnLibGPRSAttached in a while loop until it returned true. I have not had a problem with the Treo resetting on using PhnLibSetModulePower. Cheers, Joe --- Martin Bruner <[EMAIL PROTECTED]> wrote: > I have tried to use the function > "PhnLibSetModulePower" but it ends up resetting the > Treo if the radio power is off. I am pretty much of > a newbie on programming the Treo 600 so I am not > very familiar with its library calls. > > Are you using HsGetPhoneLibrary to get the refNum > for PhnLibSetModulePower? I have tried that > function and SysLibFind with the same result > (reset). > > Marty > -- > For information on using the Palm Developer Forums, > or to unsubscribe, please see > http://www.palmos.com/dev/support/forums/ > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
