Re: About writing data

2005-10-31 Thread Logan Shaw
WangRain wrote: Actually, i have ever done that like you said,but the error sill has occured,the error is "datamgr.c, Line:7394, DmWrite: DmWriteCheck failed"; Your DmNewRecord() call is still using sizeof (testType) as the size. You need to use a size that will be big enough for everything tha

Re: About writing data

2005-10-31 Thread WangRain
Thank you for your reply; Actually, i have ever done that like you said,but the error sill has occured,the error is "datamgr.c, Line:7394, DmWrite: DmWriteCheck failed"; Thanks in advance. the codes: static Err AddNewRecord(DmOpenRef dbP) { Err err = errNone; UInt16 u16In

Re: Does anyone have any feedback on using PORT (Palm OS Registration Tools) ?

2005-10-31 Thread palmosdev
I fixed the error but now __attribute__((packed)) produces warning that state "Warning : illegal or unsupported __attribute__ Compiling with nothing, pragma or __attribute__ results in a structure of exactly the same size namely 40 for HashingBlock and 8 for KeyBlock. I may try to remove the

Re: Does anyone have any feedback on using PORT (Palm OS Registration Tools) ?

2005-10-31 Thread palmosdev
Which version of CodeWarrior are you using ? I am using the latest 9.3 version and it doesn't like the __attribute__ ((packed)) version of packed. I get Error:illegan token errors for every occurance of __attribute((packed)). The Pragma packed is accepted by the compiler however the sizeof for

Re: Any way to get a handle to running application ?

2005-10-31 Thread Ben Combee
At 05:00 PM 10/31/2005, you wrote: I´m not trying to copy a database to a card. What I´m trying to do is rather acces the .prc of the application that is currently executing, and do a crc. But to do that, I need to access the .prc file and be able to read every single byte of the file. I w

Re: Any way to get a handle to running application ?

2005-10-31 Thread ecv
I´m not trying to copy a database to a card. What I´m trying to do is rather acces the .prc of the application that is currently executing, and do a crc. But to do that, I need to access the .prc file and be able to read every single byte of the file. I was able to get the name of the current r

Re: emulator with sdcard

2005-10-31 Thread cbruner
Thanks for the reply. I've downloaded and installed the HostFS emulator, from https://www.developerpavilion.com/palmos/page.asp?page_id=365&tool_id=7 however when I set the hostfs settings, it says that I need to install the hostfs emulator. The emulator I'm using is 3.5 from the same web page

Re: Error Logger

2005-10-31 Thread Del Ventruella
Thank you for responding. - Original Message - From: "Logan Shaw" <[EMAIL PROTECTED]> To: "Palm Developer Forum" Sent: Monday, October 31, 2005 1:32 PM Subject: Re: Error Logger > Del Ventruella wrote: > > I am trying to identify the cause of two memory leaks said to occur by > > the em

PODS Resource Editor Constructor-like?

2005-10-31 Thread Luc Le Blanc
Is the Resource Editor in PODS 1.2 finally able to generate Constructor-like header files? I wanted to check for myself, but the whole of PODS ia a 270Mb download. Too big for my slow home connection, too big for my USB key to transfer from the office machine, and as it comes as an EXE (which I

Re: Deluxe Texas Hold'em - Treo650

2005-10-31 Thread Erico Franco
[EMAIL PROTECTED] wrote: Hello, We just released our latest Palm game "Deluxe Texas Hold'em" (www.bapsoft.com). This game works perfectly on all PalmSims including the release/debug versions for the Treo650. However, if you try our game on an actual Treo650 device, when you press the "Fold" bu

Re: emulator with sdcard

2005-10-31 Thread Aaron Ardiri
> Is there any way to use the sdcard under the emulator when debugging? check out HostFS, it is normally bundled with the emulator - or, at least the latest SDK. it'll allow you to mount a directory under the emulator. you can then, mount the real SD card and viola. of course; forget about gettin

Re: Deluxe Texas Hold'em - Treo650

2005-10-31 Thread Jay Ts
Bobby wrote: > We just released our latest Palm game "Deluxe Texas Hold'em" > (www.bapsoft.com). This game works perfectly on all PalmSims including > the release/debug versions for the Treo650. However, if you try our game > on an actual Treo650 device, when you press the "Fold" button during th

Deluxe Texas Hold'em - Treo650

2005-10-31 Thread bobby
Hello, We just released our latest Palm game "Deluxe Texas Hold'em" (www.bapsoft.com). This game works perfectly on all PalmSims including the release/debug versions for the Treo650. However, if you try our game on an actual Treo650 device, when you press the "Fold" button during the game, it ca

RE: Large (Multisegment) application and non-global launch codes

2005-10-31 Thread Marc Weinberger
sweet, thanks. -m -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ben Combee Sent: Monday, October 31, 2005 11:20 AM To: Palm Developer Forum Subject: RE: Large (Multisegment) application and non-global launch codes At 12:59 PM 10/31/2005, you wrote: >Hi Be

RE: Large (Multisegment) application and non-global launch codes

2005-10-31 Thread Ben Combee
At 12:59 PM 10/31/2005, you wrote: Hi Ben - Thanks for the quick reply. However, I still don't see this function in the 9.3 runtime sources, including PalmOS_Startup.cpp - I even reinstalled CW this morning to be sure I wasn't missing something. It could be me, but none of my colleagues can f

RE: Large (Multisegment) application and non-global launch codes

2005-10-31 Thread Marc Weinberger
Hi Ben - Thanks for the quick reply. However, I still don't see this function in the 9.3 runtime sources, including PalmOS_Startup.cpp - I even reinstalled CW this morning to be sure I wasn't missing something. It could be me, but none of my colleagues can find it either. So... Is there some a

Re: Error Logger

2005-10-31 Thread Logan Shaw
Del Ventruella wrote: I am trying to identify the cause of two memory leaks said to occur by the emulator when I abruptly transfer from a running database application to the main screen of the Palm Device (showing all application icons). I have checked boxes on the preferences dialog associated w

emulator with sdcard

2005-10-31 Thread cbruner
Is there any way to use the sdcard under the emulator when debugging? Chris Bruner Compulife Software Inc. == -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: Where can I find source for Palm SDK

2005-10-31 Thread Ben Combee
Actually I am looking for the open source code for all of Palm Source (Palm Source made this announcement some time back). I wanted to take a look at the Sound Stream implementation by Palm Source. PalmSource only released code for Palm OS 3.0, 3.5, and 4.0, none of which had the modern Sound

Error Logger

2005-10-31 Thread Del Ventruella
I am trying to identify the cause of two memory leaks said to occur by the emulator when I abruptly transfer from a running database application to the main screen of the Palm Device (showing all application icons). I have checked boxes on the preferences dialog associated with the emulator to

Telephony API

2005-10-31 Thread palmdevforum
I'm looking to get network information out of the treo (650)...Things like the current channel, timeslot, BSID, Tx power, and any other low level infomation. I've looked through the Telephony API docs but the only thing I saw that was accessable was the signal strength. (represented as an arbit

Re: Does anyone have any feedback on using PORT (Palm OS Registration Tools) ?

2005-10-31 Thread Erico Franco
[EMAIL PROTECTED] wrote: Thanks for the tips. I see his code uses __attribute__((packed)) for some of the data structures. Did you replace this with #pragma options align=packed before the packed structure defines and #pragma options align=native after the packed structures ? I remember th

Fonts in PODS - ANYONE? Please Assist

2005-10-31 Thread Troy Lokitz
Does anyone know how to use a custom font in Palm OS Developer Suite? Is Codewarrior the only tool you can use? Thanks, Troy -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Newbie's question

2005-10-31 Thread Jay Ts
Tony wrote: > I tried to write a simple application program. When I build it, > I got the following error. Please give some advice. > Warning: File: C:\Program Files\PalmSource\Palm OS Developer > Suite\workspace\hui2\rsc\AppResources.xrd > Warning compiling resource FORM_RESOURCE ID = 1005 LOC

Newbie's question

2005-10-31 Thread tonyliuhoo
Hello, all, I am new to use Palm OS develop suit, and also new to Palm programming. I tried to write a simple application program. When I build it, I got the following error. Please give some advice. Thanks advance. Tony m68k-palmos-gcc -c -D__PALMOS__=0x0500 -I"C:/Program Files/Pa

Re: Where can I find source for Palm SDK

2005-10-31 Thread Aaron Ardiri
On 10/31/05, G. Kalyana Sundaram <[EMAIL PROTECTED]> wrote: > Actually I am looking for the open source code for all of Palm Source (Palm > Source made this announcement some time back). I wanted to take a look at > the Sound Stream implementation by Palm Source. you mis-interpreted what they anno

RE: Where can I find source for Palm SDK

2005-10-31 Thread G. Kalyana Sundaram
Hi Philippe, Thanks for your reply. I am not looking for sample code that explains the usage of Sound Manager functions. Actually I am looking for the open source code for all of Palm Source (Palm Source made this announcement some time back). I wanted to take a look at the Sound Stream implement

Re: About writing data

2005-10-31 Thread Logan Shaw
WangRain wrote: typedef struct { Char * path; Char * name; UInt16 dbNum;//数据库数目 TestSubType *testSubList; }TestType; static Err AddNewRecord(DmOpenRef dbP) { Err err = errNone; UInt16 u16Index = DmNumRecords (dbP); TestType te