Force numeric field on Treo

2007-07-23 Thread Ed Greenberg
On the Treo (mine is a 700p) when you are in the Contacts app, the phone number fields start off with the device set in num-lock (or symbol-lock if you will.) How can I emulate this behavior in my app. If the field expects digits, I'd like to set this mode for the user automatically. Many th

RE: Using MemHandleLock in C++

2007-07-23 Thread Jeremy Swanson
Thanks guys. That worked. I gotta say, this forum has probably got to be one of the most helpful places I've been on the net. You guys rock! No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.10.11/909 - Release Date: 7/20/2007 4:39 PM

Re: Using MemHandleLock in C++

2007-07-23 Thread Garth Wimbush
MemHandleLock() returns a pointer to a chunk of memory with unknown type (void *). To copy this pointer to a known type, you must cast it to that type, since C++ requires explicit casting. On Tuesday 24 July 2007 08:54:06 Jeremy Swanson wrote: > Mystring is initialized with > > Char* mystring; >

Re: Using MemHandleLock in C++

2007-07-23 Thread Dmitry Grinberg
Because C++ does not allow implicit cast from void* to something that is not void*. Just add (Char*) before MemHandleLock, and it will compile. This same line will compile in C as is, because C is more lenient with void* casts On 7/23/07, Jeremy Swanson <[EMAIL PROTECTED]> wrote: Mystring is ini

RE: Using MemHandleLock in C++

2007-07-23 Thread Jeremy Swanson
Mystring is initialized with Char* mystring; It is a pointer by definition, and as far as I know, would not require any conversion. Why is this happening? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ravi.Patel Sent: Monday, July 23, 2007 6:41 PM To

RE: Using MemHandleLock in C++

2007-07-23 Thread Ravi.Patel
implicit conversations are forbidden. explicit conversations are not mystring = (std::string*/char*) MemHandleLock((void *)mhandle); or better yet use static_cast(MemHandleLock((void *)mhandle)); Ravi -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMA

Using MemHandleLock in C++

2007-07-23 Thread jswanson
I am now using C++ properly thanks to all of your help. However, when I use the following statement, mystring = MemHandleLock((void *)mhandle); it returns the errors, ANSI C++ forbids implicit conversion from 'void *' in argument passing ANSI C++ forbids implicit conversion from 'void *' in as

RE: Testing with the Ringer Switch

2007-07-23 Thread Stephen H.S. Lee
Thanks for your information very much. How about sample codes or documentation that is related to Treo programming especially for handling attention effects with different phone settings? Any experiences that worth to share? I have read documents that come with the SDK, it seems that there is no

Re: Create a simple palm db on PC for manual transfer

2007-07-23 Thread Bodo Wenzel
You might like to look at "par" by David Williams. It is a tool to work with Palm databases, both PDB and PRC. The source code is available. Bodo -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/

Re: RE: Trouble with classes

2007-07-23 Thread helen . khais
I am on a honeymoon vacation from July 16th until July 30th. For all urgent inquiries you may contact Maria Dyatlova ([EMAIL PROTECTED]) Thanks and Best regards, Helen -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/devel

RE: Trouble with classes

2007-07-23 Thread luis maldonado
If you are using CW, then you can compile your programs with C++, using the palm .h headers. One of the HS.h header files will give plenty of errors because an enum dealing with the phone code is incorrectly terminated with a comma(,) on the last element of the enum. Otherwise you should be ok.

RE: Trouble with classes

2007-07-23 Thread Roger Stringer
At 04:15 AM 7/23/2007, you wrote: Subject: RE: Trouble with classes From: [EMAIL PROTECTED] Date: Sun, 22 Jul 2007 15:27:18 - X-Message-Number: 6 Is there a good place where I can check to see which items should be C and which ones C++? What I am getting from the last post was that the he