Treo help

2005-05-13 Thread Destin GANDO
Please where can I have these library: #include HsExt.h #include HsPhone.h 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 HsExt.h #include

Problems with GCC -O3 optimization

2005-05-13 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

re: Problems with GCC -O3 optimization

2005-05-13 Thread BrownB
Actually, I resolved some problems, which was due to an extern declariation withous the segment specification... But the explained problem is still present in the main object file, where is placed the PiltMain() entry point. BownB -- For information on using the Palm Developer Forums, or to

re: Display form without generating frmOpen() frmLoad() event

2005-05-13 Thread John Newell
I am afraid that it is unclear to me what you are trying to do. To display a form use FrmInitForm and FrmDrawForm inline. (You don't get frmLoad or frmOpen events. You only get those event if you do FrmPopupForm or FrmGotoForm.) You can then delay and use FrmDeleteForm to remove it. (This is

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

2005-05-13 Thread Dr. Vesselin Bontchev
Yes, but it is quite, uhm, different. It's easier, meaning that the OS supports it and you don't have to worry about installation/uninstallation, etc. - but the number of things you can trap is much more limited and is not even the same in the different versions of the OS. See, for instance,

re: Treo help

2005-05-13 Thread Dr. Vesselin Bontchev
These are not libraries; they are include files. They are from the Treo-specific SDK which you get from the PalmOne site. Regards, Vesselin -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

re: Problems with GCC -O3 optimization

2005-05-13 Thread Dr. Vesselin Bontchev
I use a different development environment (PODS) - but it uses the same compiler. I had exactly the same problems when trying to compile a release version of my application. I ended up reducing the level of optimization to -O2. Regards, Vesselin -- For information on using the Palm Developer

re: 5-way navigation on Tungsten E

2005-05-13 Thread Dr. Vesselin Bontchev
OK, Ben, thanks for the clarification. What about my other question - is it possible to support the 5-way control of Tungsten E without using the device-specific headers from PalmOne? I couldn't find one... Regards, Vesselin -- For information on using the Palm Developer Forums, or to

wrt USB Communication

2005-05-13 Thread Mansingka, Dipanshu Sushilkumar
Hi All, My application sends and receives data through USB Port to desktop application. It is not a conduit, but uses apis provided by USBPort.dll/.h/.lilb. When I open the port from device, the desktop gets the event, for which it opens the port creates a separate thread. When I send the data

Data alignment problem

2005-05-13 Thread Dr. Vesselin Bontchev
Hello folks, My application has to read from a database that contains variable-sized records. Each record has complex structure. The particular problem I am talking about is caused by the fact that in record #1, I have to read a 32-bit number which is at offset 13 form the beginning of the

re: Data alignment problem

2005-05-13 Thread Dr. Vesselin Bontchev
Ah, apparently the problem is in the macro Read68KUnaligned32, as defined in the PalmSource 5.4 SDK? Instead of #define Read68KUnaligned32(addr)(unsigned char *)(addr))[0]) 24) |unsigned char *)(addr))[1]) 16) |unsigned char *)(addr))[2]) 8) |

re: Data alignment problem

2005-05-13 Thread Dr. Vesselin Bontchev
Yeah, and a typecast before the 8-bit shift is needed too: #define Read68KUnaligned32(addr)(((unsigned long) unsigned char *) (addr)) [0])) 24) |((unsigned long) unsigned char *) (addr)) [1])) 16) |((unsigned long) unsigned char *) (addr)) [2])) 8) |

Re: Is DmSyncDatabase() synchronous?

2005-05-13 Thread Roger Stringer
Subject: Re: Is DmSyncDatabase() synchronous? From: Logan Shaw [EMAIL PROTECTED] Date: Thu, 12 May 2005 21:45:07 -0500 X-Message-Number: 49 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

database type

2005-05-13 Thread Orasanu Iuliana
Hy all, I'm trying to find on my device only some particular type of files (sometimes prc files, and sometimes pdb files). I am using DmGetNextDatabaseByTypeCreator to find the files and DmDatabaseInfo to see the name and the type of the file. Prc files have (from what I have seen) the type =

Re: database type

2005-05-13 Thread Luciano A. Stertz
Orasanu Iuliana wrote: Hy all, I'm trying to find on my device only some particular type of files (sometimes prc files, and sometimes pdb files). I am using DmGetNextDatabaseByTypeCreator to find the files and DmDatabaseInfo to see the name and the type of the file. Prc files have (from what I

POL on PODS

2005-05-13 Thread Eka Gauranga Das
Hi all is there any port or possibility to use POL under PODS? thanks in advance -- Chant Hare Krishna and Be Happy Eka -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

re: database type

2005-05-13 Thread Dr. Vesselin Bontchev
How can you do *what*? What are you looking for? What properties do you know of the database that you're looking for? Name? Type? Creator ID? CardNo? Or are you asking whether the database you have found by a given type and creator was a PRC file or not? You can't tell that. A proper PRC file

re: Problems with GCC -O3 optimization

2005-05-13 Thread BrownB
Thank you, using -O2 works!:D BrownB -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

number format mask

2005-05-13 Thread Dilek Özgü
Hi I want to format a number using a mask like this : ###,###,###.## double a; a = 19000.50; I will print a value as 19,000.50 or 125000.40 = 125,000.40 Is there any function for doing this (formatting the number) ? Thanks Dilek -- For information on using the Palm Developer Forums,

Re: number format mask

2005-05-13 Thread Chris Brooks
Not directly on the Palm platform. You'll have to implement it yourself. Dilek Özgü wrote: Hi I want to format a number using a mask like this : ###,###,###.## double a; a = 19000.50; I will print a value as 19,000.50 or 125000.40 = 125,000.40 Is there any function for doing this (formatting

SyncComplete Notifictation

2005-05-13 Thread Scott Erickson
Im having problems with the SyncComplete notification. Ive tried 3 different ways to deal with the notification when its sent. The first was to do a UIAppSwitch(), the 2nd was to do a AppLaunch() and the 3rd was a BroadcastDeferred(). All three are causing a soft reset at some point. Ive

re: Data alignment problem

2005-05-13 Thread Stadin, Benjamin
I can confirm this. I had the same problem some weeks ago. Benjamin -- 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-13 Thread Ben Combee
You could write your own header, copying out the key parts of the palmOne SDK... Thats about it. -- from Ben's Palm Tungsten C -Original Message- From: Dr. Vesselin Bontchev [EMAIL PROTECTED] Sent: Fri, 13 May 2005 10:07:27 GMT Subject: re: 5-way navigation on Tungsten E OK, Ben,

re: Data alignment problem

2005-05-13 Thread Ben Combee
That macro was defined for PNO ARM code which has 32-bit ints. 68K has 2-byte alignment requirements... I just write my own macro or use MemMove. -- from Ben's Palm Tungsten C -Original Message- From: Dr. Vesselin Bontchev [EMAIL PROTECTED] Sent: Fri, 13 May 2005 11:45:44 GMT Subject:

re: Data alignment problem

2005-05-13 Thread Stadin, Benjamin
Thanks Ben. Do you know whether MemMove or that Macro is faster on both, 68K and ARM? I've a lot of MemMoves in loops. Benjamin -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Expanded Mode Shared Libraries

2005-05-13 Thread rich
According to Ben Combee's white paper on expanded mode, you can't activate expanded mode when building a shared library, but they were working on it for a future release (This was as of CW 8, I believe.) It doesn't appear to be in the current CW either, unless I've missed something. Does

re: Data alignment problem

2005-05-13 Thread Ben Combee
At 08:58 AM 5/13/2005, you wrote: Thanks Ben. Do you know whether MemMove or that Macro is faster on both, 68K and ARM? I've a lot of MemMoves in loops. A macro would likely be faster for moving one value. Using one MemMove would be faster than a lot of macros for adjacent values, but I don't

USB Device Not Recognized.

2005-05-13 Thread Mansingka, Dipanshu Sushilkumar
One of the USB devices attached to this computer has malfunctioned, and Windows does not recognize it. For assistance in solving this problem, click this message. I am developing usb application. How to resolve this problem. The port is open. and waiting for event from the desktop. Regards.

Re: Expanded Mode Shared Libraries

2005-05-13 Thread Ben Combee
At 09:17 AM 5/13/2005, you wrote: According to Ben Combee's white paper on expanded mode, you can't activate expanded mode when building a shared library, but they were working on it for a future release (This was as of CW 8, I believe.) It doesn't appear to be in the current CW either, unless

So SSL really doesn't work with non-blocking sockets?

2005-05-13 Thread Colin Lawrence
Given that these previous posts were over a year ago and there has been no response, I'm reluctantly forced to conclude that there's no way to get SSL working using non-blocking sockets. Coupled with the fact that SslPeek blocks when there's no data (the folks at Berkley must cringe when they

RE: So SSL really doesn't work with non-blocking sockets?

2005-05-13 Thread Hays, Jonathan \(GE Infrastructure\)
Colin, I'm not familiar with the inner workings of SSL. What does it rely on that doesn't seem to be supported by NetLib? -Jon --- Jonathan Hays Palm OS Certified Developer http://hazelware.luggle.com ---

RE: USB Device Not Recognized.

2005-05-13 Thread Hays, Jonathan \(GE Infrastructure\)
Dipanshu, I'm afraid you'll have to provide a little more information. What type of device are you trying to connect to? What are you trying to do? What have you done so far? Are there any parts you have working already? -Jon --- Jonathan Hays Palm

Screen size

2005-05-13 Thread Andy Bell
Hi All, How do I get the screen size of the device? Thanks in advance Andy -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

My appologies for a lack of context.

2005-05-13 Thread Colin Lawrence
I would have phrased my last post differently but I was expecting the response to be part of an existing thread. I was responding to the following statement/post: Tony Yat-Tung Cheung wrote: Jason Freund wrote: The only way I could get the Ssl routines to communicate at all with my server

Re: Screen size

2005-05-13 Thread Robert Moynihan
Andy Bell wrote: Hi All, How do I get the screen size of the device? Thanks in advance Andy I do this (feed it TRUE for width, FALSE for height): UInt8 ScreenSize(Boolean width){ CoorddrawAreaHeightCoords, drawAreaWidthCoords; WinGetDisplayExtent( drawAreaWidthCoords,

Re: Problems with GCC -O3 optimization

2005-05-13 Thread Logan Shaw
BrownB wrote: 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

re: deploy my application and conduit

2005-05-13 Thread kolev
There are bunch of installers already available for Palm OS; the first one (and presumably the most popular) is our Install Expert aka Pilot Catapult (www.installexpert.com), which, of course, I shamelessly recommend :-) The latest one I know of is the Palm Source's own installer PSI

How to find another applications Creator ID ??

2005-05-13 Thread Roger Wallerius
Hi, How can I launch a commercial application from my own application if I do not know its Creator ID ? Are all comercial applications Creator ID's listed somewhere ? /BR Roger -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see

Re: How to find another applications Creator ID ??

2005-05-13 Thread Donald C. Kirker
There should be a way to check it online through PalmSource's Resource Pavilion. Regards, Donald Kirker Roger Wallerius [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, How can I launch a commercial application from my own application if I do not know its Creator ID ? Are all

Re: How to find another applications Creator ID ??

2005-05-13 Thread Robert Moynihan
But, my question would be: why would you try to launch something about which you didn't know the crID? I don't understand that. What DO you know about this app that you want to launch? You could certainly look at all 'appl' type databases and assess their database names. I would think that,

re: USB Device Not Recognized.

2005-05-13 Thread roderick young
This is a general message that Windows puts out, in my experience, usually when USB communication is getting disrupted. If the symptom is that your PDA once could communicate with your PC, but no longer can, it may be that your USB port on the PC (and especially, some notebooks are vulnerable

re: Problems with GCC -O3 optimization

2005-05-13 Thread roderick young
Yes, this is a known issue when you enable inlining of code, and have a multi-segment program. A few months ago, I posted something on this bug in the Tools forum. The bug has been filed on the gcc database, but I don't know if anyone is actually working to fix it. -O3 isn't all that good,

How much space left on the Storage heap?

2005-05-13 Thread roderick young
I'm having trouble understanding the help documentation included with PODS. My task is, I want to create a (possibly large) database on the storage heap (as opposed to a VFS memory card), and I want to know if there is enough free space to hold it. I see a MemCardInfo() API, is that what I

Re: How do you calculate device coordinates for use with EvtEnqueuePenPoint

2005-05-13 Thread RVRoadie
Never did come up with a formula. So used the following code to find the relationship between screen coordinates and digitizer coordinates. Not very elegant, but workable. #define maxDigiX 160// Garmin iQue 3600 screen size #define maxDigiY 225 Coord digiX[maxDigiX],

RE: Zire 31 OS / Leandro

2005-05-13 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 / Bob

2005-05-13 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 Len wrote: