Re: Error: NULL string passed....

2001-02-08 Thread Holger Klawitter
Su wrote: Hi Holger U r rightYa, I had made the change already we have to make bmpP in the lower one as well... but It doesnt help with the errorthats still there. So, any tips Su theSize = MemPtrSize( bmpP ); The only thing I can think of is that bmpP is being

Invalid File Deleted

2001-02-08 Thread lklee
Dear, During my program is send to my Palm V via Hotsync, the captioned error message is shown ( 'Invalid File Deleted") on Log file. My program is compiled on CW6, Is somebody know what is going error? ( No errors during the compilation ). P.S. This is work fine before the dbase is upgraded

Copying Forms in Constructor - HELP PLEASE

2001-02-08 Thread Richard Anderson
Please help me, before I break my computer in fits of rage. I am trying to copy some forms to new forms (modal), in the same project. What I do is create a new blank form, give it a name and ID. I then select the outline of the form I want to copy, copy it and paste it into my new form.

RE: Copying Forms in Constructor - HELP PLEASE

2001-02-08 Thread Fergal Moran
Hi Richard, What I do - is select the original form in constructor project window and press CTRL+D which will duplicate the form - rename the new form to something meaningful and off you go.. Fergal.. -Original Message- From: Richard Anderson [mailto:[EMAIL PROTECTED]] Sent: 08

Bitmapbutton

2001-02-08 Thread SvenÅke Andersson
Hi I'm trying to change the bitmap in (on) a button. I've created the button in the contrsuctor and placed two form bitmaps on top of'em. Now I woluld like to programatically change which bitmap that is drawn... How do I do this ? -- SvenÅke Andersson Above Software [EMAIL PROTECTED]

Re: Compression

2001-02-08 Thread Warren Young
SVBN MURTHY wrote: zs.zalloc = (alloc_func)0; Are you sure you're not supposed to set this data member to a "malloc" type function? Having never used ZLib myself, that's just a guess. -- = Warren Young -- Maintainer of the Palm OS Programmer's FAQ at: =

Database question

2001-02-08 Thread Rochester, Dean
Hi I am new to this Palm OS programming and am working through databases. My question is I have an example where the contents of a database record is read into a string. The database record contains date, time, firstname, lastname The part I am fuzzy on is // append the first name to the

Hidden Kinder Egg in the Prefs application!

2001-02-08 Thread Bulent Gecer
Hi all, I've noticed that if you draw a zero in the bottom right corner of the Prefs application, a Kinder Egg will appear. Then, if you press the hard key down button and draw a horizontal line from the graffiti area to the left side of your Palm, a car will cross your screen! Does anybody

RE: Hidden Kinder Egg in the Prefs application!

2001-02-08 Thread Richard Anderson
You just noticed this ??? How did you just stumble on this ?? I new this because I read it somewhere Rik -Original Message- From: Bulent Gecer [SMTP:[EMAIL PROTECTED]] Sent: 08 February 2001 13:45 To: Palm Developer Forum Subject: Hidden Kinder Egg in the Prefs application!

RE: Hidden Kinder Egg in the Prefs application!

2001-02-08 Thread Aaron Ardiri
You just noticed this ??? How did you just stumble on this ?? I new this because I read it somewhere hehe http://www.palmlife.com/egg.html // az [EMAIL PROTECTED] http://www.ardiri.com/--- free games! -- For information on using the Palm Developer Forums, or to unsubscribe, please

Re: using C types

2001-02-08 Thread Martin Elzen
From: "David Bonham" [EMAIL PROTECTED] I disagree with this. [...] But in order for your code=20 to be as efficient as you want, use literal ints.=20 stuff snipped as a developer, especially on embedded systems like the=20 Palm OS, it is very important to know what the min/max

SV: Hidden Kinder Egg in the Prefs application!

2001-02-08 Thread Bulent Gecer
Thanks for the link Aaron! Aaron Ardiri [EMAIL PROTECTED] skrev i diskussionsgruppsmeddelandet:[EMAIL PROTECTED] You just noticed this ??? How did you just stumble on this ?? I new this because I read it somewhere hehe http://www.palmlife.com/egg.html // az [EMAIL PROTECTED]

Re: Database question

2001-02-08 Thread Chad Harrison
Dean - your assumption as correct - there is null character in between the "fields" of your record. just be sure thay when you read in your record, NOT from the start, that you add 1 to the offset to include this null character. for example the second field would be: StrCat(listChoice,

Re: Hidden Kinder Egg in the Prefs application!

2001-02-08 Thread Dave Lippincott
Yes, its an old easter egg. I think you can do it as early as OS 2.0. The egg just lets you know the other 'surprises' are enabled. Like... somehow you can make a taxi zoom across the screen (can't remember how anymore). FYI http://www.palmlife.com/egg.html - Original Message - From:

Printing selection in CW7

2001-02-08 Thread DeAnna Davidson
I'm using Win98 second edition, CW7. When I try to print selected text to a network printer I get "Operating system error -30870." If I try to print a selection to a directly connected printer (LPT1), it works fine. If I print an entire file to a network printer that works fine, I only have a

Re: Palm Keyboard : Excluding Characters

2001-02-08 Thread Jeremy Neal Kelly
There is a free product available at PalmGear called 'VirtualKB'; though I haven't used it for this purpose, it does allow one to create custom keyboard layouts. It also adds buttons at the top of the screen for copying, cutting, pasting, etc. Good luck! - J. "Rick Gadbois" [EMAIL PROTECTED]

gcc and -palmos4

2001-02-08 Thread McCollister, Mike
Hi, I have various SDK folders in my gcc directory. For example, one is sdk-3.1, another is sdk-3.5. I select the sdk-3.5 directory by using the -palmos3.5 flag with m68k-palmos-gcc. However, when I try to use -palmos4 to select the sdk-4 directory, it doesn't work with PRC-Tools 2.0. Is there a

Re: gcc and -palmos4

2001-02-08 Thread Aaron Ardiri
Hi, I have various SDK folders in my gcc directory. For example, one is sdk-3.1, another is sdk-3.5. I select the sdk-3.5 directory by using the -palmos3.5 flag with m68k-palmos-gcc. However, when I try to use -palmos4 to select the sdk-4 directory, it doesn't work with PRC-Tools 2.0. Is

bitmaps in a list

2001-02-08 Thread Manal Milad
Hi all, I need to create a list in a form. Each record in the list is a bitmap and text written next to it. Is this doable? or should I not use list and use something else? Like what? Thanks in advance Manal -- For information on using the Palm Developer Forums, or to unsubscribe, please see

RE: (W) Program Database Names

2001-02-08 Thread Steve Stover
Thanks for the info, Peter! I would have thought that separate creator Ids for the application and the created database would have kept things separate, but I guess not. Guess I still don't completely understand the relationship and operation between the creator Ids and different database

no more sockets (Net 1205) error???

2001-02-08 Thread Anthony Randazzo
NetLibOpen(ref,..) socketFD = socket() bind(socketFD,...) connect(socketFD,...) Should I include a close(socketFD) before the NetLibClose()? NetLibClose() -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: gcc and -palmos4

2001-02-08 Thread Aaron Ardiri
What about customizing your spec file? ~ % grep -C1 sdk% /usr/local/lib/gcc-lib/m68k-palmos/2.95.2-kgpd/specs *palm_sdk: sdk%{palmos1*:-1}%{palmos2*:-2}%{palmos3:-3}%{palmos3.0:-3}%{palmos3.1:-3.1}%{palmos3.5:-3.5} Having -palmos4 to look into sdk-4 seems just a matter of appending

Newbie question: holding handles to bitmaps before use

2001-02-08 Thread Mauricio Tavares
Ok, this should be a rather easy question. Probably even stupid because it is very obvious (to everybody but me), but here it is: I would like to do a cyclical animation on the Palm screen. To do that, I was thinking on loading the different bitmaps that make up the cycle and store

RE: bitmaps in a list

2001-02-08 Thread Scott Johnson (Bellevue)
From: Manal Milad [mailto:[EMAIL PROTECTED]] I need to create a list in a form. Each record in the list is a bitmap and text written next to it. Is this doable? Yes, you can use a custom list draw function to draw whatever you want in each list item. See LstSetDrawFunction. -slj- -- For

4*5 Pixel Bitmap problem

2001-02-08 Thread Oscar
Dear All, I have created a 4*5 pixel bitmap in the constructor and save it, but when I open it again, it becomes a mess! How can I solve it? Oscar -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

How do I set the socket content type? (inet lib)

2001-02-08 Thread Jeff Davey
I've been working with the "InetLow" Internet Library sample code, found at: http://oasis.palm.com/dev/kb/samples/1709.cfm This example was written to retrieve "text" data from a host. I'm trying to retrieve a 5Kb Palm bitmap and it will only retrieve about 300 bytes. I'm thinking I need

RE: Palm Keyboard : Excluding Characters

2001-02-08 Thread Richard.Johnstone
On this subject, it allows you to create new overlays. To do this it says to create a palm database with certain resources. How do you create a DB with resources??? -Original Message- From: Jeremy Neal Kelly [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 9:50 AM To: Palm

RE: (W) Program Database Names

2001-02-08 Thread Peter Epstein
At 07:50 AM 2/8/2001, Steve Stover wrote: Thanks for the info, Peter! I would have thought that separate creator Ids for the application and the created database would have kept things separate, but I guess not. Guess I still don't completely understand the relationship and operation between

Re: bitmaps in a list

2001-02-08 Thread Hal Mueller
Use LstSetDrawFunction. You'll provide a custom function to draw each element of the list any way you like. At 5:54 PM +0200 2/8/01, Manal Milad wrote: Hi all, I need to create a list in a form. Each record in the list is a bitmap and text written next to it. -- For information on using the

Undocumented color API calls in V3.5

2001-02-08 Thread Mark F Rodriguez
I'm neck deep into the color functions and found an interesting function call in the Palm OS 3.5 Limited Sources download. It looks like controls have the ability to be drawn with "user defined" colors. Unfortunately, I can't seem to find the function in the documentation and was wondering if

Question on how to step out of Code Warrior Development Environme nt

2001-02-08 Thread Rochester, Dean
I have been playing with Code Warrior Lite and it has really helped me cut my teeth on this Palm Coding. I am wanting to get out of the limitations of Code Warrior and create some larger apps. Since Palm OS is a bunch of header files... I should be able to use my standard C/C++ compiler and

Re: Compression

2001-02-08 Thread krollin
I don't recall it being mandatory in the standard zlib, so I wouldn't think it would be necessary in the Palm version. -- Keith Rollin -- Palm OS Emulator engineer Warren Young [EMAIL PROTECTED] on 02/08/2001 05:19:57 AM Please respond to "Palm Developer Forum" [EMAIL PROTECTED] Sent

Re: bitmaps in a list

2001-02-08 Thread Chad Harrison
try using a table, with each rows using a customTableItem and a custom draw procdeure, which draws both your bitmap and the text. On Thu, 8 Feb 2001, Manal Milad wrote: Hi all, I need to create a list in a form. Each record in the list is a bitmap and text written next to it. Is this

Bus Error After Kill Running Program

2001-02-08 Thread Van Nguyen
Greetings, I am using CW V4.0.1 and Emulator 3.0a8 with palmos351-en-m100-dbg.rom file to run and debug my application. I know that I must have done something incorrectly in my program because I got a bus error right after I kill the running app. The error dialog comes up with Debug, Reset

16 level gray-scale mode

2001-02-08 Thread Daniel Morais
Hi everybody ! I'm looking for informations about how to initialize the screen in 4 bits mode on the devices which have a DragonBall EZ processor, when Palm OS version is 3.5 The way I'm thinking of doing it is to use ScrDisplayMode to put the screen in 2 bits mode and then write to the GSx

RE: Question on how to step out of Code Warrior Development Envir onment

2001-02-08 Thread Scott Johnson (Bellevue)
From: Rochester, Dean [mailto:[EMAIL PROTECTED]] I have been playing with Code Warrior Lite and it has really helped me cut my teeth on this Palm Coding. I am wanting to get out of the limitations of Code Warrior and create some larger apps. CodeWarrior LITE is crippled, but regular

Re: How do I set the socket content type? (inet lib)

2001-02-08 Thread Ben Combee
"Jeff Davey" [EMAIL PROTECTED] wrote in message news:38834@palm-dev-forum... The code in snip2 returns an error value of 5148. The API states this call should return one of three values: 0 - no error inetErrSettingNotImplemented- "Invalid setting specified" (S/B 1403)

CodeWarrior 7 Glitch

2001-02-08 Thread Alan Ingleby
I have my editor window maximised most of the time, but when I start a build, CW "restores" it. I prefer to keep it maximised though, so is there a way of telling CW not to do this? Regards, Alan Ingleby Systems Developer ProfitLink Consulting Pty Ltd 309 Burwood Road Hawthorn Victoria 3122

Re: Undocumented color API calls in V3.5

2001-02-08 Thread David Fedor
I'm aware of the enum UIColorTableEntries which explains the UIObjectSelectedFill parameter, but I can't find UIColorGetIndex. I've searched the header files and the PDF documentation... But no luck:-( That's an internal macro used inside the ROM for speed, which bypasses the API and accesses

Advanced Palm Porgramming book

2001-02-08 Thread Christina Qin
Thank you for the useful info. Here is the question from another newbi (I am about to start my first project): Does "Advanced Palm Programming" book teach you how to create .pdb file? If not, where can I find detail info about it and could you give me the link? I searched Palm Web, but could

Does NetLib work with Plam VII?

2001-02-08 Thread Maduhri Tambe
Hi, If Palm Os 3.5 application is written using NetLib API functions, would it work without hiccups on Plam VII? Also, could I use httpS for application targeted for Palm III and Palm V? If not, what is the best way to ensure secured transactions? Thanks, Madhuri -- For information on using

Security

2001-02-08 Thread Nicolás Zeitlin
I am developing a commercial app. Therefore, I'd like it to be impossible (difficult in the least) to beam my app. I think the best way to do this would be to get, by software, the unique code of every Palm. I believe that number is printed in the back of every palm. Is this possible? Is there

Re: gcc and -palmos4

2001-02-08 Thread John Marshall
Aaron Ardiri [EMAIL PROTECTED] wrote: Mike McCollister wrote: However, when I try to use -palmos4 to select the sdk-4 directory, it doesn't work with PRC-Tools 2.0. Is there a way to get this to work or will I have to wait for PRC-Tools 2.1. By the time there really is a 4.0 SDK (i.e., not a

Re: gcc and -palmos4

2001-02-08 Thread John Marshall
Alexandre Duret-Lutz [EMAIL PROTECTED] wrote: What about customizing your spec file? [...] Having -palmos4 to look into sdk-4 seems just a matter of appending %{palmos4:-4} to the above line. Correct. Aaron Ardiri [EMAIL PROTECTED] wrote: wow.. sweet :)) i'll be adding that to my faq :)

Re: Newbie question: holding handles to bitmaps before use

2001-02-08 Thread Steve Mann
I would like to do a cyclical animation on the Palm screen. To do that, I was thinking on loading the different bitmaps that make up the cycle and store their MemHandles in a structure array (I also want to record their insertion point). That should work fine. Depending on the # of changes per

CodeWarrior

2001-02-08 Thread Nicolas Raitman
Hi to all... this must be an easy question. I am having trouble when I attempt to create an empty project with Codewarrior. I do the following: 1) I select an empty project and create it. 2) I create a group within the files tab of the project, but when I select that folder of the group and go to

Newbie question - trying to find some info

2001-02-08 Thread doneill
Hi All I am just starting to try to do port one of our applications to the Palm. I understand that the Palm OS v3.5 is a single user interface - that is, if I have interpreted this correctly, the OS can have only one application running simultaneously. Our application sometimes needs more than

Re: multiple categories.

2001-02-08 Thread Steve Mann
It seems that a database can have only one category associated with it and in fact I would prefer to keep these item lists in my preference struct. There is only one category list that CategorySelect uses. It's stored in the Appinfo block of a database and that's where it expects to find the

Re: Security

2001-02-08 Thread Steve Mann
I think the best way to do this would be to get, by software, the unique code of every Palm. I believe that number is printed in the back of every palm. Is this possible? Is there any other unique code I can get by software? No. Check the knowledge base for a discussion of this and why you

Re: How do I set the socket content type? (inet lib)

2001-02-08 Thread Jeff Davey
Ben, Thank you for your response. "Ben Combee" [EMAIL PROTECTED] wrote in message news:38862@palm-dev-forum... 5148 decimal == 0x141c hexadecimal. This error code corresponds with inetErrSettingNotImplemented (which is 0x1400 | 0x001c, and 0x1c == 28). You're getting this because setting the

Re: How do I set the socket content type? (inet lib)

2001-02-08 Thread Ben Combee
Hi Jeff. May I ask where you found this information? I've been going over the manuals all week and I never saw that it "will be" supported on POS 4.0? Trial and error last Friday night with the 4.0DR3 ROMs and the new 4.0 version of the INetLow sample code posted in the seeding area. Does

Re: Newbie question: holding handles to bitmaps before use

2001-02-08 Thread Ben Combee
"Steve Mann" [EMAIL PROTECTED] wrote in message news:38871@palm-dev-forum... I would like to do a cyclical animation on the Palm screen. To do that, I was thinking on loading the different bitmaps that make up the cycle and store their MemHandles in a structure array (I also want to record

RE: Security

2001-02-08 Thread Herman Badenhorst
why not check the copy prevention bit under Linker / PalmRez Post Linker in codewarrior? -Original Message- From: Nicols Zeitlin [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 04:01 AM To: Palm Developer Forum Subject: Security I am developing a commercial app. Therefore,

How to use profile

2001-02-08 Thread Edward Ye
Hi,all. Who can tell me how to use profiling on POSE.I want to use it to optimize my code. Rgs. Edward -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: Security

2001-02-08 Thread Mathias Leprince
http://oasis.palm.com/dev/kb/papers/2169.cfm -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]De la part de Nicols Zeitlin Envoy : jeudi 8 fvrier 2001 03:01 : Palm Developer Forum Objet : Security I am developing a commercial app. Therefore, I'd like it to be

Re: ANN: CW Pro 6.1 patch and CW Palm 7.0

2001-02-08 Thread Aaron Ardiri
Metrowerks has just released a minor maintenance update for CodeWarrior for Windows, Version 6.0 and CodeWarrior for Mac OS, Version 6.0. If you are using CodeWarrior for Palm OS Platform 7.0, whether as a standalone setup or merged with CodeWarrior 6.0, we strongly suggest not installing the

Re: 16 level gray-scale mode

2001-02-08 Thread Aaron Ardiri
Hi everybody ! I'm looking for informations about how to initialize the screen in 4 bits mode on the devices which have a DragonBall EZ processor, when Palm OS version is 3.5 The way I'm thinking of doing it is to use ScrDisplayMode to put the screen in 2 bits mode and then write to

Re: gcc and -palmos4

2001-02-08 Thread Aaron Ardiri
I wish you wouldn't, or at least please add some disclaimers. The specs file is very fragile, and it's easy to make it unparseable if you don't know what you're doing. i'll add a disclaimer - at least ask people to back it up before ;) I did mark this as a %config file in the RPM spec,

Re: Security

2001-02-08 Thread Aaron Ardiri
I've seen that you've written some emails to the Palm Developer Forum regarding security. You mentioned something about checksum. That's the approach I'm looking for. Is there any help you could give me? Where would I get the initial (unique?), number from? I know this is a broad topic.

Re: ANN: CW Pro 6.1 patch and CW Palm 7.0

2001-02-08 Thread Ben Combee
"Aaron Ardiri" [EMAIL PROTECTED] wrote in message news:38887@palm-dev-forum... Metrowerks has just released a minor maintenance update for CodeWarrior for Windows, Version 6.0 and CodeWarrior for Mac OS, Version 6.0. If you are using CodeWarrior for Palm OS Platform 7.0, whether as a