Simulator throws Invalid read from 0000000C error

2005-03-01 Thread Sohil Shah
My Palm OS 5 Simulator throws an Invalid read from 00C error. The error occurs during the hostInfo = NetLibGetHostByName(netLib, host,hostInfoBuffer,timeout,&netLibErr); method call. The code works 2 or 3 times just fine. BUt then this error pops up. It works again a couple of times after

Re: Simulator throws Invalid read from 0000000C error

2005-03-02 Thread Sohil Shah
The "host" local variable (char*) type was getting cleaned up (MemPtrFree) by the calling method, before this function was invoked. Thanks for the help -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: Re(2): RAD tools

2005-03-08 Thread Sohil Shah
sure cc me on this reply. thanks sohil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of George Henne Sent: Tuesday, March 08, 2005 9:12 AM To: Palm Developer Forum Subject: Re(2): RAD tools I'll reply offline to this. If anyone wants a cc, please let me kno

RE: How to Programmatically Switch to another Application (and then back)

2005-03-09 Thread Sohil Shah
You should be able to call other functions in your program as long as the called functions are located in the original code segment in the case of a multi-segmented application. In Codewarrior there is a way to call functions in other segments as well. As far as variables are concerned, global

Please Help!!: Best way to find out if the device is in sleep mode

2005-03-16 Thread Sohil Shah
What is the best way to find out if the device is in sleep mode. I have a procedure alarm that needs to execute its code only if the device is in sleep mode. If the device is in use by the user, the function must simply exit. Is there any API call to find out what mode the device is currently i

RE: Please Help!!: Best way to find out if the device is in sleep mode

2005-03-16 Thread Sohil Shah
and sleep notifies are documented in the PalmOS Companion PDF that comes with the SDK's. Hope that Helps, Aaron >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of Sohil Shah >Sent: Wednesday, March 16, 2005 3:27 PM >To: Palm Developer Forum

Bitmap Help!!!

2005-03-18 Thread Sohil Shah
Is there a different way of creating bitmaps for the Palm device. Are there special tools or tools like Paint and Photoshop can be used? If regular desktop tools can be used is there a way to specify the Palm based bitmap properties in those? I am referring to the bitmap properties that are spe

RE: Treo 600 auto turn on wireless mode

2005-02-13 Thread Sohil Shah
Did you happen to find out what API call will do the trick to detect and establish network coverage for a CDMA device The equivalent of PhnLibGPRSAttached(phoneLibRef)? Also, On the latest Treo 600 Simulator for GSM, the call PhnLibModulePowered(phoneLibRef) tends to freeze the simulator. It wo

turning wireless mode on/off on Treo 600

2005-02-14 Thread Sohil Shah
I am trying to access the Internet periodically using the Treo 600. My application sets up a procedure alarm that fires at the specified period (15 minutes), both when the PDA is active and when its in sleep mode I have run into some issues while trying to doing this using the Treo 600 API 1) I