Newbie: Using storage heap for temporary data ???

2001-05-03 Thread Rohit . Kanwar
From: Rohit Kanwar@VASHI on 04/05/2001 12:35 PM To: [EMAIL PROTECTED] cc: Subject: Newbie: Using storage heap for temporary data ??? Hi, Palm OS Companion, Chapter 2, page 31, bullet point #3, says: "... consider using the storage heap for working with large amounts of temporary

Newbie: Using storage heap for temporary data ???

2001-05-05 Thread Rohit . Kanwar
Hi, reposting this mail because it has been over 24 hours since I first sent it, and I have still not received a copy of it. -- Forwarded by Rohit Kanwar/LTITLVSH on 05/05/2001 01:05 PM --- Hi, Palm OS Companion, Chapter 2, page 31, bullet point

Newbie: Using Storage Heap for Temporay Data ???

2001-05-13 Thread Rohit Kanwar
Hi, Palm OS Companion, Chapter 2, page 31, bullet point #3, says: "... consider using the storage heap for working with large amounts of temporary data." Can somebody please give me an algorithm/ pseudo-code of how this is done? If you have some code snippet, that would be very useful. Thanks

RE: Newbie: Using storage heap for temporary data ???

2001-05-13 Thread Rohit . Kanwar
>> "... consider using the storage heap for working with large >> amounts of temporary >> data." >> >> Can somebody please give me an algorithm/ pseudo-code of how this is done? >> If you have some code snippet, that would be very useful. >> > "The storage heap" refers to non-volatile memory.

Re: Linker Error

2001-05-14 Thread Rohit . Kanwar
Hi, This will help: See the "GCC Development Tools Release note" on http://www.palmos.com/dev/tech/tools/gcc/releases.html "Applications with more than 32K of code supported via multiple code resources. " To solve this problem, see http://prc-tools.sourceforge.net/doc/prc-

RE: Linker Error

2001-05-15 Thread Rohit . Kanwar
Hi Manikumar, This method (at penright.com) only tells you how to extract *some* more space for your app's code. In general, this will not allow you to write apps of arbitrary size. GCC provides a mechanism to distribute the code of large applications into multiple code resources. You can refe

HelloWorld: Where to specify database name and type?

2001-05-15 Thread Rohit . Kanwar
Hi, I just wrote the mandatory Hello World app (my first), and compiled successfully. however, when I tried to install the app on the emulator, Pose returned this error: "Could not install the PalmOS file 'HelloWorld.prc' because the PalmOS error 0x021A (dmErrInvalidDatabaseName) occured.", an

Re: HelloWorld: Where to specify database name and type?

2001-05-15 Thread Rohit . Kanwar
r Forum" <[EMAIL PROTECTED]> cc:(bcc: Rohit Kanwar/LTITLVSH) Subject: Re: HelloWorld: Where to specify database name and type? Depends on the tools you're using. In Codewarrior (since that's what I use), set the prc file name, type and creator ID in the project preferences

Re: [Fwd: HelloWorld: Where to specify database name and type?]

2001-05-15 Thread Rohit . Kanwar
Rohit Wojtek <[EMAIL PROTECTED]> on 05/15/2001 07:15:29 PM Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> cc:(bcc: Rohit Kanwar/LTITLVSH) Subject: [Fwd: HelloWorld: Where to specify datab

Re: [Fwd: HelloWorld: Where to specify database name and type?]

2001-05-15 Thread Rohit . Kanwar
07:15:29 PM Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> cc:(bcc: Rohit Kanwar/LTITLVSH) Subject: [Fwd: HelloWorld: Where to specify database name and type?] Wojtek wrote: > [EMAIL PROTECT

Meaning of indirect bit in a bitmap

2001-06-15 Thread Rohit . Kanwar
Hi, For an application, I need to implement my own version of BmpGetBits, to be used if the system version is older than 3.5 (3.3 etc.). As you know, this function returns a pointer to the bimap's data even if the indirect bit is set. Could somebody please clarify this: What is the exact meani

How to provide prototype of a function not present in the current SDK?

2001-06-18 Thread Rohit . Kanwar
Hi, In my application, I want to be able to call WinScreenMode if the OS version is 3.5 or greater, and ScrDisplayMode if it is not. However, ScrDisplayMode is not defined in SDK 3.5. So, should I : (a) copy the appropriate header file (ScrDriver.h) from SDK 3.0 to one of the current include

Re: How to provide prototype of a function not present in the current SDK?

2001-06-19 Thread Rohit . Kanwar
to execute under OS 3.0 too. Is it possible in this case? Regards, - Rohit Aaron Ardiri <[EMAIL PROTECTED]> on 06/19/2001 01:21:26 PM Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> cc:(

Code region full - default one or some other?

2001-10-25 Thread Rohit . Kanwar
Hi, My application consists of several code segments. After some recent changes, I am getting the well-known "relocation truncated to fit ..." error. These error messages are for crt0.o (four times), libcrt.a (six times), and libgcc.a (one time). I thought that this meant the default code sectio

Re: How do I start?

2001-10-30 Thread Rohit . Kanwar
I would suggest that forget about your project right now. I guess you have a few months on your hands before the project is due. First, get familiar with the Palm OS environment. Start with a book on PalmOS programming, and accompany that with the standard documentation. "Palm Programming: The D

OK on Palm handheld, "Stack Overflow" on Sony Clie

2002-01-28 Thread Rohit . Kanwar
Hi, For one of my applications, I explicitly specify a stach size of 10KB, and it runs without any problems on all Palm devices, real or emulated. However, it causes a "Stack Overflow" error on Pose sessions with a Sony ROM (I don't have a real Sony device, or the devices/ROMs of other OEMs). Th