Allocating more than 64K off the dynamic heap...

2000-08-21 Thread Jason Davidson
All right I know that I can't allocate more than 64K off the dynamic heap in one chunk. So is there anyway to get around this obstacle? And please I know I can wipe the O.S. and so and so.:) Jason D -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Uncompressing Bitmaps...

2000-08-14 Thread Jason Davidson
or smaller, but it returns this error for any bitmap larger than the screen. If anyone has any ideas it would be much appreciated I am following all the rules such as the Bitmap being on the dynamic heap. Jason Davidson -- For information on using the Palm Developer Forums, or to unsubscribe

RE: bits

2000-08-14 Thread Jason Davidson
UInt 8 Bits = 129; //Hex 0x81 If(Bits 128) //Hex 0x80 { "This means that the Bit is set" return true; } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Zach Austin Sent: Monday, August 14, 2000 1:24 PM To: Palm Developer Forum Subject:

Beaming instead of HotSyncing

2000-08-09 Thread Jason Davidson
Does anyone know of a nice neat way of detecting on startup whether an application was installed via Beaming instead of Hot Syncing? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

BitmapSize() Bug....

2000-08-08 Thread Jason Davidson
Unless I am really losing it, Does anyone know if there are any known bug with BitmapSize() that causes it to return an incorrect value if the Bitmap is compressed. The documentation says nothing about only working on uncompressed images but I have found this to be the case. Jason D -- For

BmpCompress Function

2000-08-03 Thread Jason Davidson
Has anyone had a problem using BmpCompress to Uncompress 256 color Bitmaps? It seems that the function looks for a Blank row before the start of the Data and if this Blank line is not there it throws the entire image off by one line. Jason D. -- For information on using the Palm Developer

RE: Is it safe to do GotoFrm (current_form) ???

2000-07-28 Thread Jason Davidson
I am trying to do draw a simple 2 bit Gray Scale Bitmap on a palm III. I created a Bitmap with three bit depths in constructor 1.5 b7 I set my app in 2 bit mode (using WinScreenMode()) When I call WinDrawBitmap on the Bitmap it is not displaying anything; however, if I remove that middle bit

RE: Is it safe to do GotoFrm (current_form) ???

2000-07-28 Thread Jason Davidson
Yes you can make sure you call FrmCloseAllForms() first. Jason D -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Richard Anderson Sent: Friday, July 28, 2000 9:22 AM To: Palm Developer Forum Subject: Is it safe to do GotoFrm (current_form) ??? hi Is

2-bit Gray Scale

2000-07-28 Thread Jason Davidson
Opps wrong subject sorry... I am trying to do draw a simple 2 bit Gray Scale Bitmap on a palm III. I created a Bitmap with three bit depths in constructor 1.5 b7 I set my app in 2 bit mode (using WinScreenMode()) When I call WinDrawBitmap on the Bitmap it is not displaying anything;

RE: Is it safe to do GotoFrm (current_form) ???

2000-07-28 Thread Jason Davidson
GotoFrm (current_form) ??? Why do I have to call FrmCloseAllForms?? wont my form get a close message first then close and reopen, or is that unsafe ? -Original Message- From: Jason Davidson [SMTP:[EMAIL PROTECTED]] Sent: 28 July 2000 15:19 To: Palm Developer Forum Subject: RE

RE: color fonts

2000-07-26 Thread Jason Davidson
You need to definitely detect which device/OS is being used before making this call. I just use this #define sysVersion35sysMakeROMVersion(3,5,0,sysROMStageRelease,0) UInt8 SystemGetColor() { UInt32 depth,romVersion; FtrGet(sysFtrCreator, sysFtrNumROMVersion,

RE: beaming application within application

2000-07-26 Thread Jason Davidson
That is because the example that was given had an error with it. We are able to do this successfully here is a snip of our code. *** * * FUNCTION:SendMe * * DESCRIPTION: Sends this application * * PARAMETERS:

RE: Freeing handles, a good practice?

2000-07-25 Thread Jason Davidson
Handles are not created by the OS all Willy Nilly when you call DmGetRecord() it returns a handle to the record, but to use it as a pointer, you still have to Lock / Unlock it yourself. You are not allocating memory for the chunk you are using. Jason D -Original Message- From:

RE: Algorithm or format of the compressed bitmap

2000-07-23 Thread Jason Davidson
RLE is supported under 3.5 ( along with scan line) this is the compression technique that is implemented. Note: there is no absolute mode in their RLE compression so be careful. Your bitmaps may get bigger using compression. Prior to 3.5 I believe the only method of compression was scan

RE: WinScreenMode(winScreenModeSet ... crashes in debug ROM

2000-07-21 Thread Jason Davidson
It is probably the problem of calling this function before the screen is drawn. Try drawing the screen before setting the mode. Jason D. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of David Tribble Sent: Thursday, July 20, 2000 11:05 PM To: Palm

RE: Simple question about field

2000-07-14 Thread Jason Davidson
WinDrawRectangle using the fields coordinates would work well for you it's a lot easier. FrmGetObjectBounds to get the Bounds of the field Jason D -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Patrick Ouellet Sent: Friday, July 14, 2000 9:52 AM To:

3.5 Debug ROM

2000-07-13 Thread Jason Davidson
Every time I start my App with the latest 3.5 Debug Rom using POSE 3.0a6, I get a Bus Error in my application. I have been able to isolate it to a call I make to WinSetClip. The only parameter that this functions takes is a pointer to a Rectangle type. Now here is the weird part I get this

RE: 3.5 Debug ROM

2000-07-13 Thread Jason Davidson
, and it tells me to use the "hd 0" command to find chunks owned by my application. Does anyone know what this means and how I can find these chunks. Thanks, Jason D -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jason Davidson Sent: Thursday, July 1

RE: New color API

2000-06-29 Thread Jason Davidson
family (used for color bitmap), u can set the property of any of the bitmaps to be compressed as rle or scan lines. hope it's a good start 4 u. avi. Jason Davidson [EMAIL PROTECTED] wrote in message news:15747@palm-dev-forum... In the (preliminary) Color API documentation they talked of support

RE: New color API

2000-06-29 Thread Jason Davidson
family (used for color bitmap), u can set the property of any of the bitmaps to be compressed as rle or scan lines. hope it's a good start 4 u. avi. Jason Davidson [EMAIL PROTECTED] wrote in message news:15747@palm-dev-forum... In the (preliminary) Color API documentation they talked of support

New color API

2000-06-28 Thread Jason Davidson
In the (preliminary) Color API documentation they talked of support for the RLE format. Does anyone know if this actually got implemented and if it did were I can find more information on it. In particular I am trying to figure out what type of RLE compression it supports and the format it

program icons

2000-06-22 Thread Jason Davidson
Is there anyway to change a programs application icon during runtime? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: How can I change the menu item dynamically in the same form?

2000-06-16 Thread Jason Davidson
In 3.5 but not previously. What you are probably going to have to do is have two menus and show the menu you want at a given point in time and change to a different menu when you want to delete or add an item. Jason D. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

216 color web palette

2000-06-14 Thread Jason Davidson
I understand that Palms default color palette is a 216-color web palette. What I am trying to figure out is what this palette is. If anyone know the answer or can direct me were I can find it, it would be very much appreciated. Jason D. -- For information on using the Palm Developer Forums,

Switching to Large Code modal

2000-06-14 Thread Jason Davidson
Ever since I have switched to the large code modal pose crashes after I stop debugging and during some O.S. operations. The only thing code wise I have done is switch out the standard library with the runtime (2i) library. I was wondering if there is a bug in this library or did I do something

Help with StrATOI

2000-06-08 Thread Jason Davidson
In C there is a call atoi (ASCII to Integer) and you pass it string, integer, and a radix if I pass the radix as 16 then it treats the string as a hex and returns the hexadecimal representation of the string as an integer In Palm we have StrAToI however you can't pass it a radix so how in the

RE: Help with StrATOI

2000-06-08 Thread Jason Davidson
I confused my question I am trying to convert from a Hexadecimal to a decimal. Going the other way is even easier than that because all you have to do it use sprintf(string,"%X",interger) then convert the string from a ASCII to an integer. -Original Message- From: [EMAIL PROTECTED]

RE: multibit small icons in Constructor

2000-06-05 Thread Jason Davidson
You need to get Constructor 1.5b6 for this to work -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jason Freund Sent: Friday, June 02, 2000 4:32 PM To: Palm Developer Forum Subject: multibit small icons in Constructor Hi, I have constructor 1.5b5 for

RE: Screen Bit Depth

2000-06-02 Thread Jason Davidson
Try the WinScreenMode API. J.D. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bradly J. Barton Sent: Friday, June 02, 2000 12:42 AM To: Palm Developer Forum Subject: Screen Bit Depth I am looking for various system metrics type

RE: Basic Question

2000-06-01 Thread Jason Davidson
The only think I can think off right off hand is you might need to type cast tempRec to a char* In other words record *tempRec; tempRec

RE: MyApp has just read directly from an unallocated chunk of memory

2000-05-31 Thread Jason Davidson
I know that this is probably not the case but make sure that the Form that you are trying to show actually exist. Ant the name of the Form you are using is correct because AboutFormID does not look correct. It should be something like FormAboutFrm. -Original Message- From: [EMAIL

RE: Query about the List Control

2000-05-29 Thread Jason Davidson
Are You using a call back for your list or are you letting the list handle the drawing of the items in the list? Jason -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Neelesh Chitari Sent: Monday, May 29, 2000 8:28 AM To: Palm Developer Forum Subject: