FrmCloseEvent problem

2002-03-12 Thread cpssband cpssband
Hi, everybody: before exiting my palm application, it will jump to FrmCloseEvent, however, i put some condition checking in the FrmCloseEvent, e.g. 'Please specify your name' immediatelly , after this message, the program exit, how can i code it so that the application will not exit and the focus

Re: Palm OS 5.0 Simulator and Old Serial Manager

2002-03-12 Thread Keith Rollin
>It is hard to make application that can run un multiple platform with that >kind of upward compatibility. I agree that keeping up with all the latest rules, the latest ins-and-outs, etc., can be difficult. Even impossible, given all the technological advances going on in all areas of our pers

RE: MenuHideItem

2002-03-12 Thread Scott Johnson
> From: Richard Bell [mailto:[EMAIL PROTECTED]] > I'm tryint to use MenuHideItem [...] > I hide items 2,3,4 from the menu leaving the first item and > the Add option (the last item). I can select the first item, > but when I select the last item the emulator just locks up > [...] Is this a known

RE: MySysHandleEventPatch

2002-03-12 Thread Keith Rollin
At 7:56 PM -0500 3/12/02, Paul Nevai wrote: >You are 100% right BUT it is a pain for me to export all the PRCs. I have an >almost full POSE. I have at least 10 candidates and I thought that one of you >may recognize it. > >BTW, when I did a strings job on the saved session, the word >MySysHandleE

RE: MySysHandleEventPatch

2002-03-12 Thread Scott Johnson
> From: Joe [mailto:[EMAIL PROTECTED]] > Confirmation of that: I see it in [Palm m500 and m505 ROMs] > I also see "MySysHandleEventPatch" in one of the resources > of "Some DB". Good one. It appears to be a system extension for the clock popup on the m500-series devices. The "Some DB" name is q

Re: Palm OS 5.0 Simulator and Old Serial Manager

2002-03-12 Thread Regis St-Gelais
"Scott Johnson" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > > As a serial manager newbie, I just looked up this Old and New serial manager > business and found potentially confusing information: > > Companion Vol.2 p.94 - > "The old Serial Manager API is available o

NetSample compilation problem.

2002-03-12 Thread Marcelo Asorey
Hi there: I am trying to compile NetSample Example on SDK4.0 with GCC. I already converted the srsc file to a RCP. I already found a more or less suitable makefile. The makefile assumes that a def file exists. The sourcode is not segmented as far I can see. Someone knows what is happening? Marcel

RE: MySysHandleEventPatch

2002-03-12 Thread Joe
--- [EMAIL PROTECTED] wrote: > Coincidentally, I just saw the same function > in a stack crawl > > I think it's a system patch. > Confirmation of that: I see it in platform41_m500_enUS.rom platform41_m505_enUS.rom platform41_m500_Dbg_enUS.rom platform41_m505_Dbg_enUS.rom There are

RE: MySysHandleEventPatch

2002-03-12 Thread hal
Coincidentally, I just saw the same function in a stack crawl (for a "bad field selection" error), and I'm running a clean POSE (4.1 debug ROM). I think it's a system patch. H -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/suppo

RE: MySysHandleEventPatch

2002-03-12 Thread Paul Nevai
Scott: You are 100% right BUT it is a pain for me to export all the PRCs. I have an almost full POSE. I have at least 10 candidates and I thought that one of you may recognize it. BTW, when I did a strings job on the saved session, the word MySysHandleEventPatch did not show up. Odd... /Paul

RE: MySysHandleEventPatch

2002-03-12 Thread Scott Johnson
> From: Paul Nevai [mailto:[EMAIL PROTECTED]] > If you recognmize the function name MySysHandleEventPatch(), > please contact me since my POSE has this function name in the log Paul, what's this? Don't you know exactly what's installed on your POSE session? Assuming so, you can grep for that st

RE: Palm OS 5.0 Simulator and Old Serial Manager

2002-03-12 Thread Scott Johnson
> From: Jim Schram [mailto:[EMAIL PROTECTED]] > I meant deprecated in reference to when the new serial manager > routines were added, but I definitely should have said REMOVED > in reference to Palm OS 5. My bad! :oP As a serial manager newbie, I just looked up this Old and New serial manager bus

Re: Which resource for Info screen

2002-03-12 Thread Joe
--- Todd Cary <[EMAIL PROTECTED]> wrote: > I need to create an information screen and I am not sure > if one uses a Table that can then be scrolled or some > other Resource. > If you need scrolling, you can use a Table or a List. A List handles scrolling for you, but only has one column of da

Re: Memory Issue?

2002-03-12 Thread Steve Mann
At 5:30 PM -0600 3/12/02, Carmen Sandiego wrote: >Do I need to allocate a pointer/handle? Please help! It's good practice to allocate things that size using MemPtrNew and free them up when you're done with them. Regards, Steve Mann -- For information on using the Palm Developer Forums, or t

RE: Problem - SelectDay()

2002-03-12 Thread Brian Ku
In my app I found that when the user selects the Date control garbage is displayed. If I compile (I'm using gcc) without -O2 option this does not happen on the device. Anyone seen this behavior before? Thanks Brian Ps I'm using gcc and palm 3.5 sdk. -Original Message- From: [EMAIL PROTE

Re: DmGetRecord Error

2002-03-12 Thread Edward P. Ross
Thanks Joe, Seems I always figure it out about 2 seconds after I hit the send button. Ed. Joe wrote: > --- "Edward P. Ross" <[EMAIL PROTECTED]> wrote: > > > > Using DmGetRecord, I am traversing and displaying records. > > > > When I get to the last record and hit my "Next" button I > > receive

Memory Issue?

2002-03-12 Thread Carmen Sandiego
Can someone help me? char allData[500][6]; BYTE newData[100]; I am trying to copy any new data into an array to store all data. The new data is received about 100 bytes at a time. When I try to increment to the next available address in memory, I get an error somewhere else in my program. Thi

Re: Palm OS 5.0 Simulator and Old Serial Manager

2002-03-12 Thread Aaron Ardiri
On Tue, 12 Mar 2002, Jim Schram wrote: > Must be a slow day for everyone...? yes, its only midnight for crying out loud.. the day has just begun :) // az "tunes into his midnight trance session" [EMAIL PROTECTED] http://www.ardiri.com/ -- For information on using the Palm Developer Forums,

Re: DmGetRecord Error

2002-03-12 Thread Joe
--- "Edward P. Ross" <[EMAIL PROTECTED]> wrote: > > Using DmGetRecord, I am traversing and displaying records. > > When I get to the last record and hit my "Next" button I > receive an error, which I expect, my question is how to > handle this error. Why not use if ( ihttp://mail.yahoo.co

Re: Palm OS 5.0 Simulator and Old Serial Manager

2002-03-12 Thread Jim Schram
At the risk of perpetuating this off-topic thread... :oP I think of "My Bad!" as a kind of double-entendre: Not only is it "bad" that you did something wrong in the first place, but it's again "bad" that you use incorrect grammar in the apology. It's a kind of self-encapsulating joke. Must be

Re: Palm OS 5.0 Simulator and Old Serial Manager

2002-03-12 Thread Aaron Ardiri
On Tue, 12 Mar 2002, Steve Mann wrote: > > you will probably find that australian's started using it first :) > > Uh oh. Apologies for claiming your junk as our junk. heh :) are we stepping into a regious war about grammer now? :P this is the usenet, different rules apply :P // az "still r

Re: Palm OS 5.0 Simulator and Old Serial Manager

2002-03-12 Thread Steve Mann
> you will probably find that australian's started using it first :) Uh oh. Apologies for claiming your junk as our junk. Regards, Steve Mann -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Palm OS 5.0 Simulator and Old Serial Manager

2002-03-12 Thread Steve Mann
>In my dictionary, "bad" is an adjective, not a noun. It must be an >Americanism ... however, it has made it across the Pacific, because I see >this usage on Australian mailing lists these days, too. I think it's more like an American juvenilism that has, unfortunately, been exported to the res

Re: Palm OS 5.0 Simulator and Old Serial Manager

2002-03-12 Thread Aaron Ardiri
On Wed, 13 Mar 2002, Harry Ohlsen wrote: > Speaking of vocabulary ... > > >... My bad! :oP > > Every time I read that, it makes me think of a small child who's just spilled > something :-). > > In my dictionary, "bad" is an adjective, not a noun. It must be an > Americanism ... however, it has ma

Re: Palm OS 5.0 Simulator and Old Serial Manager

2002-03-12 Thread Harry Ohlsen
Speaking of vocabulary ... >... My bad! :oP Every time I read that, it makes me think of a small child who's just spilled something :-). In my dictionary, "bad" is an adjective, not a noun. It must be an Americanism ... however, it has made it across the Pacific, because I see this usage on

DmGetRecord Error

2002-03-12 Thread Edward P. Ross
Hello! Using DmGetRecord, I am traversing and displaying records. When I get to the last record and hit my "Next" button I receive an error, which I expect, my question is how to handle this error. I was going to use DmGetLastError to check for dmErrIndexOutOfRange but I read "In many cases,

Re: Fast Database Search

2002-03-12 Thread Laurie Davis
I have used a binary search whenever it was possible. The search that I am currently trying to perform is on data that cannot be sorted. I need to do a calculation on data that is in the database to see if it meets the criteria. I cannot do any pre-calculations since I do not know what the sear

Problems getting HostFS to work, second try

2002-03-12 Thread Lonnie Foster
I haven't heard anything in the week since I posted this, so I'm going to give it another shot and cross-post to the general developer forum. Has anyone encountered similar problems getting HostFS to work in POSE, and if so, does anyone have a solution? Thanks. -- Forwarded message

RE: TblGetItemBounds not reflect row height change?

2002-03-12 Thread Peter Epstein
The row height need not be the same as the item heights. Sure, the item heights can't be any larger than the row height, but there is no reason all (or even any) items in a row have to take all the height available. Each item style has it's own rules for determining the item height. Many are by de

Re: Palm OS 5.0 Simulator and Old Serial Manager

2002-03-12 Thread Jim Schram
At 10:13 PM +0100 2002/03/12, John Marshall wrote: >On Tue, Mar 12, 2002 at 10:40:53AM -0800, Jim Schram wrote: >>> Is there a difference in the way the simulator handle the old serial >>> manager? >> > > Yes, the old serial manager APIs (SerXXX) have been deprecated. > >Pedants' corner: "deprec

Which resource for Info screen

2002-03-12 Thread Todd Cary
I need to create an information screen and I am not sure if one uses a Table that can then be scrolled or some other Resource. Todd -- Dr. Todd Cary Ariste Software 707-773-4523 [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www

Re: Palm OS 5.0 Simulator and Old Serial Manager

2002-03-12 Thread John Marshall
On Tue, Mar 12, 2002 at 10:40:53AM -0800, Jim Schram wrote: >> Is there a difference in the way the simulator handle the old serial >> manager? > > Yes, the old serial manager APIs (SerXXX) have been deprecated. Pedants' corner: "deprecated" does not mean what you think it does. I think the w

updated Windows PalmRez Post Linker available now

2002-03-12 Thread Owen Emry
There's a new build of the post linker available on the SDK page on palmos.com. This is believed to fix the bitmap corruption problem. Regards, Owen G. Emry - DTS Engineer PalmSource, Inc. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palm

Re: Memory Expansion card

2002-03-12 Thread Bubba
Read the Palm OS Companion. It explains all this. To handle databases on a memory card, you will need to specifically program for it in your application. If the database you are reading is not going to change (ie it is read only) you can retrieve records right off of the memory card. My unders

RE: Fast Database Search

2002-03-12 Thread Dave Mottorn
I use a binary search. I have a table with 22,000 records and it's instantaneous. My application requires searching by both UPC code and SKU so I keep an index to go from UPC to SKU. Even with the index there is no perceptable delay. regards, Dave Mottorn -Original Message- From: [EM

Re: Fast Database Search

2002-03-12 Thread Mark A. Peters
DmFindSortPosition uses a binary search, so if you sort the database, you can use it to do a fast search (i.e., you don't have to implement your own). If a single database has multiple sort keys, you can pass a code for the current sort key into the compare function using the "other" argument. M

Re: Getting rid of a database after you've screwed it up ;-)

2002-03-12 Thread Bob Whiteman
"Matt Disher (TiBook)" <[EMAIL PROTECTED]> wrote in message news:79540@palm-dev-forum... > > Getting rid of a database after you've screwed it up ;-) > > I've got an app now with an occasional Free Handle Error that makes my > database untouchable and un-deleteable. (that is you even think about

TblGetItemBounds not reflect row height change?

2002-03-12 Thread Mark A. Peters
I have a table whose rows I need to set to a fixed height (36 pixels). All of the cells in the table are custom items. I am using both TblSetRowStaticHeight and TblSetRowHeight to set the height (because using either alone doesn't do the job), and that is being done during frmOpenEvent processin

RE: Fast Database Search

2002-03-12 Thread Avilla, Dane
This linear search will be extremely long as you've discovered :) If you can keep the DB sorted, which it sounds like you are doing given that you are using DmFindSortPosition, implement a simple binary search (or a variation thereof) and you will be able to _dramatically_ improve your search tim

Re: Palm OS 5.0 Simulator and Old Serial Manager

2002-03-12 Thread Regis St-Gelais
"Jim Schram" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > > Yes, the old serial manager APIs (SerXXX) have been deprecated. You must upgrade your software to use > the New Serial Manager APIs (SrmXXX) which have been available for over two years. Wow!, Talk about upwa

Re: Fast Database Search

2002-03-12 Thread Steve Mann
At 1:56 PM -0500 3/12/02, Laurie Davis wrote: >I have successfully used DmFindSortPosition when looking for data >that is sorted, but I >cannot think of any way to speed up the search for other data. Why not use a binary search instead of a sequential one? Regards, Steve Mann -- For informat

Fast Database Search

2002-03-12 Thread Laurie Davis
Does anyone know of a fast way to search through a very large database (17000 records)? I currently use the the standard approach: for (UInt16 recordNum = 0; recordNum < DmNumRecords(db); recordNum++) { MemHandle dbRecordHandle = DmQueryRecord(db, recordNum); MemPtr dbRecordPtr = MemHa

directly accessing a pdb on vfs

2002-03-12 Thread Dan Thayer
I know that this topic has been discussed frequently, but I didn't see anything that answered my question. I am developing an app that needs to support read-only access of a pdb database on a vfs expansion card. However, it is not practical to load an entire record into memory using

Re: Palm OS 5.0 Simulator and Old Serial Manager

2002-03-12 Thread Jim Schram
At 1:30 PM -0500 2002/03/12, Regis St-Gelais wrote: >I have an Palm application that communicate with a PC application via the >serial port. > >It is using the old Serial Manager and work fine on Palm devices from OS 3.0 >to 4.1 > >When I try my application on the Palm OS 5.0 Simulator every thing

Re: SV: Memory Expansion card

2002-03-12 Thread Jim Schram
At 7:25 PM -0500 2002/03/12, Nicklas W Bjurman wrote: > >> > Also how does programs that is stored on a card work... I have heard >> > they copy themself to the regular memory... Thought if I have a 5 Mbyte >> > program and only have like one 1 Mbyte left in the odinary memory, will >> > I not b

Re: SV: Memory Expansion card

2002-03-12 Thread Dave Carrigan
"Nicklas W Bjurman" <[EMAIL PROTECTED]> writes: > But if I just want to store, a huge database like a dictionary and > have the program still on the main memory. Will palm download the > database to the man memory and then upload it back or can you like > read and edit files on the card if the a

When/where to redraw form

2002-03-12 Thread Todd Cary
I have an application where there is a dynamically created list and all works fine *except* if the list is presented *and* the user presses somewhere other than within the list. The list closes and leaves a blank area. I am not sure which event I should be looking for when the user presses an ar

Palm OS 5.0 Simulator and Old Serial Manager

2002-03-12 Thread Regis St-Gelais
I have an Palm application that communicate with a PC application via the serial port. It is using the old Serial Manager and work fine on Palm devices from OS 3.0 to 4.1 When I try my application on the Palm OS 5.0 Simulator every thing is fine exept for the communication. Is there a difference

SV: Memory Expansion card

2002-03-12 Thread Nicklas W Bjurman
> > Also how does programs that is stored on a card work... I have heard > > they copy themself to the regular memory... Thought if I have a 5 Mbyte > > program and only have like one 1 Mbyte left in the odinary memory, will > > I not be able to run that program? > > This is correct. But if I

Re: Memory Expansion card

2002-03-12 Thread Dave Carrigan
"Nicklas W Bjurman" <[EMAIL PROTECTED]> writes: > What is needed for a program to support memory expanion card (SD/MMC) Read the docs on the VFS expansion manager. > I suppose some codeing is needed to be done as not every program > supports memory card. Is it very much code one has to write t

Re: Bitmap type in Palm database

2002-03-12 Thread Dave Carrigan
cpssband cpssband <[EMAIL PROTECTED]> writes: > typedef struct { > char *fields[FieldsCount]; > BitmapPtr Graphic > } TestDBRecordType; You can't use a BitmapPtr. That tells the compiler that Graphic is a 4-byte value that points to a BitmapType somewhere else in memory. For that

Re: IR Printing

2002-03-12 Thread Harry Yeh
Hey Guys I found that the symbol sdk Supports printing, and I was playing around with the Postscript and it seems to work without any sort of printer driver. Fortunately I am only printing text right now, don't know what is going to happy with Graphics though :o Harry "Harry Yeh" <[EMAIL PROTECT

New Version of Falch.net DeveloperStudio Released

2002-03-12 Thread [EMAIL PROTECTED]
Falch.net is proud to announce that we have released the 2.6 version of Falch.net DeveloperStudio, including a Visual Database Designer, Database API and Source Code Generator! Take a look at the highlights here: http://falch.net/Products/IDE/WhatsNew -- Finn Falch.net DeveloperStudio for Palm O

Re: Memory Expansion card

2002-03-12 Thread Matt Disher (TiBook)
RTFM Start with the Docs: Palm OS Companion (part 1) Expansion Support begins on page: 198 See also: PalmOS Reference, The virtual file manager (for SD/MMC Cards) Starts on page 941. -- Matt Disher [EMAIL PROTECTED] > From: "Nicklas W Bjurman" <[EMAIL PROTECTED]> > Reply-To: "Palm Develop

Re: Bitmap type in Palm database

2002-03-12 Thread Dave Lippincott
Bus Error ~= General Protection Fault Make sure you allocated enough memory to Graphic and fields (don't forget to add 1 to include NULL). - Original Message - From: "cpssband cpssband" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Tuesday, March 12, 2002 2:41 A

Re: multi-line fields

2002-03-12 Thread Ken Krugler
>I'm trying to FldSetTextPtr a string into a multi-line field with scrollbar, >but when the field renders, the text gets chopped off with the first line, >instead of wrapping to the following lines of the field. As Joe noted in his response, you have to call FldRecalculateField() after calling F

Re: Detect install/uninstall of app?

2002-03-12 Thread Mark A. Peters
That's what I suspected. Fortunately, building the list initially isn't as time consuming as I thought, at least considering that in my case, it only has to be done once during the lifetime of the app. Updating it takes a tolerable amount of time too. Thanks, Mark Peters "Danny Epstein" <[EMA

Memory Expansion card

2002-03-12 Thread Nicklas W Bjurman
What is needed for a program to support memory expanion card (SD/MMC) I suppose some codeing is needed to be done as not every program supports memory card. Is it very much code one has to write to make a program support them. Also how does programs that is stored on a card work... I have heard

MySysHandleEventPatch

2002-03-12 Thread Paul Nevai
If you recognmize the function name MySysHandleEventPatch(), please contact me since my POSE has this function name in the log file when indicating a memory leak. /Paul N. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/for

Re: MemCopy has no prototype

2002-03-12 Thread Joe
--- cpssband cpssband <[EMAIL PROTECTED]> wrote: > > anybody know why i can't find MemCopy function in my > Code Warrior directory ? > it always prompt out 'functions has no prototype', > The Palm OS API does not have a MemCopy function. Use MemMove(). ___

Re: Application Launcher for Palm

2002-03-12 Thread Joe
--- Amaravadi Ravi Kumar <[EMAIL PROTECTED]> wrote: > > I am trying to develop a sample application which > locks individual palm applications with a password. > ... > Can anyone please help where can I get a sample code > to lock default PalmOS applications ? Wouldn't that just be writing the w

Re: PalmOS 5 & offscreen

2002-03-12 Thread Alex Muratov
Aaron, thank you. Definitely I'll tried it. Best regardsm Alex. "Aaron Ardiri" <[EMAIL PROTECTED]> wrote in message news:79556@palm-dev-forum... > > On Tue, 12 Mar 2002, Alex Muratov wrote: > > Does offscreen window functions work on PalmOS 5? We tested application > > which uses offscreen tech

Re: Bitmap type in Palm database

2002-03-12 Thread Kashev Georgi
BitmapPtr is not BitmapType! Storing a pointer in database doesn't help you at all, because when you retieve it back it may be not valid (especially when quiting the application). Storing BitmapType is also bad idea. I think the best is to store the id of the bitmap and to get it from resource in

Hotsync doesn't jump to StopApplication

2002-03-12 Thread cpssband cpssband
Hi, everybody: when i exit my application, my program will jump to StopApplication(), however, when i click the cradle button of my palm device and doing hotsync, it doesn't jump to StopApplication(), is there any clue ?? __ Do You Yahoo!? Try FREE

Re: How to check the value is valid integer ?

2002-03-12 Thread Aaron Ardiri
On Tue, 12 Mar 2002, cpssband cpssband wrote: > Hi, everybody: > is there any function i can use to check the value > (entered by user) is valid integer ? because string is > not accepted ... isn't there a numeric flag on the field control? :) might be a good starting point :) // az "dig int

Re: PalmOS 5 & offscreen

2002-03-12 Thread Aaron Ardiri
On Tue, 12 Mar 2002, Alex Muratov wrote: > Does offscreen window functions work on PalmOS 5? We tested application > which uses offscreen technique intensively but on PalmOS 5 Simulator it > doesn't work. It executes but screen is empty. It looks like graphics API > functions don't draw anything o

Re: ANN: Welcome to the Social Revolution

2002-03-12 Thread Aaron Ardiri
On Tue, 12 Mar 2002, Clayton Powell wrote: > The social revolution is about to hit your Palm. > > If you would like to be part of a beta test for a new product for > Palm powered handhelds then please read on. > > The program stimulates social interaction between two PalmOS handheld > owners via

How to check the value is valid integer ?

2002-03-12 Thread cpssband cpssband
Hi, everybody: is there any function i can use to check the value (entered by user) is valid integer ? because string is not accepted ... thanks __ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ -- F

Re: MemCopy has no prototype

2002-03-12 Thread Amaravadi Ravi Kumar
Hi there, There is no equivalent function for MemCopy in PalmOS SDK. You must use MemMove instead. Please read PalmOS Reference guide Memory Manager for a detailed explaination. Regards, Ravi Kumar A --- cpssband cpssband <[EMAIL PROTECTED]> wrote: > hi, everybody: > anybody know why i can't

PalmOS 5 & offscreen

2002-03-12 Thread Alex Muratov
Does offscreen window functions work on PalmOS 5? We tested application which uses offscreen technique intensively but on PalmOS 5 Simulator it doesn't work. It executes but screen is empty. It looks like graphics API functions don't draw anything on the offscreen window. Any ideas? Best regards,

test mail

2002-03-12 Thread Nag Malluru
test mail -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

MemCopy has no prototype

2002-03-12 Thread cpssband cpssband
hi, everybody: anybody know why i can't find MemCopy function in my Code Warrior directory ? it always prompt out 'functions has no prototype', what file should i included for reference ? thanks a lot __ Do You Yahoo!? Try FREE Yahoo! Mail - the wor