RE: Sorry for the echo

2002-03-19 Thread Yu, Ken [IT]
It's ok. I know it's difficult to contain one's excitement about the EventAnalyzerHack :) -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: Desktop HotSync Program

2002-03-15 Thread Yu, Ken [IT]
How do Pocket PC devices manage to do it? They seem to be connected to the PC at all times. -Ken -- From: Scott Johnson[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Friday, March 15, 2002 4:42 PM To: Palm Developer Forum Subject: RE:

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: Bitmap buttons on PilRC

2002-03-01 Thread Yu, Ken [IT]
Thanks guys, your suggestions were really helpful I'm changing the buttons to non-graphical with no label and using FORMBITMAP to draw the bitmap It is working fine except for one thing: On POSE debug ROMs, highlighted push buttons with bitmaps are not redrawn in the selected state when

Bitmap buttons on PilRC

2002-02-28 Thread Yu, Ken [IT]
I have a *rcp file that defines buttons with bitmaps as their labels On OS's that support bitmaps, they appear correct On OS's that do not, garbage characters appear For OS's that do not support bitmaps on buttons, is it possible to show its text label instead? (without having

RE: My own table troubles

2002-02-14 Thread Yu, Ken [IT]
You haven't specified any rows. Try: TABLE ID tbTable AT ( 5 15 150 130 ) ROWS 10 COLUMNS 4 -- From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Thursday, February 14, 2002 12:56 PM To: Palm Developer Forum Subject:

RE: Problem with removing all the records at a time

2002-01-28 Thread Yu, Ken [IT]
Oops, I meant records numbers are maintained 0 to (nRecords - 1) -Ken -- From: Low Pui Kuen[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Monday, January 28, 2002 9:13 AM To: Palm Developer Forum Subject: Problem with removing all the

RE: Problem with removing all the records at a time

2002-01-28 Thread Yu, Ken [IT]
After deletion of a record, the record index's are reassigned. They are always maintained 1 - nRecords. Try always passing index=0 to DmRemoveRecord() or delete the entire database and recreate it. -Ken -- From: Low Pui Kuen[SMTP:[EMAIL PROTECTED]] Reply To: Palm

RE: Urgent !!!

2001-12-18 Thread Yu, Ken [IT]
If you would read your mail more carefully, someone has already replied to your inquiry. Perhaps in your extreme urgency, you have overlooked it. -- From: Srinivas[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Tuesday, December 18, 2001 5:28 PM

RE: show/hide objects for OS 3.2

2001-10-19 Thread Yu, Ken [IT]
I've never encountered problems hiding and showing objects. The behavior you describe can be attributed to overwriting bounds of user memory. When I was setting the form title to a string longer than the original length, I've also seen weird stuff like this happen. Can you isolate you code to

RE: Cuting strings

2001-10-04 Thread Yu, Ken [IT]
Use a scissor. Get it? Cutting strings? Ha ha! Sorry, couldn't resist ... -- From: Aaron Ardiri[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Thursday, October 04, 2001 9:54 AM To: Palm Developer Forum Subject: Re: Cuting strings

RE: communication between .prc files

2001-10-03 Thread Yu, Ken [IT]
You can save data using the various mechanisms (database, preference, etc) that both prc's can share. Have the first app save the data, switch to the second app and read the data. -Ken -- From: priyesh parikh[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent:

RE: how to determine a record is new

2001-09-10 Thread Yu, Ken [IT]
Another possible solution is to just create your own 'new' flag. You WILL know if a user creates a new rec in your app. Just store a flag (preferably a bit field) in your data indicating this. -Ken -- For information on using the Palm Developer Forums, or to unsubscribe,

RE: App shows twice in launcher

2001-09-07 Thread Yu, Ken [IT]
All versions were using the same creator. Tapping on both icons brings the user to the same app. If the user goes to delete, it only shows once. After deletion, both icons disappear. If the app is reinstalled, it shows twice again. Very strange... I'm not certain as to which OS they are

App shows twice in launcher

2001-09-05 Thread Yu, Ken [IT]
A small percentage of my users are reporting that my app is showing twice in the Launcher. I have not been able to duplicate this. Can anyone clue me in as to what could be the cause? My app is a multi-segment developed with PRC-Tools 2.0. Thanks. -Ken -- For

RE: Creating PDB file Programmatically.

2001-08-21 Thread Yu, Ken [IT]
Sorry, just had to correct the spelling :) -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: conduit record parsing trouble

2001-08-14 Thread Yu, Ken [IT]
If you know the string is always 25 bytes, why don't you just jump to the 26th for the next field? -- From: Jeremy Nuss[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Tuesday, August 14, 2001 5:22 PM To: Palm Developer Forum Subject: conduit

RE: Calling a Batch File

2001-08-09 Thread Yu, Ken [IT]
A conduit can do anything a C or Java program can do since it is writen with one of these languages. So whatever you can do in C or Java, can be done in a conduit (including launching other executables). Look into functions that manages the creating of external processes or executing system

RE: Validating turn off in Sat Forms

2001-08-09 Thread Yu, Ken [IT]
I also face the same dilema. I have a Save button on my forms that validates and commits the data. When the button is pressed, the entire form is validated and notifes the user of any errors. If the app is exited in any way before the Save button is pressed, TOO BAD! If there's a better

RE: Palm crashed at application launching

2001-08-07 Thread Yu, Ken [IT]
did you try installing your app on the IIIx without the other apps? if it still crashes, you can rule out the low memory theory. -Ken -- From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Tuesday, August 07, 2001 12:22 PM To: Palm

RE: Palm crashed at application launching

2001-08-07 Thread Yu, Ken [IT]
. But if an application crashes at any Palm device, this application has bug(s). Doesn't Palm Install program take care of the low memory problem? Do you add code to handle low memory before the application launches? -Elizabeth Yu, Ken [IT] [EMAIL PROTECTED

RE: Crappy Forum

2001-07-27 Thread Yu, Ken [IT]
I know this is a bit off topic but I read somewhere a while back (Yahoo! science news?) that the speed off light 'c' might not be constant after all. There are unexplained variations between the calculated and actual positions of spacecraft that lead some to question the value of 'c'. Ok, now

RE: Determing Record Size.

2001-06-29 Thread Yu, Ken [IT]
MemHandleSize () -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: Database woes, need some advice

2001-06-27 Thread Yu, Ken [IT]
If your database scheme is not complex and if you're up to it, you can treat each record as a database. (ie divide up the Palm record into multiple custom DB's and records). Of course, it's your responsibility to interpret the data. In the end you'll just have one Palm database that will

Determining Device model

2001-06-20 Thread Yu, Ken [IT]
Hi, Is there any possible way of programmatically determining the model of a Palm OS device? (ie Palm II,V,Vx, VII, Handsping, Sony etc ...) Thanks, Ken -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: Determining Device model

2001-06-20 Thread Yu, Ken [IT]
]] Reply To: Palm Developer Forum Sent: Wednesday, June 20, 2001 3:59 PM To: Palm Developer Forum Subject: Re: Determining Device model On Wed, 20 Jun 2001, Yu, Ken [IT] wrote: Hi, Is there any possible way of programmatically determining the model of a Palm OS

RE: SelectOneTime

2001-05-31 Thread Yu, Ken [IT]
What do you do in the morning? The time will be 12:00 regardless of AM/PM. -- From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Thursday, May 31, 2001 2:19 PM To: Palm Developer Forum Subject: Re: SelectOneTime Hi

RE: Debugging with GCC toolchain in Windows

2001-05-04 Thread Yu, Ken [IT]
Try using Palm Reporter from the palmos website. I use it with GCC and it works very well. -- From: Tony Glaser[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Friday, May 04, 2001 2:16 PM To: Palm Developer Forum Subject: Debugging with GCC

RE: Who is supporting prc-tools at Palm now ?

2001-05-02 Thread Yu, Ken [IT]
Mr. Solokov perhaps? -- From: Ton van Overbeek[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Wednesday, May 02, 2001 5:27 PM To: Palm Developer Forum Subject: Who is supporting prc-tools at Palm now ? After reading the tools-forum it

RE: Displaying Multiple Forms When Handling An Alarm

2001-03-09 Thread Yu, Ken [IT]
Have you considered just using ONE form and update it as necessary when calling up the next record? -Ken -- From: Thomas Ward[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Thursday, March 08, 2001 10:06 AM To: Palm Developer Forum Subject:

RE: FrmShow/Hide funky? Bad approach?

2001-03-01 Thread Yu, Ken [IT]
There's nothing funky about the Hide/Show approach as the Palm DateBook uses this technique for the repeating event screen. Since there are bugs in the OS when dynamically creating form objects, this would be the next preferred method. -Ken -- From: Matt Mason[SMTP:[EMAIL

FloatMgr on GCC

2001-02-21 Thread Yu, Ken [IT]
I'm trying to use the FloatMgr with PRCTools. It seems that __FLOATMGR_H__ is defined somewhere during compilation. So, when I include FloatMgr.h, the header file is effectively ingnored. I even put the #include FloatMgr.h in the first line of my file but still no go. I can't declare

RE: MemoryMgr.c, Line:4340, NULL handle

2001-02-20 Thread Yu, Ken [IT]
Look in the log files. You can narrow it down to the events that trigger the error. Another tip is to use the Palm Reporter to monitor the execution of your program during a gremlin test. -Ken -- From: Richard.Johnstone[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer

RE: DmCreateDatabase Question - Error 0x219

2001-02-13 Thread Yu, Ken [IT]
Aaron, I envy you. how can you work on Palm and always keep a smiling face? :) -Ken -- From: Aaron Ardiri[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Tuesday, February 13, 2001 8:46 AM To: Palm Developer Forum Subject: Re:

RE: If the text field is empty...

2001-02-12 Thread Yu, Ken [IT]
If the field is empty, NULL is returned from FldGetTextPtr(). Check for this before calling DmWrite(). -Ken -- From: Rochester, Dean[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Monday, February 12, 2001 4:14 PM To: Palm Developer Forum

RE: Global Variables

2001-02-09 Thread Yu, Ken [IT]
Globals variables are supported on Palm. However, they are only available in certain launch conditions. (e.g. you can't use them if your app is called because of a HotSync or if an alarm if fired). -Ken -- From: Mike Lyle[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer

RE: fatal reset after installing prc???

2001-02-02 Thread Yu, Ken [IT]
Are you aware that your PRC is actually executed after a HotSync? If you are not checking the launch codes, you may be executing code that can crash the Palm. A common mistake is not checking the launch code and using global variables. -- From: Stephen Bentley[SMTP:[EMAIL

FloatType question

2001-01-09 Thread Yu, Ken [IT]
Does anyone know the format of a 16-bit FloatType? I need to generate this value from a conduit. Thanks a bunch, -Ken -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: Retrieve Record Blank

2001-01-09 Thread Yu, Ken [IT]
Records start at 0. You've hardcoded '1' to DmQueryRecord(). Maybe that's your problem? -- From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Tuesday, January 09, 2001 11:42 AM To: Palm Developer Forum Subject: Retrieve

RE: Debug Messaging...

2001-01-03 Thread Yu, Ken [IT]
Have you looked at the Palm Reporter?. It does exactly what you need. -- From: S KAR[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Wednesday, January 03, 2001 12:30 AM To: Palm Developer Forum Subject: Debug Messaging... Is there any

RE: globals

2000-12-26 Thread Yu, Ken [IT]
-- From: Paul Nevai[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Sunday, December 24, 2000 11:47 PM To: Palm Developer Forum Subject: globals How can I acess the system globals? Is there a function or a trick for that? Thanks! Best

Record left locked error using edit in place

2000-11-17 Thread Yu, Ken [IT]
I am receiving this error: "Record left locked in closed unprotected DB". I have a form with a table. One of the columns is an editable text field and is linked to a database record. If I tab into this field and then tap on the Applications icon to exit the app, I get this error. However, I

RE: Record left locked error using edit in place

2000-11-17 Thread Yu, Ken [IT]
: Yu, Ken [IT] Reply To: Palm Developer Forum Sent: Friday, November 17, 2000 10:21 AM To: Palm Developer Forum Subject: "Record left locked" error using edit in place I am receiving this error: "Record left locked in closed unprotected DB&quo

Ryan, come back!

2000-10-24 Thread Yu, Ken [IT]
We'll be good, we promise!! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: Corruption of text in button resource

2000-09-15 Thread Yu, Ken [IT]
Although this gets rid of the error messages, it does not eliminate the label corruption problem. -Ken -- From: Kevin O'Keefe[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Friday, September 15, 2000 11:33 AM To: Palm Developer Forum Subject:

RE: Corruption of text in button resource

2000-09-14 Thread Yu, Ken [IT]
If you're using dynamic creation of controls, there's a bug in the OS that causes this. -Ken -- From: Owen Flagel[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Thursday, September 14, 2000 12:08 PM To: Palm Developer Forum Subject:

RE: FrmRemoveObject() quirk

2000-09-12 Thread Yu, Ken [IT]
Thanks for the replies. It reassures me that I'm not going crazy. Have any of you tried your code (dynamic creation and removal of form objects) on the 3.5 debug color ROM? On this ROM, I get "has just read from an unallocated chunk of memory." when adding a control. I think it is probably

RE: FrmRemoveObject() quirk

2000-09-12 Thread Yu, Ken [IT]
-- From: Keith Wolcott[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Monday, September 11, 2000 9:42 PM To: Palm Developer Forum Subject: Re: FrmRemoveObject() quirk Yes, it is the PrvFixupPointers bug (search the archives for more

FrmRemoveObject() quirk

2000-09-11 Thread Yu, Ken [IT]
I am using FrmRemoveObject() to remove dynamically created objects (controls, fields). It seems that I must remove them in the reverse order that they were created. If not, I get a "App has just read directly from memory manager data structures.". I see no mention of this behavior in the

RE: The Mighty Morphin Function Stack

2000-09-01 Thread Yu, Ken [IT]
Wouldn't recordP-fields[index]=""; be a problem? Won't the empty string become invalid once the function is exited? -Ken -- From: Jason Partyka[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Friday, September 01, 2000 11:36 AM To: Palm

RE: Palm as engine management computer

2000-08-30 Thread Yu, Ken [IT]
A Palm can communicate with a PC @ 115,200 bits per second (HotSync max speed) which is 14,400 bytes per second. This means a byte of data can be clocked in at 14.4KHz which is greater that 9KHz. So, wouldn't this be theoretically possible? -Ken -- From: Richard

RE: Unique Record Identifyier within a database - How

2000-08-14 Thread Yu, Ken [IT]
You might want to try using a seperate category for your records. This also gives you the ability to use the category API's for data retrieval. -Ken -- From: Mike Davis[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Saturday, August 12, 2000 8:45

RE: DmWriteCheck fails.

2000-08-14 Thread Yu, Ken [IT]
How do you determine 'size'? Is it large enough to store your entire record? -Ken -- From: Kshama Sathaye[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Monday, August 14, 2000 4:38 PM To: Palm Developer Forum Subject: Re: DmWriteCheck

RE: OS 3.3 vs OS 3.5

2000-08-09 Thread Yu, Ken [IT]
Tim, I think the problem you are experiencing is that 3.5 refreshes a table more often than earlier OS's. This causes your CustomDrawProcesure's to be called when you do not expect it. They may be called at a time your record is no longer available (eg after a delete) to refresh the table.

RE: OS 3.3 vs OS 3.5

2000-08-09 Thread Yu, Ken [IT]
How are you populating your tables? Are you using the method of storing the record number in the table's Row ID and then letting your CustomDrawProcedure query the database and displaying the row? If so, try to figure out which record number your CustomDrawProcedure is processing by using Palm

RE: C++ or C

2000-08-02 Thread Yu, Ken
A conduit is a module that performs the synchronization logic between the desktop and the Palm. It is usually a .dll executed by the HotSync manager. A conduit runs on the desktop (not on the Palm). HotSync Conduits can be developed in VC++ or in Java. Using the full release of CodeWarrior

RE: new subject line:) 'Inconsistent behavior with Database Opera tions....

2000-08-01 Thread Yu, Ken
Is the value of recindex valid for all your databases? You should also use DmGetLastErr() to check for errors after calling DmQueryRecord(). -Ken -- From: Frank Ableson[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Monday, July 31, 2000 10:16 PM

RE: Bad Developer Survey format

2000-08-01 Thread Yu, Ken
I never got a survey. Palm does not love me :( -Ken -- From: Tom Zerucha[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Tuesday, August 01, 2000 1:54 AM To: Palm Developer Forum Subject: Bad Developer Survey format I just got the

High speed animation

2000-07-26 Thread Yu, Ken
Can anyone share any techniques on how to produce high speed animation? I've experimented with creating an offscreen buffer and copying it to the display using WinCopyRectangle(). Even at the fastest possible iterations through the event loop, the performance does not seem to compare

RE: Err Getting Rec - why?

2000-07-20 Thread Yu, Ken
Tim, Perhaps you meant to pass 'i' and not 'index' to DmReleaseRecord()? DmReleaseRecord(gFpurDB, index, true); Your code will only release the record of 'index' that is passed to foo() -Ken -- From: Tim Astle[SMTP:[EMAIL PROTECTED]] Reply To: Palm

RE: records

2000-07-19 Thread Yu, Ken
Do you have less than 2 records in your database when running this code? index = 2 may not be a valid index since it will be reassigned if you have less than 2 recs. -Ken -- From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Wednesday,

RE: PDB Export Utilities for PC

2000-07-18 Thread Yu, Ken
The creation time is a 32-bit value. Have you taken account the word ordering difference between Palm and Intel machines? (That's if you are using a PC) -Ken -- From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Tuesday, July 18,

RE: DmDeleteRecord(..) vs. DmRemoveRecord(..) Info needed please

2000-07-17 Thread Yu, Ken
Tim, DmRemoveRecord() removes the entire from memory while DmDeleteRecord() removes just the data but leaves behind the record header. It is possible that your table redraw routine accesses deleted records (because the header is still available) and tries to use data that is no longer valid

RE: Beginner programming questions

2000-07-17 Thread Yu, Ken
I would go with GCC. It is the most flexible and the price is right (free). You'll also gain knowledge in C programming which is usable on other platforms. -Ken -- From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Monday, July

RE: Beginner programming questions

2000-07-17 Thread Yu, Ken
:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Monday, July 17, 2000 2:54 PM To: Palm Developer Forum Subject: Re: Beginner programming questions How is it more flexible? Do you still have to use the lame callback hack, or has that been fixed? --b "Yu

RE: Problem Sync'ing Address Book (disk full?)

2000-07-13 Thread Yu, Ken
Could be write permission problem. -- From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Wednesday, July 12, 2000 7:38 PM To: Palm Developer Forum Subject: Problem Sync'ing Address Book (disk full?) Hi All, I am

RE: Big problem with fields

2000-07-11 Thread Yu, Ken
Can you give a more detailed description of your 'solution'? Maybe we can help you find the real cause of the problem so that you can avoid this kludge. You may have gotten your program to work but you may also be hiding a potential larger problem. -Ken -- From: Pierre

RE: Questions (Emulated program counters)

2000-07-11 Thread Yu, Ken
You can test on different OS's by loading the respective ROMs into the emulator. The purpose of the gremlins is to report any abnormal behavior in running your program and shouldn't be ignored. The error you are seeing can occur if you exceed the bounds of memory you allocated. (eg setting the

RE: Suggestions Please

2000-07-10 Thread Yu, Ken
I've done something similar. I've assigned a hidden category to my records to indicate if they are viewable/nonviewable and then retrieve the viewable records using functions like DmQueryNextInCategory() to populate the table. -Ken -- From: Tim Astle[SMTP:[EMAIL PROTECTED]]

RE: a question to shareware authors

2000-07-05 Thread Yu, Ken
I believe the original formula was correct. xx = 0. price = 1.95 yy = xx + 1 (00.0+1) price = 2.00 feeling guilty for pricing $1.95 instead of $2.00 -- From: Michael S. Davis[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Wednesday, July 05,

RE: Your app has just overflowed the stack

2000-06-09 Thread Yu, Ken
I've seen this too. It happened to me when I was using multiple databases in my app. When I converted to one DB, it went away. Not sure what's the cause. -- From: Fima Furman[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Friday, June 09, 2000

RE: Your app has just overflowed the stack

2000-06-09 Thread Yu, Ken
Symptoms described in the archives are similar just that I was using 3.1 Release ROMs not 3.3. -Ken -- From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Friday, June 09, 2000 4:30 PM To: Palm Developer Forum Subject:

RE: Selecting rows from a table

2000-06-08 Thread Yu, Ken
Jason, What you can do is have one column and display all your data in that one column (but print your data in such a way that appears to be multiple columns). -Ken -- From: Jason Freund[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Thursday, June

RE: Modal form over a Form

2000-06-07 Thread Yu, Ken
Are you drawing your fields *before* calling FrmDrawForm()? -- From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Wednesday, June 07, 2000 5:00 PM To: Palm Developer Forum Subject: Modal form over a Form After pressing the

RE: Modal form over a Form

2000-06-07 Thread Yu, Ken
Then that's your problem. The fields should be drawn after FrmDrawForm(). If you draw your fields before, the screen image is saved before the next form is displayed. When your modal dialog closes, this image is restored thus displaying the fields from the previous dialog. -- From:

RE: Number of Fields

2000-06-07 Thread Yu, Ken
Another way is the method used by the built-in apps (eg AddressBook). Bit fields are used to indicate if a field exists in the record. I find that this method is best for memory conservation. You won't waste a byte for each empty field when using deliminators and fixed length always causes

RE: Curious occurance...

2000-06-06 Thread Yu, Ken
Are using using OS 3.5? I had a similar occurance. The cause was that my custom draw routine is being called on 3.5 when a record no longer exist in the database. Example: - I have a table listing the short description of each record. - A row is tapped and this brings me to a detail screen. -

Different table behavior on 3.5

2000-05-25 Thread Yu, Ken
My app has a table with a custom draw procedure with an increased row height. On OS's earlier than 3.5, this draw procedure does not get called when the a tblEnterEvent is received but is called on 3.5. When the procedure is executed during tblEnterEvent, the row height passed is 11.

RE: Message Box

2000-05-22 Thread Yu, Ken
I was using SDK 3.1 initially and it never worked. According to John Marshall, I should be using SDK 3.5. (something to do with selectorised functions). I upgraded my code to 3.5 and it worked. -Ken -- From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] Reply To: Palm

RE: Message Box

2000-05-19 Thread Yu, Ken
Instead of creating message boxes, why not use Palm Reporter from www.palmos.com? I found the Palm Reporter utility to be an extremely helpful tool. You can emit traces from your app and monitor them with Reporter. You do not have to repeatedly recompile with debugging messages and execution

RE: Application will download under Metrowerks debugger but not H otsync

2000-05-16 Thread Yu, Ken
Are you checking your launch codes before using globals 007? :) Your app will get called after a HotSync, executing the main routine. If globals are accessed during this time, your app will crash. -Ken -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Palm Reporter

2000-05-12 Thread Yu, Ken
Has anyone got the Palm Reporter (tracing utility) to work with PRC-Tools 2.0? I can see traces from the supplied test app so I know that the install/config is ok. When I try to emit traces from my own app, nothing happens. I have included hostcontrol.h from POSE and my code calls

RE: Multi-segment and GCC

2000-05-11 Thread Yu, Ken
I have, using PRC Tools 2.0. My apps are 2 segments and so far so good. -- From: Mitch Fawcett[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Thursday, May 11, 2000 10:06 AM To: Palm Developer Forum Subject: Multi-segment and GCC I've

You know you've been programming Palm too long when

2000-05-05 Thread Yu, Ken
you mistakenly use StrCopy(), MemSet() in your PC programs... -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: Fatal Error when HotSync installs the .PRC

2000-05-04 Thread Yu, Ken
Your app may be accessing global variables regardless of the launch flag. Make sure you check the launch flag before using globals. -Ken -- From: HowY[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Thursday, May 04, 2000 9:14 AM To: Palm

RE: Adding Strings - function problem

2000-04-25 Thread Yu, Ken
You are returning a pointer to memory you have just free'd. Won't this be a problem? -Ken -- From: Tim Astle[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Tuesday, April 25, 2000 9:12 AM To: Palm Developer Forum Subject: Adding Strings -

RE: Weird.....

2000-04-17 Thread Yu, Ken
You need to pad your single byte data to even bytes so that the structs after them can be addressed. The Palm can only address structs on even byte boundaries. -Ken -- From: Tim Astle[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Monday, April

RE: Opening and Closing databases

2000-04-14 Thread Yu, Ken
I believe the size is in bytes not kb, so you can have records smaller than 1K. -Ken -- From: Timothy Astle[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Friday, April 14, 2000 9:02 AM To: Palm Developer Forum Subject: Re: Opening and

RE: Bewildered...

2000-04-13 Thread Yu, Ken
Tim, 1 - CharPtr c is a _pointer_ to a string. It is not pointing to any valid memory to store data. You must allocate some memory and assign c to point to that area. 2,3: These functions expect a Record Index not the Unique ID. -- From: Timothy Astle[SMTP:[EMAIL

AMX Error

2000-04-06 Thread Yu, Ken
After installing 2 of my apps and running them for the first time, POSE says: ("AMX" has just performed an illegal operation. It performed a "bus error") after I do a reset. The apps work fine, just that I get this when I select reset on POSE. Once the message appears, it does not go

RE: Michael Sokolov and prc-tools-0.6.0 are back!

2000-04-06 Thread Yu, Ken
Thems fightin' words in my neighborhood. -- From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Thursday, April 06, 2000 4:24 PM To: Palm Developer Forum Subject: Michael Sokolov and prc-tools-0.6.0 are back! and

What is an AMX error?

2000-04-06 Thread Yu, Ken
When my apps are installed and executed, I get an "AMX" error on a soft reset on POSE. It happens with the 3.02 ROMs extracted from my Palm V. It does not occur on the actual unit or if I use the 3.0 debug ROM on POSE. Any ideas? -Ken -- For

RE: ?Record size - is 1K the minimum?

2000-04-06 Thread Yu, Ken
Do you have 1000 hardcorded in your call to DmNewRecord() perhaps? -Ken -- From: Al Macy[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Thursday, April 06, 2000 6:08 PM To: Palm Developer Forum Subject: ?Record size - is 1K the minimum?

RE: New Serial Manager problem.

2000-04-04 Thread Yu, Ken
I meant the binary code distributed in the SDK. Can the binaries in the SDK (*.o's and *.lib's) be linked with GCC or do they only work with CodeWarrior? Ken -- From: John Marshall[SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Monday, April 03,

PRC Tools 2.0 multigen utility

2000-04-04 Thread Yu, Ken
Has anyone had any success in using 'multigen' from PRC Tools 2.0? I have a .def file with only one line: multiple code { "editfns" } (This was copied directly from the sample in the docs) When I run multigen on it, it always returns: 1: parse error warning: no multiple code

RE: PRC Tools 2.0 multigen utility

2000-04-04 Thread Yu, Ken
Thanks! That did the trick. Now I'm encountering another problem. After I break my app into multi segments following the steps outlined in the docs, POSE says: "UIAppShell" reports "Main.c, Line: 301, Could not launch application." when I execute it. Does anyone know what may be wrong? -Ken

RE: PRC Tools 2.0 multigen utility

2000-04-04 Thread Yu, Ken
reason, which I don't subscribe to. -- Keith "Yu, Ken" [EMAIL PROTECTED] on 04/04/2000 02:25:49 PM Please respond to "Palm Developer Forum" [EMAIL PROTECTED] Sent by: "Yu, Ken" [EMAIL PROTECTED] To: "Palm Developer Foru

RE: Retrieving info from SQL

2000-03-23 Thread Yu, Ken
I have implemented process similar to what you are describing using conduits. The conduits connect to the SQL database during a HotSync. Conduits can be written in C++ or JAVA so you can call database API's to query, retrieve and update your SQL database. -Ken -- From:

RE: Setting Palm Address Book fields

2000-03-16 Thread Yu, Ken
In addition to clearing the field, you should also unset its corresponding flag in AddrDBRecordFlags. -Ken -- From: [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]] Reply To: Palm Developer Forum Sent: Thursday, March 16, 2000 4:44 PM To: Palm Developer Forum