Uniquely identifying a record in the database.

2002-03-06 Thread Shawn
Hi all, How to get the unique record id of a record present in a database. How does the system identify a particular record uniquely. Thanks sha __ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo

Can I add my application at startup

2002-03-06 Thread Prasad Brid
Please help me on following : I want to add my application in the startup of Palm device. Thanks Prasad -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: Palm Find Function

2002-03-06 Thread quennie
> Just make sure that all code that supports global find is in the main > segment. But my code is oredi fix and segmented. For example, retrieve a data from a contact DB or from a ClientInfo DB. How am i going to disegment it and put it in main segment? since all the different segment is exceed

Re: Palm Find Function

2002-03-06 Thread Dave Carrigan
"quennie" <[EMAIL PROTECTED]> writes: > Does anyone tell me that, Is segmented application can do some global find > function? As i understand that the code must not be in segmented file. Is > there any other way to do that since i'm using the latest version of > Falch.net which have this Mul

Has anyone cleared Palm Certification??

2002-03-06 Thread Raghvendra Singh
Hi, Can anyone suggest some study materials for the preparation of the "Palm Powered Certified Developer" test? Also, is there anybody who has cleared this test? thanks & regards Raghvendra. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.p

Array of MemHandles

2002-03-06 Thread Low Pui Kuen
Hi, I have problem to lock the array of MemHandles. I am using the ApptInfoType *ApptList to lock the array of the MemHandles. I want to read the data from the ApptList, but it seems that I have access the memory wrongly. Thank you in advance. MemHandle apptLists[7]; ApptInfoType *apptList; A

Palm Find Function

2002-03-06 Thread quennie
Hi, everyone... Does anyone tell me that, Is segmented application can do some global find function? As i understand that the code must not be in segmented file. Is there any other way to do that since i'm using the latest version of Falch.net which have this Multilink feature, but it is no av

Re: Please help me -RS-232 communication error .

2002-03-06 Thread suresh
hi Thank you.After i changed the pin configuration i got the eror corrected. The Palm serial cable is wired as a modem device (DCE). So pin #2 Rx is a output, pin #3 is a input. A regular desktop computer is wires as Data Terminal (DTE). The same pin numbers are used but Rx is a input, Tx is

Re: Help with error '... just read from memory location XXX... in Memory manager...'

2002-03-06 Thread Lance
"Kevin OKeefe" <[EMAIL PROTECTED]> wrote in message news:78994@palm-dev-forum... producted, huh... ;^) -Original Message- From: Ben Combee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 6:08 PM To: Palm Developer Forum Subject: Re: Help with error '... just read from memor

Still getting error '... just read from memory location XXX... in Memory manager...'

2002-03-06 Thread Lance
Ben, Thanks for the quick response although this doesn't seem to be the culprit. The problem isn't that the line... FrmCustomAlert(1100, StrIToA(&pcharChar,totalBytesReceived), Temp, ""); ...doesn't work, the problem is that the code works fine when it is there but breaks when I remove this li

Re: FrmPopupForm problem

2002-03-06 Thread Todd Walk
I just tested the code on my IIIc, and it worked exactly the same as in the emulator. It's also handling multiple openings/closings correctly. I don't know if a frmCloseEvent is being sent, but for this particular form, it's fine being cleaned up by the AppStop FrmCloseAllForm. (It's just anoth

RE: Help with error '... just read from memory location XXX... in Memory manager...'

2002-03-06 Thread Kevin OKeefe
producted, huh... ;^) -Original Message- From: Ben Combee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 6:08 PM To: Palm Developer Forum Subject: Re: Help with error '... just read from memory location XXX... in Memory manager...' > FrmCustomAlert(1100, StrIToA(&pcha

Re: Help with error '... just read from memory location XXX... in Memory manager...'

2002-03-06 Thread Ben Combee
> FrmCustomAlert(1100, StrIToA(&pcharChar,totalBytesReceived), > (Char*)&Temp, ""); pcharChar is just a single Char, not a buffer large enough to hold the string producted by totalBytesReceived. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http:/

RE: List/Table question

2002-03-06 Thread Dave Brown
Ben, Oop's! Yea, I meant column. Dave > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Ben > Combee > Sent: Wednesday, March 06, 2002 5:25 PM > To: Palm Developer Forum > Subject: Re: List/Table question > > > > "Dave Brown" <[EMAIL PROTECTED]>

Help with error '... just read from memory location XXX... in Memory manager...'

2002-03-06 Thread Lance
At the risk of getting bawled out for not knowing C, I respectfully request help with an error I am receiving. The code snippet below is used to: 1) read in a web page from an open socket, 2) display the resulting HTTP Response in an alert box, and 3) iterate through the HTTP response string and

Re: List/Table question

2002-03-06 Thread Ben Combee
"Dave Brown" <[EMAIL PROTECTED]> wrote in message news:78951@palm-dev-forum... > > I just had a thought. I could have a table with one row and draw the items manually as I would with a list. That may also work with > CGrid from POL. You mean one column, right? This is what I've done in a schedu

Re: AMX kernel in Palm OS 3.x

2002-03-06 Thread Jim Schram
At 10:44 PM +0100 2002/03/06, Aaron Ardiri wrote: > i guess we could get away with just checking for pre 5.0 units > is there any "secret" way of detecting the AMX kernel *g* I'd recommend your app check to see if the particular AMX traps you want to call are "unimplemented" -- using the same

Problems with FldInsert

2002-03-06 Thread Salma Saad
I am having a hard time understanding Field's behaviour. I have a table where the user inputs data using buttons. For example tapping a button labelled "1" should insert "1" at the insertion point position of the tables active field. I intercept the event when they press "1" and then use Fld

Re: AMX kernel in Palm OS 3.x

2002-03-06 Thread Aaron Ardiri
> As I thought... Palm OS 5 does not (cannot) support the AMX kernel system > traps. This actually makes sense when you think about what it would mean > to fork a 68k process from within an ARM kernel... the emulator would > have to be multi-threaded and re-entrant among other things. :oP makes

Re: AMX kernel in Palm OS 3.x

2002-03-06 Thread Jim Schram
At 9:19 PM +0100 2002/03/06, Aaron Ardiri wrote: > i would be interested in your results for personal enjoyment :) we did > not release any software using timers... yet :P As I thought... Palm OS 5 does not (cannot) support the AMX kernel system traps. This actually makes sense when you think

RE: List/Table question

2002-03-06 Thread Scott Johnson
> From: Dave Brown [mailto:[EMAIL PROTECTED]] > Based on the fact the height is higher than normal it seems > a standard list is out since the height of a [row] seems fixed > (even with my own draw method). Actually the row height is based on the list's font. So you could set the font to be a ta

RE: List/Table question

2002-03-06 Thread Dave Brown
I just had a thought. I could have a table with one row and draw the items manually as I would with a list. That may also work with CGrid from POL. Any better ideas? Dave Hi- I'm developing an app that needs a list of items. Each row will contain a checkbox and the height of the row will be

List/Table question

2002-03-06 Thread Dave Brown
Hi- I'm developing an app that needs a list of items. Each row will contain a checkbox and the height of the row will be higher than standard. Based on the fact the height is higher than normal it seems a standard list is out since the height of a list seems fixed (even with my own draw method)

RE: RE: questions

2002-03-06 Thread Danny Epstein
> i dun really get what you are trying to say. I was just giving you some hints, but it sounds like they weren't sufficient. If you can tell us what you're trying to do in more detail, we may be able to provide better answers. It sounds like you're using a time-limited demo and you want to prev

Re: AMX kernel in Palm OS 3.x

2002-03-06 Thread Aaron Ardiri
On Wed, 6 Mar 2002, Jim Schram wrote: > > i have successfully gotten timers working on previous versions of the os. > > now, your telling me i have to decompile the new roms to get around these > > limitations? :) or, did palm leave the API calls the same? :P > > Well as you know, the kernel AP

Re: Strange ctlSelect behavior in OS 3.5

2002-03-06 Thread C Srinivas
The following is the rcp file I am using: FORM ID ReportsForm AT (0 0 160 160) BEGIN TITLE "Daily Reports" LABEL "Select date for new report: " ID Reports_DateLabel AT (0 16) SELECTORTRIGGER " " ID Reports_DateSel AT (PREVLEFT+2 PREVBOTTOM+2 60 1

How to put SoftKeyStroke into queue

2002-03-06 Thread Mike McCollister
Hi, Does anyone know how to put a SoftKeyStroke into the event queue so that I can fool myself into thinking that I got a soft key stroke? Thanks, Mike McCollister __ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://m

FrmGetObjectPtr doesn't get Gadget Ptr

2002-03-06 Thread Matt Disher (TiBook)
O-Tay, Working with extended Gadgets, and I want to trigger a redraw. FormGadgetType*theGadgetPtr; theGadgetPtr = GetObjectPtr( MainFooGadget ); GadgetReDraw(theGadgetPtr); (returns a -1 instead of a ptr to the gadget) The sample code for extended gadgets does just this in the Kb file

Emulator and Simulator handling of the Power button

2002-03-06 Thread Thomas Ward
Hi, I have an application that registers for the sysNotifyLateWakeupEvent notification. When the notification is received, some information is displayed to the user. I have some code to handle the case where the user turns on his handheld via one of the application buttons, as opposed to via the

Re: AMX kernel in Palm OS 3.x

2002-03-06 Thread Jim Schram
At 3:32 AM +0100 2002/03/06, Aaron Ardiri wrote: > i have successfully gotten timers working on previous versions of the os. > now, your telling me i have to decompile the new roms to get around these > limitations? :) or, did palm leave the API calls the same? :P Well as you know, the kernel

Adding these glue functions

2002-03-06 Thread Trevor Menagh
Can Palm add the following two glue functions: UInt16 FrmGlueGetObjectIndexFromPtr (const FormType* formP, void* objP) { if (gRomVersion >= romVersion40) return FrmGetObjectIndexFromPtr (formP, objP); else { UInt16 i; for (i

Resolution change makes edit field unusable

2002-03-06 Thread Chris Garvey
This may not be the right forum for this becuase the app in question is written in Satellite Forms 4.01 enterprise. Any help, or direction to the correct forum would be appreciated. I have several fields on a form that when, "tapped" launch another form with a list to select records. This work

Re: How to Tell I'm running on a Sumsung i300

2002-03-06 Thread Steve Mann
At 10:02 AM -0800 3/6/02, Hal Mueller wrote: Great page Hal. Let me add to your table. For the Kyocera 6035, the OEM ID is 'qcom' and the device ID is 'qc20'. Regards, Steve Mann -- Creative Digital Publishing Inc. 1315 Palm Street, San Luis Obispo, CA 93401-3117 --

Re: How to Tell I'm running on a Sumsung i300

2002-03-06 Thread Hal Mueller
UInt32 deviceID, companyID, miscFlags; Err devErr, compErr, miscErr; devErr = FtrGet(sysFtrCreator, sysFtrNumOEMDeviceID, &deviceID); compErr = FtrGet(sysFtrCreator, sysFtrNumOEMComapnyID, &companyID); The Samsung i-300 has values 'smsn' for sysFtrNumOEMCompanyID, and 'phix' for sysFtrNumOEMDev

RE: How to Tell I'm running on a Sumsung i300

2002-03-06 Thread Trevor Menagh
Here you go: if (!DmGetNextDatabaseByTypeCreator (true, &searchInfo, 'appl', 'PhAp', true, &cardNo, &dbID)) { gbDialerPresent = true; // i300 phone. } A winner is you! trv -- Trevor Menagh | Software Engineer [EMAIL PROTECTED] | iambic, Inc. (408) 367-1600 x20 | Advancing your ha

Is is possible that we can get form unload event

2002-03-06 Thread Prasad Brid
Please guide me on following issue : I need to trap the unload event of the form or any event which tells the form is unloaded, so that I can keep some updation of flag. Is it possible in Appforge. Thanks Prasad -- For information on using the Palm Developer Forums, or to unsubscribe, please

Re: Is it possible to automatically power off the palm device

2002-03-06 Thread Prasad Brid
Thanks for the reply. It looks this is a C code. Can you give any idea as how to do this in Appforge using VB. Thanks Prasad - Original Message - From: "Matt Disher (TiBook)" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Wednesday, March 06, 2002 10:09 PM Subj

Re: Is it possible to automatically power off the palm device

2002-03-06 Thread Matt Disher (TiBook)
See: http://oasis.palm.com/dev/kb/faq/1067.cfm Enqueue a power off key down event :-) seeChars.h #definevchrAutoOff 0x0114// power off due to inactivity timer #definevchrPowerOff 0x011E// Posted after autoOffChr or // hardPowerC

RE: Changing Menus on the fly

2002-03-06 Thread Stringer
>Subject: RE: Changing Menus on the fly >From: "Dave Mottorn" <[EMAIL PROTECTED]> >Date: Tue, 5 Mar 2002 18:57:46 -0500 >Can the simulator cope with the bar code scanners? > Right now Symbol only support OS's as recent as 3.5, though there's a rumor of a 4.x version coming available. Roger String

Fw: Is it possible to automatically power off the palm device

2002-03-06 Thread Prasad Brid
- Original Message - From: Prasad Brid To: Palm Developer Forum Sent: Wednesday, March 06, 2002 8:54 PM Subject: Is it possible to automatically power off the palm device Please help me on the following matter : Is it possible to automatically power off the palm device using any progra

Re: how can I access preferences ?

2002-03-06 Thread Dave Carrigan
"Yaniv Kalsky" <[EMAIL PROTECTED]> writes: >I'm tring to build a program that could access the preferences of the > palm. (sound, auto-off...) >does anybody now I can I do that (reading and changing)? Read the chapter on the Preferences Manager in the Palm OS Reference guide. -- Dave C

Re: Memory Manager NULL Handle Error

2002-03-06 Thread Dave Carrigan
ravikumar Amaravadi <[EMAIL PROTECTED]> writes: > We are developing an application to Encrypt the contents of MemoDB and > rewrite the cipher contents back...In the process, when MemoDB size is > of 8 KB with 10 records, we are able to encrypt and maintain the > ciphers in the Database. But when

Re: FrmPopupForm problem

2002-03-06 Thread Dave Carrigan
"Matt Disher (TiBook)" <[EMAIL PROTECTED]> writes: > Well you can, but then you would have to track winEnter/Exit events to > *KNOW* when to you're being re-entered so you can update. No you don't. If you have the PalmOS 3.5 source code, have a look at the FrmUpdateForm function. It'll probably

how can I access preferences ?

2002-03-06 Thread Yaniv Kalsky
Hi I'm tring to build a program that could access the preferences of the palm. (sound, auto-off...) does anybody now I can I do that (reading and changing)? thanks, Yaniv. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.pal

Re: FrmPopupForm problem

2002-03-06 Thread Matt Disher (TiBook)
Oh, 'T-h-a-t' FrmUpdateForm() function... :o) Well that would work :) too. -MD > From: "Philip Sheard" <[EMAIL PROTECTED]> > Organization: Checkout Marketing > Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]> > Newsgroups: palm-dev-forum > Date: Wed, 6 Mar 2002 07:16:14 - > To: "Pal

Re: FrmPopupForm problem

2002-03-06 Thread Matt Hebley
Tip from PalmSource (the conference, not the company)... Be aware that you should not rely on the save-behind and should code your form update correctly. This is especially true for devices with higher resolutions where the OS may decide to ignore the save-behind. Matt At 11:17 PM 5/3/2002 -0

Re: Alert box defaults

2002-03-06 Thread Matt Hebley
The way I understand it (and I use Constructor) is that you assign a default button to the alert form. When the user presses a hard key, your app doesn't exit immediately, instead, the alert handler returns the default button. You then process it as normal, i.e. if they press cancel, then don'

RE: Alert box defaults

2002-03-06 Thread Yu, Ken [IT]
Use the DEFAULTBUTTON tag and specify your 'cancel' button instead. -Ken > -- > From: Benjamin Brazil[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Wednesday, March 06, 2002 9:25 AM > To: Palm Developer Forum > Subject: Alert box defaults >

Re: Help : Unpacking structure

2002-03-06 Thread Kashev Georgi
You are mistaken. ApptDBRecordType has no member from ApptTimeType type. It has a pointer to such structure, which is absolutely different thing. ApptDBRecordType object does not contain memory where ApptTimeType object stored, so DmWrite(d, offset, &when, sizeof ApptTimeType)); where d is ApptDB

Re: Alert box defaults

2002-03-06 Thread Dave Lippincott
Create your own 'alert' box with an event handler. Have it trap events you don't want passed to the OS. That way pressing the buttons won't immediately exit your app while displaying an alert. or Save your data before popping up an alert. - Original Message - From: "Benjamin Brazil" <[E

Re: Please help me -RS-232 communication error .

2002-03-06 Thread Dave Lippincott
Do you have the stop bit and parity set correctly? Are you using the correct cable? You don't seem to be testing any of the serial functions for returned errors. Are they executing correctly and not returning errors? Is your external device actually sending any data? - Original Message -

Re: Memory Manager NULL Handle Error

2002-03-06 Thread ravikumar Amaravadi
Dear Sir, Thank You for valuable suggestion...I too agree with you on the fact that our application has to handle the memory efficiently...and we are working on it to eliminate the garbage variables and freeing the allocated variables properlyI hope we could get a solution... Regards, Ra

Alert box defaults

2002-03-06 Thread Benjamin Brazil
Hello, I am using an alert box to confirm that the user wishes to delete a record from a databse. The alert box works fine and so does the buttons. However if the user exits the program via the hardkeys or the home button the record gets deleted anyway. I need to define a default so that the re

RE: Memory Manager NULL Handle Error

2002-03-06 Thread Robert McKenzie
Ravi: There are three, logically separate, convenient sources of memory for a program on a PalmOS device: The stack (function locals), the dynamic heap (MemPtrNew and MemHandleNew), and the storage heap (DmNewRecord, DmNewHandle). The stack and dynamic heap are small, particularly on older OS

RE: Palm symbol set

2002-03-06 Thread He, Herman
Adrian, Sorry, I misunderstood your question. Regards, - Herman -Original Message- From: Adrian Pfisterer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 10:18 AM To: Palm Developer Forum Subject: Re: Palm symbol set My question has nothing to do with Symbol devices. I'm re

RE: Palm symbol set

2002-03-06 Thread Robert McKenzie
As given in Palm OS Programmer's API Reference, Part II: System Management, Chapter 39 Locale Manager, Locale Manager Constants (pg. 714): charEncodingAscii (ISO 646-1991) charEncodingISO8859_1 (ISO 8859 Part 1, a.k.a. ISO Latin 1) charEncodingPalmLatin (Palm OS version of MS Windows code page 1

Re: Memory Manager NULL Handle Error

2002-03-06 Thread Dave Lippincott
a) rewrite you app to be more efficient in its memory use (Pose can help find memory leaks) b) use a device with more memory (more memory == larger heap). There are several encryption apps that do what you're attempting and don't run out of heap. So I'd choose 'a'. - Original Message -

Re: how to upgrade CW

2002-03-06 Thread Dave Lippincott
Just buy the new version. - Original Message - From: "fawaz bokhari" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Wednesday, March 06, 2002 2:10 AM Subject: how to upgrade CW > Hi, > > I have Code Warrior for Palm Pilot 3. I want to > upgrade it so that I can

How to Tell I'm running on a Sumsung i300

2002-03-06 Thread Mike McCollister
Does anyone know how to tell if I am running on a Samsung i300? I don't see Samsung in the HwrMiscFlags.h file. Thanks, Mike McCollister __ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ -- For inf

Help : Unpacking structure

2002-03-06 Thread Low Pui Kuen
Hi, I have a structure which one of its members is a structure. I use the DmWrite to write the structure and the rest to the storage memory. But when I unpacked the structure, I have memory access error. What wrong have I done? Thank you in advance. /*

Re: Palm symbol set

2002-03-06 Thread Adrian Pfisterer
My question has nothing to do with Symbol devices. I'm referring to the character set used by the PalmOS (single byte only; I'll face dealing with double-byte character sets later). For most character sets the lower 128 values are consistent but the upper 128 values vary so that trying to send

RE: Palm symbol set

2002-03-06 Thread He, Herman
Check http://www.symbol.com/products/mobile_computers/mobile_palm.html -Original Message- From: Adrian Pfisterer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 1:31 AM To: Palm Developer Forum Subject: Palm symbol set What symbol set does the Palm use? I'm trying to get m

how can i pass parameters to hotsync

2002-03-06 Thread Renan LEGRAS
hello, I use CodeWarrior 6, and I try to send hotsync from my app. I use "SysUIAppSwitch" , i'd want to send hotsync with my custom parameters (using GSM parameters), but hocsync is sent with default parameters (serial connection). I have to pass a block parameters but i don't know how i can d

Re: RE: questions

2002-03-06 Thread Junyan
hi, i dun really get what you are trying to say. i have look into the documentation and found out that i could use the function, sysAppLaunchCmdTimeChange to track for changes in system time and date. but how do i use it?? and may i know what is the function that i could use for the tracking of g

RE:Problem with deleting records

2002-03-06 Thread Dinesh Kumar
Hello Shailesh, U must be using DmRemoveRecord for deleting records for this function the second parameter is the index of the record to be moved just try this: before using this function check the index whether it has reached the last record or crossed it. the error might be b/c index out