Problems with GCC -O3 optimization

2005-05-12 Thread BrownB
Hello, I'm using PRC-Tools to develop a PalmOS sw, and I'm experiencing some difficulties with the GCC option -O3 for the higher level of optimization. I'm developing a RealTime application and so far, with that options the final code is faster enough for me. Now, I found that with that option

Treo help

2005-05-12 Thread Destin GANDO
Please where can I have these library: #include #include And I'd like also have library for Treo 650 in order to use the phone or dial the phone number automatic Thanks === le 12/05/2005, 08:13:30 vous écriviez: === >//to get IMEI number. >#include >#include > >//IMEI details >sta

re: custom notifications

2005-05-12 Thread Chrix Bell
Did you mean you want to bind the notification to your application? It was done while registering the notification. Or, you want to custom the event you want to capture? take care of this function:(quote) SysNotifyRegister(myCardNo, appDBID, sysNotifySyncStartEvent, NULL, sysNotifyNormalPrio

Display form without generating frmOpen() & frmLoad() event

2005-05-12 Thread Mehul Patel
Hi Folks, I am newbie to this field, So this Question may be silly, but I need the solution. Now, I want to Display the form and quickly exit from it. But I want to do it just before the device goes to sleep. And when we display the form & look at the events that are generated (By Rigth Cli

Re: Is DmSyncDatabase() synchronous?

2005-05-12 Thread Logan Shaw
Ben Combee wrote: DmSyncDatabase will completely write the changes before it returns. At least, it will make all the calls to VFS to do the file modifications. However, DmSyncDatabase may fail -- if there isn't enough space on the volume that holds the databases to write the changes, the chang

Re: Access to wireless transcivers in Treo 600, 650 and Tungsten W

2005-05-12 Thread Ben Combee
At 01:02 PM 5/11/2005, you wrote: Hello We all know that the mentioned smartphones have a GSM or CDMA transceiver, now is there any possibility to modify the OS (or Kernel) in favor of using them as wireless communicator in our own specific way within the standards of GSM and CDMA, does the current

re: 5-way navigation on Tungsten E

2005-05-12 Thread Ben Combee
At 12:20 PM 5/12/2005, you wrote: > you are confusing the Palm OS SDK with the palmOne SDK. I don't think so. I have a Tungsten E device myself and some time ago was struggling with exactly the same problem - how to support the 5-way control. I was using the PalmOS 5.1 SDK that came with PODS che

re: custom notifications

2005-05-12 Thread Jeff Ishaq
I'm in the same boat. Are there any guidelines for defining a custom notification value to go in the SysNotifyParamType.notifyType member? I'm just going to use my app's crID, which is registered and thus "unique", and hope it doesn't get stepped on by any 3rd parties! -Jeff Ishaq Palm OS Cert

Re: Is DmSyncDatabase() synchronous?

2005-05-12 Thread Ben Combee
At 04:58 PM 5/10/2005, you wrote: Any one know if the new DmSyncDatabase() call is synchronous? I'd like to know if, upon return, the database is completely flushed to flash or is it simply flagged to be flushed. I suspect it is synchronous, but I don't know what's behind the scenes, so I'm not mak

Re: Create a Task/ Thread (and TSR's...)

2005-05-12 Thread Chris Williams
Is there a way to do system traps in OS5 (That is, without Hackmaster)? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Coloring table rows

2005-05-12 Thread Aaron Hansen
Hey Folks, Hopefully this is an easy one. I am running this on a Treo650, but I want it to work on most color devices. I added color to every other line of a table for contrast, and this works fine. However I have problems once I start scrolling the table using the 5-way nav keys, which changes

Re: VFSSupport()

2005-05-12 Thread Logan Shaw
Orasanu Iuliana wrote: I want to know if my device has an expansion slot or not, I don't care if it's in the device or not. Let's take for example a Palm IIIxe - this doesn't have a expansion slot, but Tungsten E has one. I want to make a different behavor in my application for this 2 handlers. Wh

re: Custom Drawing erased after FrmReturnToForm

2005-05-12 Thread Daniel Vanderwel
Thanks guys, that was helpful. By cathing the FrmUpdateEvent I was able to properly refresh the screen. I did run into an issue where my text field wasn't being erased from the screen when I closed the popup, and it turned out that it was because I was populating the textfield with text before

Re: Problem clearing field..

2005-05-12 Thread Daniel Vanderwel
Thanks guys, I managed to get it working properly by handling the frmUpdateEvent. I'll mention something kind of unrelated; I got really confused when suddenly my text field wasn't being erased when I called FrmReturnToForm from the second form. As usual, the finicky nature of this stuff had m

re: 5-way navigation on Tungsten E

2005-05-12 Thread Dr. Vesselin Bontchev
> you are confusing the Palm OS SDK with the palmOne SDK. I don't think so. I have a Tungsten E device myself and some time ago was struggling with exactly the same problem - how to support the 5-way control. I was using the PalmOS 5.1 SDK that came with PODS checking for the Rocker characters

Getting the ref num of CPM library

2005-05-12 Thread Anushree Reddy
I am new to PALM Programming, I am trying to get the ref num of CPM library, what do I need to do? Thanks, Anushree -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: VFSSupport()

2005-05-12 Thread Dr. Vesselin Bontchev
> I want to know if my device has an expansion slot or not, I don't > care if it's in the device or not. I'm not sure that there is a special feature for determining exactly what you're asking for - but what's wrong with simply using FtrGet(sysFileCVFSMgr, vfsFtrIDVersion, &vfsMgrVersion) ? If

RE: Task on time

2005-05-12 Thread Dr. Vesselin Bontchev
It depends how precise the timing has to be. The alarm manager's precision isn't good enough if the event indeed has to occur exactly every second. For things like on-screen clocks it is indeed better to do it from the event loop - i.e., tell the system to generate events faster (in your event l

re: math functions prc-tools

2005-05-12 Thread Dr. Vesselin Bontchev
You should probably use the MathLib library; the built in PalmOS support for complex math functions is rather on the lacking side. You can get MathLib from there: http://www.radiks.net/~rhuebner/mathlib.html The file you need to include is MathLib.h; read the documentation for details. Regards

math functions prc-tools

2005-05-12 Thread jocassid
I'm writing an app that needs various math functions such as sine, cosine, pow, ln. Apparently there is a math.h file somewhere but I get a lot of incompatible type warnings and the linker does not find the definition of the needed function. How does one access these functions? John -- For i

Re: Newbie question about developing app for Treo 650

2005-05-12 Thread jocassid
Pete, A large part of your question is what sort of development system you are going to use? Code warrior, Prc-tools, and Palm's new eclipse-based ide. I'm using prc-tools under linux and found that Eric Ponet's tutorial was helpful (url http://mobile.eric-poncet.com/palm/tutorial/) Also I

Re: Anyone knows the answer? Using pilRC - the property explorer does not open

2005-05-12 Thread Regis St-Gelais
"Udi Kobi" <[EMAIL PROTECTED]> a ?crit dans le message de news: [EMAIL PROTECTED] > Subject: Using pilRC - the property explorer does not open > > > Hi, > Using pilRC - the property explorer does not open (pressing f11). > Therfore, I cannot change control's attributes... > Any idea? > -Udi > Pi

re: Custom Drawing erased after FrmReturnToForm

2005-05-12 Thread John Newell
Quote from FrmDrawForm in Palm OS Reference manual. If the saveBehind form attribute is set and the form is visible, this function saves the bits behind the form using the bitsBehindForm field in the FormType structure. You should call this function in response to a frmOpenEvent. If you do any c

Re: Custom Drawing erased after FrmReturnToForm

2005-05-12 Thread Douglas Handy
Daniel, >I can't seem to find any events that I can catch that will allow me to redraw >what has been erased. After you return, the underlying form should receive a frmUpdateEvent. Doug -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.co

Custom Drawing erased after FrmReturnToForm

2005-05-12 Thread Daniel Vanderwel
Hi, I have a question that I haven't been able to find the answer to. I'm calling a FrmPopUpForm event from a form in which I'm performing some custom drawing to pop up another form. When I call the FrmReturnToForm event from the popped up form and return to the original form all of my custom

Re: library

2005-05-12 Thread Roger Stringer
From: "Orasanu Iuliana" <[EMAIL PROTECTED]> Date: Thu, 12 May 2005 07:57:09 - Anyone?? someone ??? Tell me please if there is a compatibility on the CodeWarrior with the dll library... You can't use DLL's developed for Windows on any other OS, whether linux, Mac or Palm OS. Each OS has its

RE: Task on time

2005-05-12 Thread Robert Moynihan
Set an alarm, maybe? Bob. -- Robert Moynihan Sent from my Treo -Original Message- From: Andy Bell Date: 05.5.12 11:11 am To: Palm Developer Forum Subj: Task on time Hi All, I would like to fire an event say every second and I am debating on the best way forward. My intial though

Anyone knows the answer? Using pilRC - the property explorer does not open

2005-05-12 Thread Udi Kobi
Subject: Using pilRC - the property explorer does not open Hi, Using pilRC - the property explorer does not open (pressing f11). Therfore, I cannot change control's attributes... Any idea? -Udi -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www

RE: Newbie question about developing app for Treo 650

2005-05-12 Thread Eric Cloninger
Pete, Go to http://www.palmsource.com/developers/ To sign up for the Palm developers program. While you are there, pull down the Palm OS Developers Suite (PODS). This is a free download. PODS has the Eclipse IDE bundled with compilers, SDK, and samples for doing vanilla Palm OS development. Th

re: 5-way navigation on Tungsten E

2005-05-12 Thread gecos
you are confusing the Palm OS SDK with the palmOne SDK. You must use these together, and the current versions are Palm OS SDK 5.3 with Palm OS 68K API SDK (Fall 2004) update palmOne SDK 4.3 The current palmOne SDK has some overlap with items pulled back into the Palm OS SDK, but it detects th

Task on time

2005-05-12 Thread Andy Bell
Hi All, I would like to fire an event say every second and I am debating on the best way forward. My intial thoughts are to use the event loop as a simple timer, but are there any API methods or libraries that I could use instead? Thanks Andy -- For information on using the Palm Developer Fo

Re: VFSSupport()

2005-05-12 Thread Orasanu Iuliana
Ok, so I will try to make my question understood: I want to know if my device has an expansion slot or not, I don't care if it's in the device or not. I want to see if the handler does or doesn't have in it's factory settings a slot to put a MMC/SD/SDIO. Let's take for example a Palm IIIxe - t

Re: was RE: Is DmSyncDatabase() synchronous?

2005-05-12 Thread Ben Combee
You mean it is synchronous. An asynchronous call may not complete before returning. -Original Message- From: "David Thacker" <[EMAIL PROTECTED]> Subj: Re: was RE: Is DmSyncDatabase() synchronous? Date: Thu May 12, 2005 7:37 am Size: 1K To: "Palm Developer Forum" DmSyncDatabase a

Re: VFSSupport()

2005-05-12 Thread Orasanu Iuliana
>err = FtrGet(sysFileCVFSMgr, vfsFtrIDVersion, &vfsMgrVersion); >And that will return no error as long as the system includes the vfs manager; it doesn't matter if a card is inserted into the slot or not. Indeed, that's true. I'm using VFSVolumeEnumerate to see if the card is mounted or not. --

RE: Zire 31 OS

2005-05-12 Thread Oscar De León
Thanks Leandro, I finally could find the version in the machine itself. Regards Oscar -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nombre de Leandro Jekimim Goulart Enviado el: Martes, 10 de Mayo de 2005 17:04 Para: Palm Developer Forum Asunto: Re: Zire 31 OS The

RE: Zire 31 OS

2005-05-12 Thread Oscar De León
yes Bob! I found it! Its 5.2.8 Thanks very much for your help Regards Oscar -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nombre de Robert Moynihan Enviado el: Martes, 10 de Mayo de 2005 15:04 Para: Palm Developer Forum Asunto: Re: Zire 31 OS Oscar De LeÃn wrote: >

Access to wireless transcivers in Treo 600, 650 and Tungsten W

2005-05-12 Thread Mohammad Afshari
Hello We all know that the mentioned smartphones have a GSM or CDMA transceiver, now is there any possibility to modify the OS (or Kernel) in favor of using them as wireless communicator in our own specific way within the standards of GSM and CDMA, does the current OS running on these smart pho

Newbie question about developing app for Treo 650

2005-05-12 Thread Pete Dempsey
Hi All, I have been given a project that entails developing an app for the Treo 650. I am an experienced C++ and Java develop but this is the first time that I am developing for the PalmOS. The app should have some of the following features: - Splash screen when initially run - color UI - abili

Re: T5 database HotSync file size problem

2005-05-12 Thread Roger Stringer
Subject: Re[6]: T5 database HotSync file size problem From: Adrien Regimbald <[EMAIL PROTECTED]> Date: Wed, 11 May 2005 13:27:51 -0600 I suppose my own development experience with the Palm has biased my opinion on how the platform is typically used. For example, I've never thought that features li

Re: was RE: Is DmSyncDatabase() synchronous?

2005-05-12 Thread David Thacker
DmSyncDatabase appears to to me to be asynchronous, and appears to actually do the synchronizing at the time that you call it (as opposed to flagging for later syncing). In my test app, I (attempt to) create 6 records and call DmSyncDatabase every 1000 records. As the database grows, the

RE: Porting PODS projects to Windows Mobile

2005-05-12 Thread scuff
We're doing the same thing - using MS embedded visual C++ 4.0 SP4 and the PPC SDKs - if you plan to do pocket .Net then MS Visual Studio .NET 2003, a beta version of .NET 2005 might still be available on the website if you want to try it out first. MS embedded visual C++ 4.0 and SDK's are free

Re: VFSSupport()

2005-05-12 Thread Robert Moynihan
Orasanu Iuliana wrote: So.. FtrGet returns an error message if there isn't any vfs currently mounted... I know that and I am using this so I would not try to open a vfs if this isn't mounted... Not in my experience. Which feature are you trying to find? I've used something like err = FtrGet(s

Re: IMEI

2005-05-12 Thread Scott Erickson
Dipanshu, Does is that code for all PalmOS 4.0 and later? or is that for certin devices? -- Scott Erickson Software Development Team, FB-4, Inc. [EMAIL PROTECTED] "Mansingka, Dipanshu Sushilkumar" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] //to get IMEI number. #include

Re: VFSSupport()

2005-05-12 Thread Orasanu Iuliana
Ok, you are right, but I want to know if my device has a place where to insert a card! in other terms if my sistem will ever be able to mount an expansion card... So.. FtrGet returns an error message if there isn't any vfs currently mounted... I know that and I am using this so I would not try

RE: library

2005-05-12 Thread Manpreet
Orasanu, I believe you can't import your windows dll in your code warrior project for palm. Palm shared/static library concept is entirly different. Palm can have two types of libraries: Shared : they have .prc extention Static: .lib files statically linked to your application. Thanks -- F

re: relocation truncated to fit

2005-05-12 Thread Thomas Okken
The "relocation truncated to fit" error means that one or more segments is too large. You will need to move some functions to other segments until each segment is 32k (compiled) or smaller. Or, you could use Multilink (http://www.djw.org/product/palm/multilink/) to do handle the segmentation for

re: LstGetHeight?

2005-05-12 Thread Dr. Vesselin Bontchev
Yes (I had to struggle with a similar problem recently) - but why "assumed"? You can get the line height with FntCharHeight. Regards, Vesselin -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

re: 5-way navigation on Tungsten E

2005-05-12 Thread Dr. Vesselin Bontchev
> Is there a device-independent way to read the 5-way navigator? I don't think so. For instance, the Tungsten E device doesn't use the Rocker keys; it uses the nav* keys. You need the headers from an older SDK (4.1, not 5.x) in order to support it. Regards, Vesselin -- For information on using

re: Extracting data from Palm Desktop (on Winxx) into .csv files

2005-05-12 Thread Thomas Okken
You're headed into a grey (unsupported) area, I'm afraid -- but maybe this will help: http://www.geocities.com/Heartland/Acres/3216/palmrecs.htm Good luck! - Thomas -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

re: deploy my application and conduit

2005-05-12 Thread Thomas Okken
Installing HotSync Manager is the user's responsibility; that installs HotSync.exe and a whole lot of additional stuff, including dozens of DLLs. Your installer should not install HotSync Manager; it should assume that HotSync Manager is already present, and use the Conduit Manager API and HotSy

Re: VFSSupport()

2005-05-12 Thread Logan Shaw
Orasanu Iuliana wrote: This function is not defined on my compilator, how come? I'm trying to find whether the handheld has an expansion slot and whether any file systems are present. Here are the docs... http://www.palmos.com/dev/support/docs/conduits/win/CComp_Expansion.html#996231 Those are doc

Re: Porting PODS projects to Windows Mobile

2005-05-12 Thread Jim Cooper
Years ago, I wrote programs for "Windows CE", but had a number > of unsatisfactory experiences including being repeatedly > forced to buy expensive programming tools You're going to have to spend money at some point. The embedded Visual C++ (and embedded VisualBasic) tools are free, but it looks

PDA hardware buttons

2005-05-12 Thread John Newell
Does anyone know of a way for an application to determine which hardware buttons exist on the PDA it is running on? They all have a Power button but: e.g. Palm T3 - Voice, Calendar, Contacts, Tasks, Memos. e.g. Zire 31 - Calendar, Contacts. -- For information on using the Palm Developer Forums, o

VFSSupport()

2005-05-12 Thread Orasanu Iuliana
This function is not defined on my compilator, how come? I'm trying to find whether the handheld has an expansion slot and whether any file systems are present. Here are the docs... http://www.palmos.com/dev/support/docs/conduits/win/CComp_Expansion.html#996231 Who can I make this? I've tried t

Palm Debugger -- Symbol file (*.sym)??

2005-05-12 Thread chintan
Hello; I'm trying to use Palm Debugger. After loading PRC Files it ask for symbol(*.sym) files. I am using PRC tools for compilation. What's that file is for and how to create the the symbol files?? Regards Chintan Dhruva -- For information on using the Palm Developer Forums, or to un

re: library

2005-05-12 Thread Orasanu Iuliana
Anyone?? someone ??? Tell me please if there is a compatibility on the CodeWarrior with the dll library... -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/