Re: Pls Help! - to to prevent accidental deletion of Palm Application?

2003-03-21 Thread Gearoid Murphy
Palm applications such as Calc, Memopad etc are installed on the ROM and therefore can only be deleted by reconfiguring the ROM and downloading it to the unit. Why don't you install your application in flash memory using something like FlashPro by Handera. That way your application won't show

Are PQAs the thing of the past?

2003-03-21 Thread Mike McCollister
Are PQAs a thing of the past? Will there be any new devices that will support this protocol? Thanks, Mike __ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com -- For information on

Clock application redefining the fonts

2003-03-21 Thread Jan Slodicka
Hello The clock application (at least on Tungsten) has a side effect of redefining existing fonts. Here is what we do: - load a custom font from the resources - call FntDefineFont( fntAppFontCustomBase, loadedFontPointer) - prior to any font-related function we call FntSetFont() to set the font

Re: Recompiling prc-tools under Falch's DevStudio's Cygwin?

2003-03-21 Thread kcorey
The short of it: the suggestion below didn't have any effect on the error. The long of it is listed down below. Basically, the current set of Build instructions for PRC-Tools doesn't seem to be working with the current version of cygwin...When I try to build only the m68K-palmos compiler, I get

ZLib for Palm

2003-03-21 Thread Dan Patrutiu
- Has anyone used the ZLib shared library for Palm? How fast is it? - Let's say I have a database of 2 megabytes which can be zipped to 1.5 megabytes. When I'll decompress and read the data, how fast will this operation be, compared to reading uncompressed data? Is it worth to use ZLib on this

V2 Bitmaps and OS5

2003-03-21 Thread Eugene Scerbinin
Hi, A citation from Palm OS Companion.PDF (p.95): (User InterfaceDrawing on the PalmHigh-Density DisplaysMaintaining Compatibility) Some Sony CLIE' handhelds have a double-density screen but don't have the High-Density Display feature set. The High-Density Display feature set recognizes bitmaps

Re: V2 Bitmaps and OS5

2003-03-21 Thread Aaron Ardiri
A citation from Palm OS Companion.PDF (p.95): (User InterfaceDrawing on the PalmHigh-Density DisplaysMaintaining Compatibility) Some Sony CLIE' handhelds have a double-density screen but don't have the High-Density Display feature set. The High-Density Display feature set recognizes

Fw: MemoryMgr.c error on exit

2003-03-21 Thread Chris Apers
Hi, I have the follwoing error after i exit my app on the palmsim. MemoryMgr.c, Line:3675, Invalid chunk ptr Everything's ok with the emulator. The debugger show this error at the last line Do you know why this occured ? 5F033FF6: 2A00move.l d0,d5 5F033FF8: 4A04tst.b

RE: ZLib for Palm

2003-03-21 Thread Danny Wong
HI, depending on the speed of your Palm. Since the Zlib has support for native arm code. A 2 meg file will take less than 5 seconds on OS 5.0. The same file on a 33mhz could take upto 1min. It all depends on how you design your app. If you have many records eg: 1000's then the compression will

Re: locking the same record multiple times by setting FldSetText

2003-03-21 Thread Neil Rhodes
On Thursday, March 20, 2003, at 11:32 PM, Veronica Loell wrote: I use the following calls to attach database info to the fields in my forms: -- fldP = FrmGetObjectPtr (frmP, FrmGetObjectIndex (frmP, BGfldArbPlatsNamn)); FldSetText(fldP, recordH, OffsetOf(ppavotidRecEssarType,ap),

Re: locking the same record multiple times by setting FldSetText

2003-03-21 Thread Veronica Loell
I am not editing any of theese fields, just displaying the data. It seems like less overhead to actually attach the noneditable fields to the databaseinstead of creating new chunks and copy the data to them. - Veronica Loell Neil Rhodes wrote: On Thursday, March 20, 2003, at 11:32 PM, Veronica

Re: ErrTry

2003-03-21 Thread Ken Krugler
I saw a couple of questions regrding this on forum and couldn't find a defnite answer. I'm having problem with the ErrTry/Catch Macro in Simulator and Tungsten. My code is working perfectly on SDK 4 devices and Emultor, but crashes on SDK 5 build on Tungsten and imulator. I'm using C++ and the

RE: over locked a piece of code

2003-03-21 Thread Stringer
Subject: over locked a piece of code From: SH Luk [EMAIL PROTECTED] Date: Thu, 20 Mar 2003 20:00:37 +0800 I want to lock a piece of code so that the memory location will be stay valid after quited the application. I saw people talking about something like overlock it. But how? Any idea? Please

Re: Are PQAs the thing of the past?

2003-03-21 Thread Ben Combee
At 03:45 2003-3-21 -0800, you wrote: Are PQAs a thing of the past? Will there be any new devices that will support this protocol? I think Palm OS 3.5/4.1 smartphones from vendors other than Handspring will continue to support PQAs, but there's no PQA support for OS 5 smartphones. -- Ben Combee

[WD9.1][NX70V] SndPlayPcm can't play... ?

2003-03-21 Thread JiheM
I can load and request the duration of a a WAV (ADPCM 4Bits 8Khz) but while trying to play I get a BadParam error... Why ? Did you know a web site where we can upload and download CW codes to share. void CMStick::MSPlayWave(char *fileName,char *message) { Err err; UInt16 refNum; UInt32 size;

Re: STL and MetroWerks v9

2003-03-21 Thread Ben Combee
At 16:42 2003-3-19 -0800, you wrote: After some futher testing and stepping through the code, we've noticed that when the string::t0 is copied from another string::t0 that the full string::t2 structure was not copied, therfore missing the final element of string::t2.data_ (null term character) So

Re: locking the same record multiple times by setting FldSetText

2003-03-21 Thread Neil Rhodes
I would do the following: When your form opens, lock your handle. Use FldSetTextPtr for each of the fields, passing pointers to the embedded strings within the handle. Unlock your handle when the form closes. Neil On Friday, March 21, 2003, at 07:47 AM, Veronica Loell wrote: I am not

datamgr.c line:9573, Index out of range error in DmQuickSort

2003-03-21 Thread German Carizza
Hi I'm sorting a database with 23732 records separated in tree categories, 20126 to cat1, 3599 to cat2 and only 7 to cat3). I'm using the DmQuickSort function to sort cat1 and cat2 and datamgr.c fires this error: Index out of range in line 9573. Comparison function cat1 : UInt8

Awake me... Say me that I am mistaken!

2003-03-21 Thread JiheM
Did you see the update of SONY SDK 5.0 (Mar 19, 2003) ? You can download it form : https://www.us.sonypdadev.com/develop_tool/index.html. What's the news ? They are removing more and more. With SDK5 we lost Memory Stick Audio Library (which can play MP3). Now with the update we lost Sony Sound

PilRC using defines

2003-03-21 Thread Bob Withers
Hi, I'm fairly new at PilRC having recently converted a project from Constructor resources to .rcp files using the method described on Ben Combee's site (thanks Ben). One of my goals in doing this was to have control over the definition of constants. I've found that while PilRC supports

Re: PilRC using defines

2003-03-21 Thread Ben Combee
At 15:41 2003-3-21 -0600, you wrote: I was thinking of renaming the .rcp file and running it through a C preprocessor first with the output being input to PilRC but I'd like it to automatically build from within CW9 and I don't know how to do that. CodeWarrior doesn't now have a C preprocessor

Re: Clock application redefining the fonts

2003-03-21 Thread Bill Andreozzi
I had this same problem, which was really causing havoc, let me know what you solution you run with. As a note, I didn't do anything about it yet.. thanks - bill Jan Slodicka [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello The clock application (at least on Tungsten) has a

Re: STL and MetroWerks v9

2003-03-21 Thread Bill Andreozzi
The new string file worked great. thanks! bill Ben Combee [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At 16:42 2003-3-19 -0800, you wrote: After some futher testing and stepping through the code, we've noticed that when the string::t0 is copied from another string::t0 that the

Re: PilRC using defines

2003-03-21 Thread Bob Withers
At 03:48 PM 3/21/2003 -0600, you wrote: At 15:41 2003-3-21 -0600, you wrote: I was thinking of renaming the .rcp file and running it through a C preprocessor first with the output being input to PilRC but I'd like it to automatically build from within CW9 and I don't know how to do that. snip A

Detecting changes in graffiti shift state

2003-03-21 Thread Chris Mitra
Hi, I have read in various places that there is no event that is sent to an application when the Graffiti Shift state changes. Is this really true? How can an app be notified when this state changes? For example, when the user presses a Shift key on a Treo, I can't find any event or

Re: Awake me... Say me that I am mistaken!

2003-03-21 Thread Florent Pillet
Isn't it because Sony is gradually adopting the standard Palm OS 5 APIs and moving their own out of the way? I see this as a good thing, since not only are their APIs buggy, but also Sony has no intention on fixing the bugs. The HR API is a disaster on OS 5 devices. Florent. On vendredi, mars 21,

Bug in PalmOS 5.0's DlkUserInfo structure

2003-03-21 Thread Jeff Ishaq
Hi folks. I'm toying with the HotSync info on a PalmOS 5 device. It is in a different format than previous versions of the OS. See my info from a previous post: http://groups.yahoo.com/group/conduit-dev-forum/message/11050 First of all, the DlkUserInfo structures, as defined in

Re: locking the same record multiple times by setting FldSetText

2003-03-21 Thread Veronica Loell
Neil Rhodes wrote: I would do the following: When your form opens, lock your handle. Use FldSetTextPtr for each of the fields, passing pointers to the embedded strings within the handle. Unlock your handle when the form closes. Neil Thanks, that makes for a lot cleaner code. Veronica -- For