RE: Unsigned char to a char *

2002-03-07 Thread jacky Cheung
Do we need to do the casting or is it just for demo? b = (char*)a; // This is called a CAST b = a should be fine. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alan Ingleby Sent: Friday, March 08, 2002 12:25 PM To: Palm Developer Forum Subject: Re:

RE: Unsigned char to a char * (sorry ignore my last message)

2002-03-07 Thread jacky Cheung
Oops sorry didn't realise it is unsigned char and char ... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alan Ingleby Sent: Friday, March 08, 2002 12:25 PM To: Palm Developer Forum Subject: Re: Unsigned char to a char * [EMAIL PROTECTED] wrote in

RE: FrmPopupForm not clearing

2001-12-12 Thread jacky Cheung
I think it may have something to do with the Save behind flag (can be set in constructor for CW). I am not sure (haven't done palm programming for awhile). May be someone can give you better advice. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of

RE: Reducing Application Size...

2001-12-12 Thread jacky Cheung
I remove the Debug Bullets and got 16-bit out of range error messages... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Keith Rollin Sent: Thursday, December 13, 2001 11:28 AM To: Palm Developer Forum Subject: RE: Reducing Application Size... Huh...I

Pulse on serial port when power up

2001-12-05 Thread jacky Cheung
Hi, when I turn on the Palm by pressing the power button, I see a glitch on the serial tx. pin. This is a problem for me because it trigger my external device and cause it to wake up. Is there anyway I can prevent the glitch? Thanks. -- For information on using the Palm Developer Forums, or

RE: Crappy Forum

2001-07-25 Thread jacky Cheung
I find the people here very helpful. If you ask sensible questions people DO help. If you find that people never help you, probably because you are asking some really basic things. If you think it is not right to tell people to go and read manuals, I think you probably haven't done any studying

RE: ERROR_CHEECK_LEVEL and StrCopy

2001-07-24 Thread jacky Cheung
Hi, ERROR_CHECK_LEVEL only determines whether the ErrDisplay(), ErrFatalDisplayIf() etc. functions will be called or not, other errors that causes the OS to have problem will always be showed. The ErrDisplay() etc. functions are used for debugging, while the error you get actually means that it

RE: How to do Serail Communication using Emulator?

2001-07-08 Thread jacky Cheung
Right click on your Emulator and select properties, then you can choose which COM port to use. Than simply connect the COM port you have selected to the other COM port for the PC. Am I answering your question or do you need something else? -Original Message- From: [EMAIL PROTECTED]

RE: FrmHelp and bitmap

2001-07-04 Thread jacky Cheung
Hi Aaron, Thanks for your reply, but I cannot open the link? Regards, Jacky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Aaron Ardiri Sent: Thursday, July 05, 2001 11:52 AM To: Palm Developer Forum Subject: Re: FrmHelp and bitmap Is there anyway

RE: FrmHelp and bitmap

2001-07-04 Thread jacky Cheung
Hurry up Aaron, I want the release version!!! : ) Jacky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Aaron Ardiri Sent: Thursday, July 05, 2001 12:13 PM To: Palm Developer Forum Subject: RE: FrmHelp and bitmap Thanks for your reply, but I

RE: I'm trying to compile in Codewarrior.

2001-06-06 Thread jacky Cheung
Palm OS Referense says FrmGetObjectPtr returns a void pointer. So try declaring lst as void* instead of ListPtr. Hope this helps. Jacky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Nancy Kho Sent: Thursday, June 07, 2001 11:11 AM To: Palm Developer

RE: why my form shows up as transparent form?Please help.

2001-06-05 Thread jacky Cheung
Did you set the save behind attribute to true? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of ThuNguyet Nguyen Sent: Wednesday, June 06, 2001 2:03 AM To: Palm Developer Forum Subject: why my form shows up as transparent form?Please help. Hello

RE: why my form shows up as transparent form?Please help.

2001-06-05 Thread jacky Cheung
Try setting the save behind bit and see what happens. I had the same problem when I didn't set the bit. Jacky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of ThuNguyet Nguyen Sent: Wednesday, June 06, 2001 9:28 AM To: Palm Developer Forum Subject: Re:

RE: Euro glyph - ChrNumericSpace()

2001-06-04 Thread jacky Cheung
I suggest putting it in a global variable i.e. call ChrNumericSpace(nspace), where nspace is a global, so you can use it whenever u want. Hope this helps. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Flora_Mahdavi Sent: Tuesday, June 05, 2001 8:15

Unallocated chunk when accessing menu

2001-06-04 Thread jacky Cheung
Hi, I have a menu bar for my application but it crashes in the emulator when I press on an item of the menu bar (I got the 'Application has just read from an unallocated chunk of memory' error). However, if I access the menu item using the graffiti shortcut or in real device, no problem. Any

RE: Form Titles

2001-05-30 Thread jacky Cheung
So how did you do it actually? I just use FrmCopyTitle() to do that. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Stephen A. Cochran Sent: Thursday, May 31, 2001 4:34 PM To: Palm Developer Forum Subject: Form Titles I want to change the title of a

Right justify field in codewarrior

2001-04-26 Thread jacky Cheung
Hi, why is that when I select editable for a field, the left justified checkbox is checked automatically and cannot be changed? Does it mean that we can't have a field that is editable and right justified? Will I have any problem if I set in to right justified in my code? Thanks. Jacky --

RE: fld dis-editable at runtime

2001-04-17 Thread jacky Cheung
You have to set the attributes for the field. Please see FldSetAttributes in the Palm OS Reference. Hope this help. Regards, Jacky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Sean Sent: Wednesday, April 18, 2001 12:18 PM To: Palm Developer Forum

RE: Combo Box in CodeWarrior

2001-04-09 Thread jacky Cheung
I think you have to use a pop up trigger instead. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Akash Sent: Tuesday, April 10, 2001 12:23 AM To: Palm Developer Forum Subject: Combo Box in CodeWarrior Hi.. Does CodeWarrior GUI provides for combo

RE: How to control frmUpdateEvent

2001-04-05 Thread jacky Cheung
So what are we suppose to put in the frmUpdateEvent? If everything work fine without it, how do we know what to put in the handler (except handle = true)? Thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Stringer Sent: Friday, April 06, 2001

RE: pdb compiler

2001-03-28 Thread jacky Cheung
Hi, please try this http://www.fourmilab.ch/palm/pdbmake/ Jacky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Sean Sent: Thursday, March 29, 2001 6:52 AM To: Palm Developer Forum Subject: pdb compiler Hi, I was wondering if there is any tool which

RE: void to char illegal conversion

2001-03-28 Thread jacky Cheung
Or if you are using C, disable you C++ compiler option in the project setting should help. Jacky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ward Fuller Sent: Thursday, March 29, 2001 9:06 AM To: Palm Developer Forum Subject: RE: "void to char

RE: pdb compiler

2001-03-28 Thread jacky Cheung
?? -Original Message- From: jacky Cheung [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 3:09 PM To: Palm Developer Forum Subject: RE: pdb compiler Hi, please try this http://www.fourmilab.ch/palm/pdbmake/ Jacky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: pdb compiler

2001-03-28 Thread jacky Cheung
Message- From: jacky Cheung [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 4:23 PM To: Palm Developer Forum Subject: RE: pdb compiler Yes I have use it and I modified the source code to put it it my application. I am not sure what u mean by 'create different fields in the text file

RE: Strange character sent in OS2

2001-03-27 Thread jacky Cheung
Forum Subject: Re: Strange character sent in OS2 Yep, its a known 'feature'. The character (either a backspace or delete, I can't remember) is only sent when the port is opened. The good news is it was fixed in devices with OS = 3.0 - Original Message - From: "jacky Cheung&qu

RE: Strange character sent in OS2

2001-03-27 Thread jacky Cheung
under OS 2.0 B) make your app for OS = 3.0. Don't allow it to run on OS 2.0 - Original Message - From: "jacky Cheung" [EMAIL PROTECTED] To: "Palm Developer Forum" [EMAIL PROTECTED] Sent: Tuesday, March 27, 2001 3:10 PM Subject: RE: Strange character sent in OS2 Thank

RE: how to assign Char* to Int16

2001-03-27 Thread jacky Cheung
Use StrIToA(userID). But remember to allow memory for your character string first. Jacky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Paul Sulistio Sent: Wednesday, March 28, 2001 12:19 PM To: Palm Developer Forum Subject: how to assign Char* to

RE: how to assign Char* to Int16

2001-03-27 Thread jacky Cheung
sorry, it is StrAToI() -Original Message- From: jacky Cheung [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 12:32 PM To: 'Palm Developer Forum' Subject: RE: how to assign Char* to Int16 Use StrIToA(userID). But remember to allow memory for your character string first

Strange character sent in OS2

2001-03-26 Thread jacky Cheung
Hi, when I run my application on a real palm with os2, an additional backspace character (ASCII 8) is sent when I send data through the serial port, (using SerSend). Does anyone know why is that? Thanks. Jacky -- For information on using the Palm Developer Forums, or to unsubscribe, please

RE: How do you allocate memory for a structure.

2001-03-21 Thread jacky Cheung
Also, make sure you are not overflowing the stack. You have a pretty large array (strint_buf) and changing something 'totally unrelated may cause you to run out of stack space? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of DIAMOND JEFF Sent: Thursday,

RE: Database problem

2001-03-20 Thread jacky Cheung
Define a struct with the three fields: eg. typedef struct Person { UInt8 Age; char Name[20]; char Occupation[20]; } And store the structure in the database. Regards, Jacky Cheung -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Saharsh

RE: stack overflow

2001-03-16 Thread jacky Cheung
Use MemPtrNew or MemHandleNew instead of using local variables. Jacky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Edmond Chan Sent: Friday, March 16, 2001 12:45 PM To: Palm Developer Forum Subject: stack overflow Hi all, I am running into some

RE: Code fails with OS3.5 debug ROM only??

2001-03-15 Thread jacky Cheung
Yes, it is documentated in FrmDrawForm (I just read it). But what do you mean by draw? Does it include using FrmHideObject and FrmShowObject etc.? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of DIAMOND JEFF Sent: Friday, March 16, 2001 5:17 AM To: Palm

RE: cradle issue

2001-03-08 Thread jacky Cheung
In my experience, some palm cannot fit into some of the cradles as they have different shapes. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Sami K Sent: Wednesday, March 07, 2001 5:44 PM To: Palm Developer Forum Subject: cradle issue Hello all,

RE: Problem with Conduit

2001-03-01 Thread jacky Cheung
- From: jacky Cheung To: Palm Developer Forum Sent: Wednesday, February 28, 2001 9:41 AM Subject: Problem with Conduit I have built a conduit but it doesn't seem to do anything during a sync (not appearing in the log file). It appears on the Conduit list. Could someone give advice please

Problem with Conduit

2001-02-27 Thread jacky Cheung
I have built a conduit but it doesn't seem to do anything during a sync (not appearing in the log file). It appears on the Conduit list. Could someone give advice please? Regards, Jacky -- For information on using the Palm Developer Forums, or to unsubscribe, please see

String too long in a list

2001-02-24 Thread Jacky Cheung
Hi, What happen if I have a string that is longer than one List item can display? Will it cause problem? Can I still put it into the list if truncating the string is alright? Thanks. Jacky -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Link map

2001-02-24 Thread Jacky Cheung
Hi, Where I can find out what the contents of link map file means? eg. Initialized near data ... Thanks. Jacky -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: Clean up....

2001-02-23 Thread Jacky Cheung
You need to call MemHandleUnlock for each of your handles stored in AllItem[] and MemHandleFree after you have finished with the the list (but don't free it before you finish). Hope this helps. Jacky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Sam

RE: Getting reference to field on remote form.

2001-02-22 Thread Jacky Cheung
Do you always switch to the second form after you insert the data? If so, can you grab the data and save it (using global of global pointer), switch to the second form first and then insert it? Jacky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of

RE: Memory leaks

2001-02-22 Thread Jacky Cheung
To: Palm Developer Forum Subject: Re: Memory leaks "Jacky Cheung" [EMAIL PROTECTED] wrote in message news:40377@palm-dev-forum... Sorry I am not sure where it is for Lite as I don't have it here. It is on the menu bar for CW7. Does anyone know? CW PalmOS Lite should have this. Yo

RE: Memory leaks

2001-02-21 Thread Jacky Cheung
Subject: RE: Memory leaks Thanks for your reply, but where do I find Palm-Open Debug Console? I am using Code Warrior Lite. Manal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jacky Cheung Sent: Monday, February 19, 2001 9:05 PM To: Palm Developer Forum

RE: arrow symbol on a button

2001-02-20 Thread Jacky Cheung
You can uncheck 'frame' checkbose so that the button has no frame. So the button to have the same size as the bitmap and put the bitmap on it. You will get a 'bitmap button'. Hope this helps. Jacky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of

RE: how to break up string of buffer

2001-02-20 Thread Jacky Cheung
Are the space in the string buffer? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of maggie lim Sent: Tuesday, February 20, 2001 9:27 PM To: Palm Developer Forum Subject: how to break up string of buffer I've have a string of buffer eg, 5 2 1 5 3 4 5

RE: Form loading

2001-02-20 Thread Jacky Cheung
I guess you can just call FrmGotoForm(MainForm) if you click OK. It will work like if you are entering your main form from another form. Jacky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Manal Milad Sent: Wednesday, February 21, 2001 3:07 AM To:

RE: Memory leaks

2001-02-19 Thread Jacky Cheung
To open the console window, click on Palm-Open Debug Console... then type in hd 0 and press enter. Hope this help. Jacky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Manal Milad Sent: Tuesday, February 20, 2001 2:50 AM To: Palm Developer Forum

RE: Urgent!!!

2001-02-19 Thread Jacky Cheung
Same, I now don't treat any "Urgent" message as urgent anymore. This is bad. Jacky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Aaron Ardiri Sent: Tuesday, February 20, 2001 4:39 AM To: Palm Developer Forum Subject: RE: Urgent!!! I hope the folks

RE: FldGetTextLength (fldP) and StrLen (FldGetTextPtr (fldP))

2001-02-19 Thread Jacky Cheung
I may be wrong but I think if fldP is empty, you may get error when you do StrLen(NULL) (I have this problem before). But FldGetTextLength should work fine. Jacky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Paul Nevai Sent: Tuesday, February 20,

RE: Link Error Message

2001-02-18 Thread Jacky Cheung
By the way, if it is impossible for you to move your code towards the beginning (eg. you may cause problems for other files), you may consider writing function such as: Long MUL(Long a, Long b) { return a*b; } which is put closer to the beginning and your code can call this function instead.

RE: urgent!!buttons on the alert dialog

2001-02-18 Thread Jacky Cheung
Is this what you want? button = FrmAlert(AttentionAlert); if (button == 0)// 0 is eg. OK button if OK is the first button // do something else (button == 1) // 1 is eg. cancel button if cancel is the second button // do something else Hope this help. Jacky

Memory leak

2001-02-15 Thread Jacky Cheung
Hi, I remember that there was a discussion on how to find memory leak. I am sorry I can't remember the name of the person who wrote the good article about it, but I have read it and have some questions. I use the code shown below to detect a memory leak. In the FMainForm, my program basically

Memory leak continue

2001-02-15 Thread Jacky Cheung
By the way, regarding the previous 'Memory leak' message, I use database which is initialized at the start of the application. Jacky -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: Memory leak

2001-02-15 Thread Jacky Cheung
Thanks Danny, the leak goes away when I do FrmCloseAllForms before exit. So am I actually leaking memory if I don't do the FrmCloseAllForms? Jacky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Danny Epstein Sent: Friday, February 16, 2001 10:19 AM To:

RE: Memory leak

2001-02-15 Thread Jacky Cheung
To: Palm Developer Forum Subject: Re: Memory leak "Jacky Cheung" [EMAIL PROTECTED] wrote in message news:39825@palm-dev-forum... Thanks Danny, the leak goes away when I do FrmCloseAllForms before exit. So am I actually leaking memory if I don't do the FrmCloseAllForms? Yes, b

RE: Memory leak

2001-02-15 Thread Jacky Cheung
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Danny Epstein Sent: Friday, February 16, 2001 12:56 PM To: Palm Developer Forum Subject: Re: Memory leak "Jacky Cheung" [EMAIL PROTECTED] wrote in message news:39825@palm-dev-forum... Thanks Danny

When not call CtlShowControl?

2001-02-15 Thread Jacky Cheung
In Palm Reference document pg.186 on CtlShowControl, it says "Do not use this function directly, instead use FrmShowObject..." Why is that? what's the problem with CtlShowControl? Thanks, Jacky -- For information on using the Palm Developer Forums, or to unsubscribe, please see

RE: Running out of memory

2001-02-12 Thread Jacky Cheung
So what would actually happen if the 64K segment limit is reached? How can I know if this has been reached? (I have a prc file of 75K but seems to run fine) I am worrying that problem may happen for some palm but not the other. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: urgent!!convert char to int

2001-02-12 Thread Jacky Cheung
use StrAToI - please see Palm OS Reference eg. interger = StrAToI(temp); Jacky - Original Message - From: maggie lim [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Tuesday, February 13, 2001 5:14 PM Subject: urgent!!convert char to int i need to convert a string

Re: Illegal Implicit Conversion..

2001-02-06 Thread Jacky Cheung
PalmOS SDK reference shows that FrmGetObjectPtr returns a void* but tableP in your code is a TableType*, so the compiler isn't happy. U need to declare tableP as void* or do a type casting. (U will not have such a problem if you use C instead of C++). Hope this help. Jacky - Original

Selection Highlight out of a list

2001-02-04 Thread Jacky Cheung
Does anyone know why a selection highlight could be drawn out of a list? Occasionally, there is a 'highlight" below my list after I add a new row. (but the selection hightlight within the list is working fine). The 'highlight out of the list does not responds to anything or just work as nothing

RE: Please Help with Emulator Problem

2001-02-01 Thread Jacky Cheung
Could you let me know what is the migration-to-3.5 process? I get lots of error when compiling, and I set the access path to (system path) to (Compile)Palm OS 3.5 Support + changing the data types. It now compiles, but I still have two problems: - I still get the 'software developed using

Upgrading to CodeWarrior 7

2001-02-01 Thread Jacky Cheung
I just upgrade from CodeWarrior Lite to Version 7 and I get lots of errors when I tried to build my old project. I have changed the data types (eg Short to Int16). I am getting declaration syntax error and illegal constant expression such as: mslconfig line 239 _STD::__msl_error(const char*

CodeWarrior Lite Message

2001-02-01 Thread Jacky Cheung
I have just upgraded from CodeWarrior Lite to Version 7. However, I still get the message saying that my software was created using CW Lite when I start my application. How can I get around it? Thanks. -- For information on using the Palm Developer Forums, or to unsubscribe, please see

RE: Garbage characters appended when text inserted/read from DB

2001-02-01 Thread Jacky Cheung
I am not sure if \0 after Test message will be stored in DB (as u use StrLen()). So when do StrPrintF in read, it doesn't know where to stop. Jacky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Young S. Cho Sent: Friday, February 02, 2001 9:48 AM To:

A novice question - When do I need to return handled = true?

2001-02-01 Thread Jacky Cheung
I thought that we need to return handled = true whenever we have handled the event properly, but I found that if I return true for frmCloseEvent, I need to do FrmEraseForm or the form will not be erase. However, I don't need to erase the form if I return false. Also for ctlRepeatEvent, it

RE: A novice question - When do I need to return handled = true?

2001-02-01 Thread Jacky Cheung
Thanks. I get it now. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mark Smith Sent: Friday, February 02, 2001 12:10 PM To: Palm Developer Forum Subject: Re: A novice question - When do I need to return handled = true? "Jacky Cheung" [EMAIL

RE: popup trigger

2001-01-24 Thread Jacky Cheung
Hi, Hope this help case fTableEditPMorePopTrigger: LstSetTopItem(IDtoObject(fTableEditLMoreList),0); // set up the list LstSetSelection(IDtoObject(fTableEditLMoreList),0); // .. switch(event-data.popSelect.selection) { case 0:

RE: Chunk under lock

2001-01-23 Thread Jacky Cheung
When you try to unlock a handle that is not locked. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Nesselhauf, John Sent: Wednesday, January 24, 2001 8:20 AM To: Palm Developer Forum Subject: Chunk under lock Hello, What causes chunk under lock error

SerErrLineErr

2001-01-21 Thread Jacky Cheung
When will cause the SerErrLineErr when doing SerReceiveWait? I don't get this error in the palm emulator (0S3.0 ROM) but it keep giving me this error in the real palm. Please help, I am really stuck. Thanks. Jacky -- For information on using the Palm Developer Forums, or to unsubscribe,

Is it ok to close the serial port while data is coming in?

2001-01-19 Thread Jacky Cheung
Do I have to make sure that no data is coming into the serial port when I am closing it (calling SerClose())? It keeps crashing my program when I close it before I tell the sender to stop. But I am not sure if this is the problem. Thanks. -- For information on using the Palm Developer

SerClose Crashes the program

2001-01-18 Thread Jacky Cheung
Does anyone know what can cause the SerClose() function to crash the program? It doesn't happen all the time, but only sometimes. Thanks. Jacky -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

SerRecieveCheck always non-zero

2001-01-17 Thread Jacky Cheung
I have an application that use SerReceiveCheck() to see if there is any data on the serial port before receiving it. In Emulator, it gives 0 when I don't send anything to the serial port. However, when I put it in a real palm, it always give a number greater than zero. Any know why? (I have a

RE: I couldnt solve problem.. Why It's giving error message... Thank You...

2001-01-14 Thread Jacky Cheung
What do you have in your 'previous form' eventHandler? especially for the frmOpen case? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mert ESZ Sent: Saturday, January 13, 2001 2:31 AM To: Palm Developer Forum Subject: I couldnt solve problem.. Why It's

RE: When do know it's too big?

2001-01-10 Thread Jacky Cheung
Thanks. What is a linker map file and where can I find it? Jacky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Scott Johnson (Bellevue) Sent: Thursday, January 11, 2001 8:16 AM To: Palm Developer Forum Subject: RE: When do know it's too big? By

RE: FrmAlert OK Cancel

2001-01-10 Thread Jacky Cheung
In constructor, open the alert resource, click on Item text 0, then go to edit and select 'New Button title'. You will get a new button. When you call FrmAlert(..), it will return the button number when one of the button is pressed. Jacky -Original Message- From: [EMAIL PROTECTED]

Change Popup Trigger label

2001-01-09 Thread Jacky Cheung
Is there anyway to change the popup trigger label at runtime? or select one of the list item without getting the user to select it manually? What I want to do is to make the trigger to display the same item after it comes back from another form. Thanks. Jacky -- For information on using

RE: Popping up a list from a button

2001-01-09 Thread Jacky Cheung
How about setting the usable field of the BUTTONs to false after selection? Jacky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Robert Kozak Sent: Wednesday, January 10, 2001 10:44 AM To: Palm Developer Forum Subject: Popping up a list from a button

Repeating button

2001-01-09 Thread Jacky Cheung
I am using a repeating button to do continuous increment of a number in my application. However, when I press the button (in emulator), I get several ctlRepeatEvent very quickly (the number increment very fast) instead of every 1/2 as indicated by the reference manual. What would the problem

RE: popup trigger in resource file

2001-01-08 Thread Jacky Cheung
Actually, this may be the more proper way to do it. You may set the list item text in codewarrior constructor. case popSelectEvent: { switch (event-data.popSelect.controlID) { case fTableEditPstringPopTrigger:

RE: Unable to disable a control button

2000-12-19 Thread Jacky Cheung
Thanks. But the problem is even when I hide it, it still response to a button press. However, if I miss out the last line CtlSetEnabled(), then it will not response to the button press. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Philip Sheard

RE: Unable to disable a control button

2000-12-19 Thread Jacky Cheung
Sent: Wednesday, December 20, 2000 8:15 AM To: Palm Developer Forum Subject: Re: Unable to disable a control button "Jacky Cheung" [EMAIL PROTECTED] wrote in message news:33462@palm-dev-forum... I tried to disable a control button by using CtlSetEnabled( , false);

RE: Unable to disable a control button

2000-12-19 Thread Jacky Cheung
de for one of the Palm games (e.g., HardBall or Reptoids) to see how that is handled. - Original Message ----- From: "Jacky Cheung" [EMAIL PROTECTED] To: "Palm Developer Forum" [EMAIL PROTECTED] Sent: Tuesday, December 19, 2000 1:28 PM Subject: RE: Unable to disable a control

Unable to disable a control button

2000-12-18 Thread Jacky Cheung
I tried to disable a control button by using CtlSetEnabled( , false); Myfunction(); CtlSetEnabled( ., true); but when I press the button during the execution of Myfunction(), the system still respond to the button I pressed during that time after Myfunction() has finished. Any idea?

Where can I find MSL Runtime Palm OS (2i).lib?

2000-12-14 Thread Jacky Cheung
Where can I find the MSL Runtime Palm OS (2i).lib file needed for segmentation? It is not on my computer. I am using CodeWarrior Lite for Palm OS. Thanks. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

16-bit code reference out of range error message

2000-12-13 Thread Jacky Cheung
I get a Link Error saying that an EventHandler 16-bit code reference to a function is out of range. Does anyone know what the problem is and how I can get around it? Thanks. Jacky -- For information on using the Palm Developer Forums, or to unsubscribe, please see

RE: 16-bit code reference out of range error message

2000-12-13 Thread Jacky Cheung
At 01:26 PM 12/13/2000, Jacky Cheung wrote: I get a Link Error saying that an EventHandler 16-bit code reference to a function is out of range. Does anyone know what the problem is and how I can get around it? This should definitely be in the knowledge base, so have a look there for more details