String to Date

2002-06-04 Thread Ai Lee Tang
hi all, How do i convert a string to datetype format? Your help is much appreciated. rgds, ailee _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- For information on using the Palm Developer Forums, or

Re: Newbee: Codewarrior & virtual methods.

2002-06-04 Thread Alexey Chen
Oh, Yes of course! :) > > void opreator delete(void* ptr) > > { > > MemPtrFree(ptr); > > } > > Actually you also need > > if (ptr != NULL) > > before the MemPtrFree call, to be a legal C++ operator delete. > > -slj- > > -- For information on using the Palm Developer Forums, or t

INet lib .......... ???? help

2002-06-04 Thread Yogaramanan
hi all, Is possible to install INetLib separately in any Palm which doesn't have that ?. Can any one help me to solve this ? thanks yogaramanan.t -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: INet lib .......... ???? help

2002-06-04 Thread Akhilesh Singh
Yes, it can be installed. The installation prcs are available at PalmOS.com. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Yogaramanan Sent: Tuesday, June 04, 2002 4:26 PM To: Palm Developer Forum Subject: INet lib .. help hi all, Is poss

Writing Data to AddressDB

2002-06-04 Thread [EMAIL PROTECTED]
HI, I am working on a palm application where in i have to update the contact list onto palm's AddressDB database any clue as to how i have to go about it, does the Database has any kind of structure, i used api's DmNewRecord and DmWrite for adding the data but its not positioning itself at the

Glue function for DmFindSortPosition

2002-06-04 Thread Thomas Ward
Dear Palm Folks, I asked Danny Epstein a question regarding this, and he suggested I post this "so that David Fedor and others responsible for the glue library can take in under consideration." I was wondering if we might be able to get a Glue function for DmFindSortPosition. The problem with Dm

List draw routine

2002-06-04 Thread Paul Gibson
I have 3 list draw routine's, all with prototypes like: static void DrawOneItemInList(UInt16 itemNumber, RectanglePtr rec, Char *text); The first draw routine that I declare with LstSetDrawProcedure will give me a compile error forcing a change from Char *text to Char **text. This seems to be t

RE: sound bug on NR70 series devices

2002-06-04 Thread Kevin OKeefe
Hmm... You must hi-res enabled... ;^) Kevin -Original Message- From: Bill Kirby [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 8:58 PM To: Palm Developer Forum Subject: sound bug on NR70 series devices On the Sony NR70, when playing sounds with the SndDoCmd() function, I ge

RE: sound bug on NR70 series devices

2002-06-04 Thread Mike McCollister
Kevin, I really don't think that is the case. If hi-res mode were to change the sound, it would change it by a factor of four, not two. Mike McCollister --- Kevin OKeefe <[EMAIL PROTECTED]> wrote: > Hmm... You must hi-res enabled... ;^) > > Kevin > > -Original Message- > From: Bil

RE: Glue function for DmFindSortPosition

2002-06-04 Thread Mike Shubeck
"your version will have to grab and release the Dm semaphore for each iteration in the binary search, whereas DmFindSortPosition can grab it once at the beginning." For those of us that have seen very little of the Palm OS internals, what exactly does "Dm semaphore" refer to? -- For informat

Auto retry connection for TCP?

2002-06-04 Thread Enrico Pavesi
A customer that will buy spt 1800 has the need to have a program that tries to establish a connection using ras, and if there is a problem retry for 3 or 4 times and when a net is on launch another program. Is there a way to make this ? It wants even to disable the modification of date and time

RE: sound bug on NR70 series devices

2002-06-04 Thread Bill Kirby
At 08:40 AM 6/4/2002 -0700, you wrote: >Kevin, > >I really don't think that is the case. If hi-res mode >were to change the sound, it would change it by a >factor of four, not two. Only if it were two dimensional sound. I'm just playing one dimensional sounds. :) -- Bill Kirby Electron Hut w

Re: List draw routine

2002-06-04 Thread Joe Malone
--- Paul Gibson <[EMAIL PROTECTED]> wrote: > I have 3 list draw routine's, all with prototypes like: > > static void DrawOneItemInList(UInt16 itemNumber, >RectanglePtr rec, Char *text); > > The first draw routine that I declare with LstSetDrawProcedure > will give me a compile error forcin

RE: List draw routine

2002-06-04 Thread Paul Gibson
>> Are you sure that all three custom draw routines are being >> used in a call to LstSetDrawFunction()? Absolutely sure. Therefore, the cause of my confusion. Why would these not also fail at the same point (ie, when they are passed to LstSetDrawFunction (not Procedure as I incorrectly stated)

RE: Glue function for DmFindSortPosition

2002-06-04 Thread Danny Epstein
> For those of us that have seen very little of the Palm OS internals, what > exactly does "Dm semaphore" refer to? The storage heap is protected from accidental modification. When you call a Data Manager API that modifies the storage heap, it temporarily allows write access to the storage heap.

RE: Glue function for DmFindSortPosition

2002-06-04 Thread Mike Shubeck
That's what I thought, you had me questioning my understanding of Palm OS memory management. It turned out to be a good thing though because I quick reread the Palm OS Memory Architecture white paper (http://oasis.palm.com/dev/kb/papers/1145.cfm) and that answered some questions I had about effic

RE: Beaming

2002-06-04 Thread Danny Epstein
> I need to beam records from multiple database and was wondering > what the best way was of figuring out which database the record > needs to be entered into on the receiving side. > ... > Do I just place a header on the record before I beam it or what? It sounds like you're sending your data "r

RE: Call Global Find Programmatically?

2002-06-04 Thread Danny Epstein
> I want to pass a string from my application to the global find, and have it > display the search results. Can I do this? The Find dialog uses the selection in the active field, if any, to populate the search string field. It trims this string if necessary. If there isn't an active field, it us

RE: Can I turn off user prompt programmatically when using Local Exchange Library?

2002-06-04 Thread Danny Epstein
> I want to send a vcard from my app to the Address app without requiring the > user to 'accept' it...can I turn off the user prompt programmatically? In Palm OS 3.5, setting the localMode flag to true disables the "do you wanna accept" dialog. The app is still sent the sysAppLaunchCmdExgAskUser

RE: App launcher info

2002-06-04 Thread Danny Epstein
> Could anyone point me to where I can get information about Palm's built in > App Launcher? > > I'm looking for layout details for the 2 icon views so I my program can > navigate and select programs much like the Sony Jog Dial or Handera can do. The source code for the launcher is not included

RE: DmResizeRecord question...

2002-06-04 Thread Danny Epstein
> After successfully resizing a record, is the index still the same? Yes. However, any edit to a record may invalidate the current sort order. So you may want to move the record once you've resized it and changed its contents. > Another question: is there any advantage to using DmNewRecord, > Dm

RE: List draw routine

2002-06-04 Thread Joe Malone
--- Paul Gibson <[EMAIL PROTECTED]> wrote: > >> Are you sure that all three custom draw routines are being > >> used in a call to LstSetDrawFunction()? > > Absolutely sure. Therefore, the cause of my confusion. > Why would these not also fail at the same point (ie, when > they are passed to L

RE: Table select area

2002-06-04 Thread Danny Epstein
> I use a customDraw call back to set data in a table. This call data > display data on 2 line in the cell. But I only can select the cell on > the first line. How can I increase the select area of the cell. In Palm OS 4.0 and later, you can use tallCustomTableItem. For details, search the arch

Palm OS 5 and Multi-Channel MIDI

2002-06-04 Thread Mike McCollister
Does Palm OS 5 support multiple channel MIDI? If so, how can I generate sounds on the fly? Thanks, Mike McCollister __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- For information on using the

RE: EvtEventAvail() == true for nilEvents?

2002-06-04 Thread Danny Epstein
> The documentation seems to indicate that EvtEventAvail returns true if an > event is available, false otherwise. I had assumed this included nilEvent > but I'm not seeing it. There are three event queues in Palm OS: the key queue, the pen queue, and the main event queue. It looks like EvtEvent

RE: Baud rate for IR

2002-06-04 Thread Danny Epstein
> We are trying to communicate thru IR to MCP2150 chip usinf raw IR > Comm. We have tried with 57200 bps and we are able to connect till IrLMP. > And we were able to send data. But when we tried to connect with 90600 bps > we are unable to go till IrLMP. This question belongs on comm-dev-forum. I

RE: POSE IR over serial

2002-06-04 Thread Danny Epstein
> I'm developing on Mac OS X and would like to be able to > test some two way IR code using POSE. This thread probably belongs on tools-forum or comm-dev-forum. You're using the IR Library, so I doubt Poser's redirection will help you. Shortcut-dot-t won't help either; it loops back at the (high

HTTP 1.1 with INetLib

2002-06-04 Thread Sudeep Narain
Greetings, I am trying to do a HTTP POST using INetLib. The POST gets to the server fine but its getting dropped because the server is very picky. I have looked through the documentation on INetLib but did not find a way to include HTTP 1.1 in the request headers. I have also examined the INetLow

RE: 2nd post - PDI Usage in 3.5

2002-06-04 Thread Danny Epstein
> Bottom line: should I skip the PDI sample code in 4.0, and use 3.5 sample > code for writing out PIM objects if I want my app to work on PalmOS 3.5? That's probably your best bet. Until you require Palm OS 4.0 as a minimum, there isn't much point using the PDI/UDA stuff in my opinion. However,

RE: 2nd post - Exchange Dialog Question

2002-06-04 Thread Danny Epstein
> Is there a way for me (as an Exchange Manager user) to > prompt the Local Exchange Library to skip the confirmation? See my post from this morning: http://www.escribe.com/computing/pcpqa/m59760.html -- Danny @ PalmSource -- For information on using the Palm Developer Forums, or to unsubscri

Ok, Sony Clie Development Questions

2002-06-04 Thread Mike Davis
Ok, it's time to make a decision. I'm considering modifying my applications to run on the high resolution Sony Clie NR-70V and I have a few questions. There are 3 areas of concern. Currently I am using PRC-Tools (latest version as of a month ago) with PalmOS 3.5 and 4.0. It has been working

RE: Can I call Global Find from my app?

2002-06-04 Thread Danny Epstein
> Can I call the Global Find from my application, and pass it a string to find > (so it will bypass the user-input step and go right to the find results)? In case this morning's post didn't make it obvious, there is no API to go straight to the results. - Danny -- For information on using the P

RE: Exchange Dialog

2002-06-04 Thread Danny Epstein
> ... my app needs to run on 3.5 and 4.0. If I'm setting the Exchange > Socket to local mode (for 3.5) via > >exgSocket.localMode = 1; That'll work fine in Palm OS 4.0 as well. If you don't specify a URL scheme, it'll assume "_beam" unless localMode is 1, in which case it'll assume "_local".

RE: Hey, IR comm gurus... help!

2002-06-04 Thread Danny Epstein
Another comm-dev-forum question... > 1. Do I need to call EvtGetEvent regularly to make IR communications > reliable? As John Schettino wrote, yes! > 2. Is there a function other than EvtGetEvent that I can use to give time to > the IR media? If you can get away with it, put up a progress dial

Why LstGetSelection() doesn't return noListSelection? Please help

2002-06-04 Thread ThuNguyet Nguyen
Hello all, Please tell me what I do wrong. I am using CW 8 (update to 8.2) on the POSE ver 3.5 (m505 skin). I have a dialog form that has a popup trigger associated with a list. Content of the list is dynamically created inside the program. If user selects the 1st item in the list, LstGetSele

RE: built-in apps records

2002-06-04 Thread Danny Epstein
> I know that its possible to use the Data Manager functions to change the > built in apps' databases since I have the record formats in the SDK. Maybe > this is obvious to everyone else, but is it possible to actually call, for > example, the Datebook functions in DateDB.c like "ApptChangeRecord"

Re: Why LstGetSelection() doesn't return noListSelection? Please help

2002-06-04 Thread John Leung
When you initialize your list, did you use LstSetSelection() and initialize the selection to noListSelection? On 4 Jun 2002 at 16:37, ThuNguyet Nguyen wrote: > Hello all, > > Please tell me what I do wrong. > > I am using CW 8 (update to 8.2) on the POSE ver 3.5 (m505 skin). > > I have a di

Re: Hey, IR comm gurus... help!

2002-06-04 Thread C. B. Schofield
> I don't have any specifics, but IrDA is definitely timing sensitive. Thanks for the info... It looks like all of my problems went away once I started giving more time to the event loop during IR comm. Craig -- For information on using the Palm Developer Forums, or to unsubscribe, please see

RE: howto use Exchange Manager from a Library

2002-06-04 Thread Danny Epstein
> I am trying to create a library(shared or static) which uses OBEX > (Exchange Manager?) to do the communication via bluetooth or IR. I don't see any reason why you couldn't send (ExgPut) from a shared library, but receiving is another story. The Exchange Manager uses launch codes to communicate

inetSockSettingContentTypeID

2002-06-04 Thread Sudeep Narain
Greetings, I want to confirm that the inetSockSettingContentTypeID can be changed reliably by an application. In InetMgr.h (4.0 sdk) it is listed as: inetSockSettingContentTypeID,// (R) UInt32 (INetContentTypeEnum) Also in Palm OS Reference (4.0 Docs, Page #1632 or Page #1848 in the 5.0 D

Re: sound bug on NR70 series devices

2002-06-04 Thread SH Luk
Would it be affected by the 66MHz CPU? "Bill Kirby" <[EMAIL PROTECTED]> ???:[EMAIL PROTECTED] > > At 08:40 AM 6/4/2002 -0700, you wrote: > >Kevin, > > > >I really don't think that is the case. If hi-res mode > >were to change the sound, it would change it by a > >factor of four, not two. > >

Re: sound bug on NR70 series devices

2002-06-04 Thread Bill Kirby
At 09:40 AM 6/5/2002 +0800, you wrote: >Would it be affected by the 66MHz CPU? That's what I thought initially, but I got a reply from Sony Dev Support that said they verified the problem and said it also exists on other older devices which do not use the 66mhz CPU. They think it is a bug in t

Address ERROR

2002-06-04 Thread LZH
Debugging my Program,Emulator Poped a dialog with error information : Applications(3.0.1H)just read from memory location 0x1317,causing an address error. An "address error"means that the application accessed a 2-or 4 -byte value at an odd(i.e..not even)memory address. I don't

RE: Hey, IR comm gurus... help!

2002-06-04 Thread Paturi, Ramesh P (IndSys)
Hi: I am still looking for a breakthru in IR comm. Can u send me the snippet of code to make my life a bit easy. Your help in this would certainly be appreciated. Thanks and regards Ramesh -Original Message- From: C. B. Schofield [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June

RE: INet lib .......... ???? help

2002-06-04 Thread Yogaramanan
Hi, where can i find that INetLib prc ? Whats the prc name? and which location ? as far as i concern i cudn't find those. since i'm a biginner , pls help me in detail ! thanks in advance by yogaramanan.t -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of

RE: INet lib .......... ???? help

2002-06-04 Thread Oliver
> Hi, > where can i find that INetLib prc ? Whats the prc > name? and which location ? > as far as i concern i cudn't find those. > > since i'm a biginner , pls help me in detail ! I suspect you'll have to get (buy) the Mobile Internet Kit, available from Palm: http://www.palm.com/software/mob

RE: List draw routine

2002-06-04 Thread Ben Combee
In article <88034@palm-dev-forum>, [EMAIL PROTECTED] says... > > >> Are you sure that all three custom draw routines are being > >> used in a call to LstSetDrawFunction()? > > Absolutely sure. Therefore, the cause of my confusion. Why would these not > also fail at the same point (ie, when the

PILRC 2.9 BitmapFamilyEx Density 2

2002-06-04 Thread r. zane rutledge
Regarding the latest pilrc 2.9p5... Been going through the paces with high-density bitmaps, but after exchanging emails with some folks at Palm I don't understand some limitations regarding double-density bitmaps created with the latest pilrc2.9. Why must the "DENSITY 2" flag only apply to membe