StrCopy/StrCat with printf causes bus error

2000-10-29 Thread Stephen A Tang
It seems that when I create a large string with StrCopy and StrCat, I cannot print that string without causing a bus error or a program counter error. The program counter error looks like: "QTest" (unknown version) is attempting to change the emulated program counter to 0x69696969. This

Re: Mem leak found, but how to squelch?

2000-10-29 Thread chongwm
True, having an array of handles would be easier on the OS's memory. Like you wrote, I could even make it a dynamic array and resize it when I need more or less memory. However, there's another problem. This one relates to form refreshing (I think). I kill all the handles in my form's close

RE: StrCopy/StrCat with printf causes bus error

2000-10-29 Thread Scott Johnson (Bellevue)
From: Stephen A Tang [mailto:[EMAIL PROTECTED]] "QTest" (unknown version) is attempting to change the emulated program counter to 0x69696969. That error almost always means the stack got trashed, such as by a buffer overrun bug. In this case, note that 0x69696969 equals ''. A clue?

Re: Greyscale

2000-10-29 Thread Aaron Ardiri
hi! palm-dev-forum people: :P surely, it would be good to accept these guidelines when posting? can the list administrator look into this? a message in this thread was a whopping 40K! so much for thinking of our palm.net subscribers who read these messages. a) no attachments of

RE: SysAppLaunch and iMessenger

2000-10-29 Thread Scott Johnson (Bellevue)
From: Mike Eynon [mailto:[EMAIL PROTECTED]] err=SysAppLaunch(cardNo,dbID,0,sysAppLaunchCmdAddRecord,...); When I run this, I am getting an err return of 528 (?) First, learn to interpret OS error codes. They always consist of a round (in hex) base code that indicates the subsystem, plus

Re: CE POSE version

2000-10-29 Thread Grounderyoyo22
In a message dated 10/28/00 4:09:54 PM Mountain Standard Time, [EMAIL PROTECTED] writes: Right, especially because of all the lazy people who ask for something here instead of doing a simple search for it in the archives or on altavista or something. Asking a basic and lazy question will

Re: hold a block of 100kb data

2000-10-29 Thread Eric
You haven't described what you are searching for. Normally you would pack one search entry per database record, or N entries. yes!!! I use this method before. But the search function is part of my engine that is corss platform. There is no this 64K limit in other platforms. I want to use the

RE: CE POSE version

2000-10-29 Thread P. Alan Johnson
I know this may sound hard to believe, but there are beginners out there on this forum that ask basic questions because they don't understand PalmOS programming or just programming in general at the level you do. ( }#^} Ritz (Doing that world famous Handsbreadth double take) Wht?

Re: CE POSE version

2000-10-29 Thread Brian Mathis
[EMAIL PROTECTED] wrote: In a message dated 10/28/00 4:09:54 PM Mountain Standard Time, [EMAIL PROTECTED] writes: Right, especially because of all the lazy people who ask for something here instead of doing a simple search for it in the archives or on altavista or something. Asking a

Re: gray in different devices

2000-10-29 Thread Shay
thanks, i'll try to look in it deeply. Shay "Adam Wozniak" [EMAIL PROTECTED] wrote in message news:28206@palm-dev-forum... Shay wrote: Can i do anything so that the grays in IIIx,IIIe,V,Vx will look as much as IIIc ??? = PRE OS 3.5: Hypothetically speaking, you could register

Re: hold a block of 100kb data

2000-10-29 Thread Steve Mann
If I break into 2 records (60 and 40 KB). I get 2 record pointers (A, B), does the memory location of the end of A equal to the previous byte location of the start of No. Regards, Steve Mann -- --- Creative Digital Publishing Inc. 1315 Palm Street, San

Re: Replacing the Launcher application

2000-10-29 Thread Brian Mathis
herry wrote: I would like to write my own "Launcher" application. How would I go about doing this? How can I replace the existing launcher with my own? Thanks, Herry Well, just write an app that works the way you want it to. To make it use the Launcher silk button you'll need to do

Re: StrCopy/StrCat with printf causes bus error

2000-10-29 Thread Stephen A Tang
Aaron Ardiri wrote: maybe the "string" you are copying is barfing the stack somewhere? 'i' = 105 = 0x69 you maybe corrupting the stack somewhere, and, as a result.. corrupting the "program counter".. and wola.. try storing your string in a resource instead of as a "local"

Re: StrCopy/StrCat with printf causes bus error

2000-10-29 Thread Aaron Ardiri
you maybe corrupting the stack somewhere, and, as a result.. corrupting the "program counter".. and wola.. try storing your string in a resource instead of as a "local" object in the application.. you are messing with too much memory, and it just cannot handle it. if you

how to create a memopad archive for importing into Palm desktop

2000-10-29 Thread Calvin Hilton
I'm trying to find out what the specs are for creating a memo pad archive (mpa) file. I would like to download a large volume of text to a Palm by programatically creating mpa files with a Perl program, importing them into the Palm desktop and then synching them to the Palm. I've searched

Re: Greyscale

2000-10-29 Thread Mike Montalvo
Sorry. (was that consice enough?) -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: Greyscale

2000-10-29 Thread Aaron Ardiri
Sorry. (was that consice enough?) dont take my words harshly :) the same issue has come up many times on the list - even people trying to get attachments back (vCards etc) i think, for the benefit of everyone, a set of posting "rules" should be made available - extra bandwidth

Re: Replacing the Launcher application

2000-10-29 Thread herry
That is not good enough. I want to completely replace the default Launcher so that my application will be the first thing that comes up even if you do a hard reset. Herry I would like to write my own "Launcher" application. How would I go about doing this? How can I replace the existing

Re: Replacing the Launcher application

2000-10-29 Thread Brian Mathis
herry wrote: That is not good enough. I want to completely replace the default Launcher so that my application will be the first thing that comes up even if you do a hard reset. Herry Well, then you only have one option. You'll need to create your launcher application, just like normal.

bad news guys/gals

2000-10-29 Thread Grounderyoyo22
OK, I think this is bad. GCC is complaining about the fact that it doesnt know what UIntxx's are, and that I can't create my own structs. Ages ago, I heard someone talking about a .H file called PalmType.h or something like that...in my stupidity, I ignored it...I may need it. If anyone knows

RE: bad news guys/gals

2000-10-29 Thread P. Alan Johnson
Everything you need to define such types are contained within the Palm OS SDK header files. Perhaps you have the incorrect SDK headers or are pointing to an older version. Recheck your paths and GCC installation. The other file, PalmType.r, refers to resource definitions to use along with

Does LstSetListChoices() copy or use the itemsText parameter pass ed?

2000-10-29 Thread Jason Garrett
Does LstSetListChoices() make its own copy for the list to use, or does it continue to use the memory that you have indicated in this call? Could I destroy my string list, and the list remain happy? Jason Garrett wirelessdata Ph: +64 9 379 3710 Fax: +64 9 379 7360 Cell: +64 21 400 307 ICQ:

Constructor w/ 65,000 colors?

2000-10-29 Thread Jon Baer
Anyone know if Codewarrior tools has been or will be updated for Handspring Prism color depth? - Jon -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: bad news guys/gals

2000-10-29 Thread Craig Evans
I'm guessing you have recently upgrade to the 3.5 SDK ... Look for a file called "PalmCompatability.h" (in the "...\Palm OS 3.5 Support\Incs" directory on my PC) ... it contains all the #defines for the palm types. You will find what you want in there. Initially #include the file in your code,

m100 modem ?

2000-10-29 Thread DEVEN BHATT
Dear friends, I have m100 and I want to connect it to the net. Can I use my HotSync Cable that came with m100 ? If yes, how ? If no, what is the other alternative ? I gave a search "modem" on palm.com site, and for m100, it showed me HotSync Cable as the modem source. Can someone please tell

Re: Does LstSetListChoices() copy or use the itemsText parameter pass ed?

2000-10-29 Thread chongwm
Nope, the document states that, though not in the exact words "IT DOES NOT MAKE A COPY". -LstSetListChoices (ListType *listP, Char **itemsText, UInt16 numItems) -Parameters : itemsText Pointer to an array of text strings. So, u would have to do something like this: void foo() { Char*

RE: Does LstSetListChoices() copy or use the itemsText parameter pass ed?

2000-10-29 Thread Gavin Maxwell
Basically if the API name has "Set" in the title it merely stores a reference to whatever you pass in, if it has "Copy" in the name it will actually copy what you pass it. eg FrmCopyTitle copies the string you pass it. Regards, Gavin. -- For information on using the Palm Developer Forums, or

Exg Manager Problems

2000-10-29 Thread Addy Chan
I get a task of completing a backup and restore application work like Handspring backup module. Scanning through the Palm Programmer's Manual, I found the ExgDB routine fit our needs. By using the ExgDBWrite, I can write out the internal database and store as file format. However, when I try to