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 expo

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 > Subj

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 Deve

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 t

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 o

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, pl

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 runni

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 informa

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: co

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 so

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 comm

RE: Palm crashed at application launching

2001-08-07 Thread Yu, Ken [IT]
> > Yes I did and it didn't crash in the other Palm's. 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

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: Pa

RE: A conduit problem have I

2001-08-03 Thread Yu, Ken [IT]
It might be a byte ordering problem. You must swap the bytes of the UInt in order to obtain the correct value on the PC. Used to drive me nuts developing for the two platforms. Motorola one way, Intel the other. '\n' = CR/LF on Windows, LF for the rest of the world, etc, etc ... -Ken > -

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 back

RE: SelectDay Function

2001-07-18 Thread Yu, Ken [IT]
Your inputs: day, month and year should contain valid date values. -Ken > -- > From: Nicolas Raitman[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Wednesday, July 18, 2001 1:59 PM > To: Palm Developer Forum > Subject: SelectDay Function > >

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 conta

RE: Determining Device model

2001-06-20 Thread Yu, Ken [IT]
an Mathis[SMTP:[EMAIL PROTECTED]] > 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 po

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: 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 >

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 wit

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

RE: Reading in a byte array from the database

2001-04-06 Thread Yu, Ken [IT]
Do you have any NULL's (0) in your data? StrLen only counts up to the NULL terminating character. -Ken > -- > From: Richard.Johnstone[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Friday, April 06, 2001 9:43 AM > To: Palm Developer Forum > Subject

RE: Error synchronizing - identifying user comes up with no user name

2001-03-29 Thread Yu, Ken [IT]
I've seen this also. I've managed to duplicate this by covering one pin on the cradle (don't remember which one) with tape. The user name comes up blank on HotSync and then it aborts. My theory is that the user's palm, cradle or serial port may be defective, preventing communication. The HotSy

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 PR

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 in the first line of my file but still no go. I can't declare any variab

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 Develope

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: DmCreat

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 Develope

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 PR

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: Ret

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: 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

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? > Thank

RE: "Record left locked" error using edit in place

2000-11-17 Thread Yu, Ken [IT]
he trick. > -- > From: 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

"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 do

RE: Palm Vx syncs only at 9600

2000-10-31 Thread Yu, Ken [IT]
A few of my users have reported this behavior as well. If you hard resetted, then we can rule out a hack or another program causing the problem. Maybe it IS the fault of a dirty connection, but I find it peculiar that it has happened to others and with Vx models. -Ken > -- > From:

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: Which pointer type to use when accessing a record?

2000-09-25 Thread Yu, Ken [IT]
You can cast it as a BytePtr but beware that certain types must start at even byte boundaries. -Ken > -- > From: Jacob Vitas Vogelstein[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Monday, September 25, 2000 10:26 AM > To: Palm Developer Forum >

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 > Subjec

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: Co

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 mo

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 be

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 docs.

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: P

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 Anderson[SM

RE: HotSync Error: Insufficient disk space. (800A)

2000-08-21 Thread Yu, Ken [IT]
This is a misleading message. I also had this occur on me when I had more than enough disk space. It turns out that it was a write permission problem. -Ken > -- > From: Adam Wozniak[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Friday, August 18,

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: DmWriteChec

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:4

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: 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. Wh

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 (no

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 th

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

RE: Executing apps upon install

2000-07-27 Thread Yu, Ken
sysAppLaunchCmdSyncNotify > -- > From: Brian Pearson[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Thursday, July 27, 2000 2:38 PM > To: Palm Developer Forum > Subject: Executing apps upon install > > I need to have my app execute some code

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 wi

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 Deve

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: Wednesd

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

RE: Beginner programming questions

2000-07-17 Thread Yu, Ken
> or has that been fixed? > > --b > > "Yu, Ken" <[EMAIL PROTECTED]> wrote in message news:17600@palm-dev-forum... > > > > I would go with GCC. It is the most flexible and the price is right > (free). > > You'll also gain knowledge in C progra

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, Ju

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 caus

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, > >

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 f

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 Baux

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: How to capitalize first char in field?

2000-06-23 Thread Yu, Ken
> Stuart Nicholson > Programmer > Firepad, Inc. > > -Original Message- > From: Yu, Ken [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 23, 2000 8:08 PM > To: Palm Developer Forum > Subject: How to capitalize first char in field? > > > Is there any easy

How to capitalize first char in field?

2000-06-23 Thread Yu, Ken
Is there any easy way of capitalizing the first character in a text field during input (like the built-in apps)? I am using PRC-Tools. -Ken -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

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: 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: 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, J

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 maxi

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: 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 pres

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. Thi

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 Dev

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 d

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 ht

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 HostT

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 > >

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 Dev

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 Stri

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 PROTECTED

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

  1   2   >