Determining folder path for application

2005-06-27 Thread Dr. Vesselin Bontchev
Why don't you just use FtrMem instead? Ah, I did not know about such a function... Oh, you probably meant FtrPtrNew? Indeed, this way one doesn't need the trick that marks the allocated memory as belonging to the OS. In other words, instead of savedPath = (Char *) MemPtrNew (StrLen (path) +

Determining folder path for application

2005-06-27 Thread Dr. Vesselin Bontchev
You mentioned that you don't think you get a sysAppLaunchCmdCardLaunch in all non-memory launch or program start situations. No, I didn't say that. I said that the /PALM/start.prc application is not launched with the sysAppLaunchCmdCardLaunch launch code. I was wrong, though. It's not that

Re: Determining folder path for application

2005-06-25 Thread Mohamad Alhomsi
Hello, I am working on application that will play audio to list of number after they are dialed. I could do the part of dialing but I wonder if your program has a library that control the audio comming out of the device to be routed to the phone and not the speaker. On 6/24/05, Steve Chaplin

Determining folder path for application

2005-06-24 Thread Steve Chaplin
I'm having problems trying to get the folder path for where my application was lauched from. The documentation says that the sysAppLaunchCmdCardLaunch is sent with a parameter block that contains the folder path when the application is launched from a storage device. If I understand correctly,

Determining folder path for application

2005-06-24 Thread Dr. Vesselin Bontchev
I thought that the Launcher can launch applications only from the /PALM/Launcher folder? Well, that and the /PALM/start.prc allication - but that one doesn't receive the sysAppLaunchCmdCardLaunch launch code. Oh, well, maybe the Launcher of LifeDrive is more advanced in this aspect. Anyway,

Re: Determining folder path for application

2005-06-24 Thread Henk Jonas
Dr. Vesselin Bontchev wrote: I thought that the Launcher can launch applications only from the /PALM/Launcher folder? Well, that and the /PALM/start.prc allication - but that one doesn't receive the sysAppLaunchCmdCardLaunch launch code. Oh, well, maybe the Launcher of LifeDrive is more

Re: Determining folder path for application

2005-06-24 Thread Steve Chaplin
I have not used a feature before but that seems like a good solution. You mentioned that you don't think you get a sysAppLaunchCmdCardLaunch in all non-memory launch or program start situations. I basically need to know where may application is being run from so I can open the data files

Re: Determining folder path for application

2005-06-24 Thread Steve Chaplin
I tried this from NVFS and it did do a sysAppLaunchCmdCardLaunch so hopefully that is sent from any non-main memory program start. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/