Re: Need some referance for work with resolutions/color depths

2004-11-19 Thread Vladan Markovic
Ben Combee [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At 02:57 AM 11/17/2004, you wrote: I am new in Palm OS programing, and i am litle confused on how to support ALL diferent resolution and color depths, the application i work on need to support all res. from 160x160 1bpp to

OReillyStarter.zip

2004-11-19 Thread A.Kazantsev
Cannot download OReillyStarter.zip for Windows from ftp.calliopeinc.com/palmprog2. Is it possible to get the sample project source code somewhere else? The code is necessary for a student starting Palm OS Programming by Neil Rhodes and Julie McKeehan. Any help is appreciated. -- For

RE: PowerOn Timer

2004-11-19 Thread Stephen H.S. Lee
Dear Robert Moynihan, Thanks for your indication very much. I have followed your way and learned how to apply notifications to keep track on the required timing information. I have read the on-line programming recipe on PalmSource (also see the link below) and get the job done. Many thanks

re: newbie struggles with clean compile

2004-11-19 Thread David Carr
the .trc file is made from the xrd file when you compile. If you're using the palm os development suite based on eclipse and the error is in the top line, you'll probably find that the compiler is indicating a more specific error in the code somewhere. For example any error in a name.c file

Re: PALMDEV: zlib question

2004-11-19 Thread Fabio dos Reis Costa
Hi thank's for example Another question: If I compress a .PDB in Windows using ZLIB and rename the compressed file to .PDB and syncronize compreesed database in PALM I will get sucess do decompress with SYSZLIB??? If no, what is the best way to compress in windows, send to PALM and decompress

Re: Multiple Select in a List Box????

2004-11-19 Thread Roger Stringer
Subject: Re: MULTIPLE SELECT IN A LIST BOX From: Logan Shaw [EMAIL PROTECTED] Date: Fri, 19 Nov 2004 00:41:08 -0600 Robert Moynihan wrote: Shree S wrote: I want to ask you people whether multiple select is possible with the list box. Sure, but not with the default API calls.

Auto power off vs Frequent alarms

2004-11-19 Thread John Sutton
Hi All, This is my first post, and I've searched the archives for an answer but found nothing specific, so forgive me if it has been covered before. I have an application that polls the serial port periodically (say every 10 seconds), I do this by setting an alarm (AlmSetAlarm) and responding to

Background music

2004-11-19 Thread Maiden
Hi! Can someone suggest me an API for playing background music. Thanks a lot! Dmitri Kornilov http://www.questofthehero.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Background music

2004-11-19 Thread Robert Moynihan
Maiden wrote: Hi! Can someone suggest me an API for playing background music. Thanks a lot! Dmitri Kornilov http://www.questofthehero.com If you are doing this yourslf, you'll be wanting to use the 'SoundStream' stuff in the normal Palm SDK. Or, you might want to have 3rd party apps (like

re: OReillyStarter.zip

2004-11-19 Thread Ed Pugh
I can download it OK. Go to: ftp://ftp.calliopeinc.com/palmprog2/ It's called OReillyStarter.zip, not Starter.zip. There seems to be a lot of other good stuff in there, too. Regards, Ed. -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Validity of record handle after record insertion

2004-11-19 Thread Luc Le Blanc
If I do a DmGetRecord on record 0 and then insert a new record 0 with DmNewRecord, does my handle on the original record 0 become invalid or unreliable? If I later call DmReleaseRecord on index 1 (as record 0 got pushed by the new one), I am causing trouble? I am trying to find the cause of

re: OReillyStarter.zip

2004-11-19 Thread Ed Pugh
Woops, sorry. You had the right name, after all. I read it wrong. (I looked for Starter.zip when I first got there.) Anyway, I had no problem downloading it from the sight you quoted. Regards, Ed. -- For information on using the Palm Developer Forums, or to unsubscribe, please see

re: TxtGlueParamString on Sony S300

2004-11-19 Thread Ed Pugh
Why not use FtrGet to determine the ROM version, then call the glue function if it is earlier than 3.5, or the ROM function if it is later? I have not tried this, so is there any reason why this would not work? Regards, Ed. -- For information on using the Palm Developer Forums, or to

Re[2]: OReillyStarter.zip

2004-11-19 Thread A.Kazantsev
EP Anyway, I had no problem downloading it from the sight you quoted. Regis St-Gelais kindly provided me with the file. Many thanks. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Background music

2004-11-19 Thread Ben Combee
At 08:48 AM 11/19/2004, you wrote: Can someone suggest me an API for playing background music. I've written about two libraries that support this kind of functionality. Check out http://palmos.combee.net/blog/AstrawaresNewAuroraSoundE.html

Re: Validity of record handle after record insertion

2004-11-19 Thread Ben Combee
At 09:20 AM 11/19/2004, you wrote: If I do a DmGetRecord on record 0 and then insert a new record 0 with DmNewRecord, does my handle on the original record 0 become invalid or unreliable? No. Handles are maintained in a separate table and only become invalid when freed. -- Ben Combee, Technical

Re: Background music

2004-11-19 Thread Jan Slodicka
Consider also mmPlayer that also offers an audio engine and has (in my opinion) a reasonable price and wide support for audio formats. The engine was buggy at the time when we tested it, but I am sure they are able to fix it. We just did not have time to wait for it and decided finally for PTunes.

RE: Multiple Select in a List Box????

2004-11-19 Thread Craig Austin
It's also fairly easy to do the same idea with just a normal listbox and custom draw elements. The list item works like a checkbox, the first time the user clicks, the row is selected, the second time, the row is un-selected. This saves screen space because you don't have to show the

Re: Validity of record handle after record insertion

2004-11-19 Thread Luc Le Blanc
Ben Combee a écrit : At 09:20 AM 11/19/2004, you wrote: If I do a DmGetRecord on record 0 and then insert a new record 0 with DmNewRecord, does my handle on the original record 0 become invalid or unreliable? No. Handles are maintained in a separate table and only become invalid when

VFS open file limit?

2004-11-19 Thread Greg Sepesi
What is the maximum number of VFS files that can be open at the same time? Greg -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Validity of record handle after record insertion

2004-11-19 Thread Ben Combee
At 10:21 AM 11/19/2004, you wrote: Ben Combee a écrit : At 09:20 AM 11/19/2004, you wrote: If I do a DmGetRecord on record 0 and then insert a new record 0 with DmNewRecord, does my handle on the original record 0 become invalid or unreliable? No. Handles are maintained in a separate table

Re: Auto power off vs Frequent alarms

2004-11-19 Thread news
On Nov 19, 2004, at 5:55 AM, John Sutton wrote: Is there any way of making the Palm ignore me so that it does not reset the auto off time, or at least be able to read how long it is to the auto off time and adjust this value accordingly. I assumed that by setting purgeAlarm to true that nothing

PROBLEM WITH THE HANDLE OF A FORM USING C++

2004-11-19 Thread Carlos Araujo
I have a problem with the handle of a form when I set the handle using the function FrmSetEventHandler(pForm, FrmPrincipal::manipuladorFormPrincipal); I create an object of the class FrmPrincipal like: FrmPrincipal * frmPrincipal = new FrmPrincipal(); And then

RE:TxtGlueParamString on Sony S300

2004-11-19 Thread Tam Hanna
Hi, I know that this isnt quite the kind of answer you may be waiting for-actually I have never ever seen or used one of these mobiles-only heard of them(I am an Austrian, man!). However, it looks like a pretty clear case: When your App is running on OPS3.5 or greater, just use the API. When

Re: Device-dependent amount of dynamic heap?

2004-11-19 Thread Tam Hanna
Hi, The API must constrain you to a lowest possible OS version. If you use OS5 Handhelds only, you can assume way more memory than using OS3 handhelds. Why don’t you try this approach: Design app-detect minimum OS version required-then look for lowest device with this OS-use its memory

Re: PROBLEM WITH THE HANDLE OF A FORM USING C++

2004-11-19 Thread Ben Combee
At 11:05 AM 11/19/2004, you wrote: I have a problem with the handle of a form when I set the handle using the function FrmSetEventHandler(pForm, FrmPrincipal::manipuladorFormPrincipal); I create an object of the class FrmPrincipal like: FrmPrincipal * frmPrincipal = new

Re: PALMDEV: zlib question

2004-11-19 Thread Justin Clark
If I compress a .PDB in Windows using ZLIB and rename the compressed file to .PDB and syncronize compreesed database in PALM I will get sucess do decompress with SYSZLIB??? You can't just rename a file to PDB, it has to be in the PDB format. If your data is less than 64K compressed, the

VFSFileOpen error on T5 and Tréo650 Simulator

2004-11-19 Thread Christophe ANDRES
Hi, I have trouble with routines that have been working for years and that give me errors when I test them on a T5 or Tré650 simulator. It is a classical, enumerate of the volumes, then for each volume ask for the default '.pdb' path and finally scan the path for my files. On a T5 simulator it

Re: Device-dependent amount of dynamic heap?

2004-11-19 Thread Luc Le Blanc
My application needs to allocate large buffers to process topographic data manually entered on the device. The maximum amount of data it can process depends on the amount of available heap. At some point, a too small heap could prevent processing the acquired data. 4.4 Mb is required to process

Re: PROBLEM WITH THE HANDLE OF A FORM USING C++

2004-11-19 Thread Dave Lippincott
I should be possible to type your class method to a commone pointer. I think I've done it in the past, here is a old post that might shed some light... NOW YOU'RE TALKING! Works perfectly. Thanks! Alan Yeah, well, it only gets weirder from here on out. First, the program: class

Re: Validity of record handle after record insertion

2004-11-19 Thread Luc Le Blanc
Ben Combee a écrit : At 10:21 AM 11/19/2004, you wrote: Ben Combee a écrit : At 09:20 AM 11/19/2004, you wrote: If I do a DmGetRecord on record 0 and then insert a new record 0 with DmNewRecord, does my handle on the original record 0 become invalid or unreliable? No.

Re: TxtGlueParamString on Sony S300

2004-11-19 Thread Ken Krugler
One of our applications needs to use TxtParamString. Since it wasn't available until OS 3.5, and our app runs on 3.0 or later, we use TxtGlueParamString instead. It's always worked perfectly, and we've never had a complaint about it, until yesterday. A customer is running our app on a Sony S300,

T3 simulator download

2004-11-19 Thread A.Kazantsev
This question must have been posted here many times already. Sorry about posting again but I was unable to get a link in archives. Where or how can I get TT3 Simulator? Is the TT3 simulator capable to provide debugging to code based on Bluetooth SDK? And what about a simple BT virtual serial

Re: T3 simulator download

2004-11-19 Thread Ben Combee
At 01:21 PM 11/19/2004, you wrote: This question must have been posted here many times already. Sorry about posting again but I was unable to get a link in archives. Where or how can I get TT3 Simulator? It is part of the downloads at http://pluggedin.palmone.com/ Is the TT3 simulator capable to

Re: TxtGlueParamString on Sony S300

2004-11-19 Thread Thomas Ward
Ken, Thanks a lot for taking the time to reply, I really appreciate it. The really strange thing is that on the S300 emlulator, simply calling TxtParamString seems to work. It's only the Glue version that crashes. So, based on that, and the information in your post, this is what I came up

PRC filename/ DEBUG *.prc file

2004-11-19 Thread Tony Janke
I created my 1st application using a sample application as a template. I thought I changed all o the necessary info to use my own project and filenames, but the PRC fie still says sample.prc Where can I change this so the PRC file generated is my own application name? Also, during development

Re: PRC filename/ DEBUG *.prc file

2004-11-19 Thread Ben Combee
At 05:15 PM 11/19/2004, you wrote: I created my 1st application using a sample application as a template. I thought I changed all o the necessary info to use my own project and filenames, but the PRC fie still says sample.prc Where can I change this so the PRC file generated is my own application

BmGetBits() return value?

2004-11-19 Thread geoff
Hey, Im kinda of a newb but in my application i want to access the bmp data. The docs say BmGetBits does the job but it returns a void * value. What data type am i supposed to cast this to? Thanks Jeff -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Memory leak when exit app w/menu up

2004-11-19 Thread Thomas Lerman
I was trying to find a memory problem and found it just before I realized that I was not on the latest emulator. I am not on the latest emulator using OS 3.5 and CodeWarrior. I did in fact find and fix this problem. Since the upgrad, I found that I also had memory leaks. It was relatively easy

Re: video/frame output

2004-11-19 Thread jeff ang
thanks ben. i'll try it out and then post again for the results. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: BmGetBits() return value?

2004-11-19 Thread news
On Nov 19, 2004, at 5:47 PM, geoff wrote: Hey, Im kinda of a newb but in my application i want to access the bmp data. The docs say BmGetBits does the job but it returns a void * value. What data type am i supposed to cast this to? Thanks Pretty much whatever you want. What do you want to do