Creating .PDB files on the desktop

2003-02-19 Thread John C. Christensen
Members, I'm fairly new to Palm programming and brand new to CodeWarrior. I started writing Palm apps with CASL which allowed me to get my feet wet but then I started running into limitations. I bought CodeWarrior 9 and have been hitting the books pretty hard. My C skills are a bit rusty but

Coverting CW app to Multi Language

2003-02-19 Thread Richard . Anderson
I have a Code Warrior / Constructor based application which is quite large. I need to convert it to support EFIGS + Dutch Languages. It is highly preferable that my application has user selectable language (on the fly) and consists of only one file. The size of my application is not important as

Re: multisegmenting troubles

2003-02-19 Thread Ton van Overbeek
Chris Faherty [EMAIL PROTECTED] wrote: On Tuesday 18 February 2003 05:50 pm, Rick Reynolds wrote: I've actually been in contact with both Ton van Overbeek (hacked gdb to work with multisegmented apps) and David Williams (author of multilink) about this. Apparently the script that multilink

PrintBoy

2003-02-19 Thread Ai Lee Tang
hi all, Does Printboy, Bachmann's product support Sipix pocket printer? rgds, ailee _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail -- For information on using

Re: Coverting CW app to Multi Language

2003-02-19 Thread kcorey
If you can relax the single file issue, you could use a solution like this: http://www.hhcenterprise.com/Developer/Issue3/PalmOS_Foreign.htm It's a plugin. At the start of your program it loads its resources, and then checks to see if there's another resource file that fits the bill. If there

Re: multibyte string lib functions

2003-02-19 Thread Jan Slodicka
A couple questions about multibyte strings... Do all the characters in the same encoding use the same number of bytes per character, or is it possible for an encoding to use 3 bytes for one character, 1 for another, etc? Unicode (not used on Palm) uses constant char length 2 By, multibyte

Re: About FontSelect()???

2003-02-19 Thread Ram Prasad.J
It provides three fonts for user to select automatically. Standard, bold, large bold. However, I dont want large bold.. how I can provide standard and bold (2) only to choose? Hi., One possible way of doing so, is to create your own custom font select dialog box. In this you can

Re: How to add a contact to address book from my program???

2003-02-19 Thread Ram Prasad.J
How can I add a contact to address book from my program? I ve got a Name, Tel, Email text fields and I wanna add to address book. Anyone here can help?? Open the addressdb using the datamanager functions and write your records in to it. you can see the sample for the address book which

abs() function ?

2003-02-19 Thread Chris Apers
Hi, Is there an abs() function on palmos ? Thanks Chris -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: abs() function ?

2003-02-19 Thread Aaron Ardiri
Is there an abs() function on palmos ? #define ABS(x) (((x) 0) ? -(x) : (x)) --- Aaron Ardiri [EMAIL PROTECTED] CEO - CTO +46 70 656 1143 Mobile Wizardry http://www.mobilewizardry.com/ -- For

Re: abs() function ?

2003-02-19 Thread Ram Prasad.J
Is there an abs() function on palmos ? no., u have to create one. ram -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

PrefSetPreference(prefNumberFormat, nfCommaPeriod) ?

2003-02-19 Thread Dragomir Goranov
Hi, I want my program always to use the nfCommaPeriod format. On application startup I call PrefSetPreference(prefNumberFormat, nfCommaPeriod) and when I exit my application and go to the Preferences - Formats I see that the value has changed correctly to nfCommaPeriod. In my program I have a

Re: help..

2003-02-19 Thread Einar Örn
I don't know, but if you write a more meaningful subject, a person with knowledge about xml parsers might read your post. E. Prakash [EMAIL PROTECTED] skrev i meddelandet news:114064@palm-dev-forum... Hi, Could anyone direct me to some information on xml parser[non java] for palmos? i am

Re: How to add a contact to address book from my program???

2003-02-19 Thread Tenchi-Man
Thanks a lot. I ll have a look thank you Ray Ram Prasad.J [EMAIL PROTECTED] wrote in message news:114135@palm-dev-forum... How can I add a contact to address book from my program? I ve got a Name, Tel, Email text fields and I wanna add to address book. Anyone here can help??

Re: About FontSelect()???

2003-02-19 Thread Tenchi-Man
Oh, thanks , thats much simple I was trying to modify the system. really thanks Ray Ram Prasad.J [EMAIL PROTECTED] wrote in message news:114133@palm-dev-forum... It provides three fonts for user to select automatically. Standard, bold, large bold. However, I dont

Re: abs() function ?

2003-02-19 Thread John Marshall
On Wed, Feb 19, 2003 at 11:25:44AM +0100, Aaron Ardiri wrote: [Chris Apers [EMAIL PROTECTED] wrote:] Is there an abs() function on palmos ? There's not one in the Palm OS API, but you'll likely find that it is supplied by your compiler's libc and/or is built into your compiler. For example,

Re: Palm/CE with Barcode

2003-02-19 Thread Stringer
Subject: Re: Palm/CE with Barcode From: George Aslanis [EMAIL PROTECTED] What is Palm's strategy for the data collection market segment? It seems hardware manufacturers like Symbol and Intermec are more focused on Windows based offerings. Is it because Microsoft has a stronger influence on this

hoe to use sndStreamCreate

2003-02-19 Thread geetarm
Hi All , Can anybody explain me how to use sndStreamCreate () ... i want to play a wave file by using sndStreamCreate () first i am creating a file where i am storing the wave file data ... that file handle i am passing to sndStreamCreate as callbackarg ... in snd_callback i am reading

RE: Creating .PDB files on the desktop

2003-02-19 Thread Tony Goggin
I'm looking for some good documentation on creating .PDB files on the PC. Although there seems to be a number of ready made utilities available, all the ones I've found are for some specific record format (NSBasic, Satellite Forms, etc). I guess I'm going to have to roll my own. I read

TCP/IP stack on Palm

2003-02-19 Thread Haresh Gujarathi
Why Palm does not have TCP/IP stack? I mean why did Palm choose not to implement such on PalmPilots, where as Microsoft could do that for PocketPC? Is such scenario a drawback for Palm architecture? -- haresh -- For information on using the Palm Developer Forums, or to unsubscribe, please

what is meaning of serial-to-modem'?

2003-02-19 Thread HR
In Palm-Pilot, 'Network-'Preferences' the screen lists various options for connection... Like... Serial to Phone or Serial to Modem IR to Phone What do they mean... how are they used? for what purpose they are used for... -- HR -- For information on using the Palm Developer Forums, or to

WDBAS question

2003-02-19 Thread HR
I hope this is right place to ask a question regarding WDBAS... I have written a db application using WDBAS api., to connect to a database thr WDBAS. It seems to be working fine on emulator. I would like to test it by deploying it on my Palm m505. I do not have Wireless infrastructure as of now.

Re: TCP/IP stack on Palm

2003-02-19 Thread Brian Smith
On Wed, 19 Feb 2003, Haresh Gujarathi wrote: Why Palm does not have TCP/IP stack? It does, at least with version 2.0 and later. This should also answer your other questions concerning the connection types. Where did this rumor (that it didn't) originate, anyway? --

DB management

2003-02-19 Thread Chris Apers
Hi, I have a problem working with DB : In AppStart i open my DB and keep it ref in a global variable (static DmOpenRef _dbRef). During the program i try to add/remove records with DmNewRecord and DmRemoveRecord but i have an address error (read at an odd address) when i try to read with

RE: Creating .PDB files on the desktop

2003-02-19 Thread Alec Brecher
I also found a perl module for creating and reading pdb files. http://search.cpan.org/search?query=Palmmode=module -Alec -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tony Goggin Sent: Wednesday, February 19, 2003 9:20 AM To: Palm Developer Forum

Re: hoe to use sndStreamCreate

2003-02-19 Thread Magnus Berg
Comments in the code. void call_snd_create() { Err err; int ret = 0; unsigned long len_to_read = 500,ret_len=0,len =0; Byte *buf[300] = {0}; err = SndStreamCreate(stream, sndOutput, 48000, sndInt16Big, sndStereo, snd_callback,file_h,250,false); Use sndInt16Little, all

free advice

2003-02-19 Thread Dennis Leas
[Caution! This is a bit of a rant, brought on by the rising noise level.] At the risk of sounding arrogant and a know it all, here's some free advice: - 1) The absolute worst way to debug a program is by asking questions to an online list. It is even worse if the

Re: Palm/CE with Barcode

2003-02-19 Thread Dave Lippincott
Symbol for some strange reason doesnt seem interested in releasing a color unit based on the PalmOs. I'd love to know why. $ From what I'm told by Symbol, there are plans for a color, rugged device but they want a large order before they will produce it. Is it because Microsoft has a

Re: free advice

2003-02-19 Thread Brian Toothill
Ooo, Dennis, you could have started a hell of a thread here. If you were female, I'd say, Never mind, it's just that special time of the month again, dear. My apologies, your comments made me laugh, as often the blatant truth does. I agree, there have been some 'extraordinary' posts, with

Newbie at first SysFatalAlert, unable to open form!

2003-02-19 Thread Stephen Sciberras
I am a newbie to Palm Programming, and I seem to run into many troubles in compiling my code. I ahve used C before, so that is not a problem. I am using pilrc and GCC in order to compile, my budget is very limited. Does anyone know of a good debugger, or a manual to the debugger of GCC?

Re: hoe to use sndStreamCreate

2003-02-19 Thread Brian Toothill
Check out the subject line - even prostitutes are programming these days! -- Brian Toothill -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Creating .PDB files on the desktop

2003-02-19 Thread Ben Combee
At 00:33 2003-2-19 -0800, you wrote: Members, I'm fairly new to Palm programming and brand new to CodeWarrior. I started writing Palm apps with CASL which allowed me to get my feet wet but then I started running into limitations. I bought CodeWarrior 9 and have been hitting the books pretty

Re: Coverting CW app to Multi Language

2003-02-19 Thread Ben Combee
At 09:03 2003-2-19 +, you wrote: I have a Code Warrior / Constructor based application which is quite large. I need to convert it to support EFIGS + Dutch Languages. It is highly preferable that my application has user selectable language (on the fly) and consists of only one file. The size

Re: How to add a contact to address book from my program???

2003-02-19 Thread Tenchi-Man
I ve got some questions there are so many stuff in the address book source code, which part is vital? do i have to care about sorting or something? can I just create a record and write it into the database only?? thx Ray Ram Prasad.J [EMAIL PROTECTED] wrote in message

Size of offscreen windows?

2003-02-19 Thread Rick Reynolds
I'm calling WinCreateOffscreenWindow in order to do some buffering for text scrolling. What I'm wondering is how I can find out how much space is taken up by a window. I assume it would have to do with the color depth (as well as width and height). Does anyone know how this can be determined?

Re: free advice

2003-02-19 Thread Greg Lutz
Thanks very much for writing this. For someone who's made his living as a programmer for 34 years, it's a pleasure to see some perspective reflected in a list posting. --Greg Lutz At 10:46 AM 2/19/2003 -0500, you wrote: [Caution! This is a bit of a rant, brought on by the rising noise

Palm, look into inlined functions!

2003-02-19 Thread Loc
Why must Palm try to be unique? Been pulling my hair out for several hours over strange Metrowerks compile errors. Been cursing Metrowerks then figured out the problem was Palm's fault. It is such a beautiful platform that they decided to defy the C/C++ world by having their own function name

Re: multibyte string lib functions

2003-02-19 Thread Jason Freund
Jason Wrote: A couple questions about multibyte strings... Do all the characters in the same encoding use the same number of bytes per character, or is it possible for an encoding to use 3 bytes for one character, 1 for another, etc? Jan Wrote: Unicode (not used on Palm) uses constant

Re: abs() function ?

2003-02-19 Thread Henk Jonas
Aaron Ardiri wrote: Is there an abs() function on palmos ? #define ABS(x) (((x) 0) ? -(x) : (x)) which isn't exactly a function... ;-) Henk -- - [EMAIL PROTECTED]

Re: field with horizontal scrolling

2003-02-19 Thread Lau Bech Laurtizen
Couldn't you make your own scrolling? A procedure could be: 1. When the user types a character check the the number of characters in the field. 2. If the field is full save the field text to a variable. 3. Set the field text to be a substring of the user input. You could make two scroll buttons

Re: multibyte string lib functions

2003-02-19 Thread Ken Krugler
A couple questions about multibyte strings... Do all the characters in the same encoding use the same number of bytes per character, or is it possible for an encoding to use 3 bytes for one character, 1 for another, etc? The latter. For Shift-JIS, each character consists of one or two bytes,

Converting project from CW6 to CW9

2003-02-19 Thread tilo . christ
Hi! In a CW6 project file I am distributing I am using Neil Rhodes PilRC plugin to compile resources. Users who load that file into CW9 complain that CW9 is looking for PilRC.dll, but cannot find it. What's the proper way to change the imported project file? Is it enough to remove the compiler

Re: Converting project from CW6 to CW9

2003-02-19 Thread Ben Combee
At 20:16 2003-2-19 +0100, you wrote: Hi! In a CW6 project file I am distributing I am using Neil Rhodes PilRC plugin to compile resources. Users who load that file into CW9 complain that CW9 is looking for PilRC.dll, but cannot find it. What's the proper way to change the imported project file?

Re: free advice

2003-02-19 Thread Mark A. Peters
There is an erroneous implication here (unintended, I hope) that there is something wrong with relying on a debugger to debug a program. The human mind is fallible, and so checking what we _think_ is true against what _is_ true is essential. Using a debugger is not optional in this, since there

Re: Palm, look into inlined functions!

2003-02-19 Thread Chris Antos
To be fair, had you read the docs up front, you wouldn't have been confused at all. :-) Also, please recall that inline is a C++ thing (yes most compilers have an option to enable certain C++ extensions in C, but you made such a big deal about ANSI standards that it seems you aren't the sort of

Re: PrintBoy

2003-02-19 Thread Chris Antos
Of course you should really ask Bachmann. Ai Lee Tang [EMAIL PROTECTED] wrote in message news:114128@palm-dev-forum... hi all, Does Printboy, Bachmann's product support Sipix pocket printer? rgds, ailee _ Add photos to

Re: field with horizontal scrolling

2003-02-19 Thread Chris Faherty
On Monday 17 February 2003 10:07 am, Brian Smith wrote: On Mon, 17 Feb 2003, David Janssens wrote: The string to enter can be very large. The problem is that, to my knowledge, fields can't do horizontal scrolling. Anyone has ideas on how to input large strings? Multi-line field. At

Re: multibyte string lib functions

2003-02-19 Thread Jan Slodicka
What about numbers? Is char s[10] = -54 always the same byte string in any encoding, or is it possible that one encoding will not represent numberic characters (and/or '.', '-') the same way as ASCII? Yes, low ascii chars are identical in all encodings. I see the TxtAttrib functions, but

Re: multibyte string lib functions

2003-02-19 Thread Ben Combee
Probably right. StrPrintF seems to support only %C for WChar's, which is too little to be considered as true multibyte support. Or does someone correct me? Since the multibyte encodings used on Palm OS don't use NUL characters in the encodings, you should be able to use %s for a multibyte

Re(2): free advice

2003-02-19 Thread George Henne
My favorite doc to refer people to is Eric Raymonds How to ask questions the smart way. You can find it here: http://www.catb.org/%7Eesr/faqs/smart-questions.html It is also available in Danish Estonian French German Hebrew Hungarian Polish Russian and Spanish. George Henne

compile cspotrun

2003-02-19 Thread Michael Chee
Sorry about this first, totally newbie but wanted to learn something on Palm OS. Anyhow how do you compile CSpotrun its a application for palm reader at www.32768.com/bill/palmos/cspotrun . I currently have Codewarrior v8.0 and the source code on cspotrun. Can anyone explain the steps please..

Re: free advice

2003-02-19 Thread Dennis Leas
There is an erroneous implication here (unintended, I hope) that there is something wrong with relying on a debugger to debug a program. I would probably phrase that a little differently. But no, I don't believe there is anything *wrong* with using a debugger to debug a program. Writing

Re(2): free advice

2003-02-19 Thread Dennis Leas
From: George Henne [EMAIL PROTECTED] My favorite doc to refer people to is Eric Raymonds How to ask questions the smart way. You can find it here: http://www.catb.org/%7Eesr/faqs/smart-questions.html Good link! Thanks! Dennis Leas --- [EMAIL PROTECTED] -- For

Re: free advice

2003-02-19 Thread Mark A. Peters
Whadda'ya mean, all of a sudden? Weren't you standing on one before? ;-) Mark Peters Dennis Leas [EMAIL PROTECTED] wrote in message news:114212@palm-dev-forum... [...] Yes, indeed! the human mind is altogether too fallible! Just because a program seems to produce the expected result,

Re free advice

2003-02-19 Thread Dennis Leas
Whadda'ya mean, all of a sudden? Weren't you standing on one before? ;-) Mark Peters Uhmm, yes! But I hadn't noticed (...fallible human mind, mine). :D - Dennis Leas Dennis Leas [EMAIL PROTECTED] wrote in message news:114212@palm-dev-forum... [...] Yes, indeed! the human mind is

Re: compile cspotrun

2003-02-19 Thread Rick Reynolds
Sorry about this first, totally newbie but wanted to learn something on Palm OS. Anyhow how do you compile CSpotrun its a application for palm reader at www.32768.com/bill/palmos/cspotrun . I currently have Codewarrior v8.0 and the source code on cspotrun. Can anyone explain the steps

Stack and/or Heap Differences in Tungsten

2003-02-19 Thread Matt Disher
Are there known Stack and/or Heap difference (in terms of available space) in the Tungsten vs the Straight up OS 5 Sim and the 5.3 Sim? I seem to be running short on the Tungsten specifically. -MD -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Palm, look into inlined functions!

2003-02-19 Thread Loc
docs? I've read the companions pdf and reference. Knew about the macros. Don't recall it saying don't name your functions open(), close(), rename(). Don't recall it saying define IGNORE_STDIO_STUBS if you want to name functions with the same name as stdio functions. Benefits? No benefits in

Re: Palm, look into inlined functions!

2003-02-19 Thread Douglas Handy
Loc, They need to understand that MS dominance was built on underhandedness AND great developer relations and support. Palm needs to get with the times. And use more underhandedness? g Doug -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Palm, look into inlined functions!

2003-02-19 Thread Chris Antos
Palm needs to get with the times. Perhaps more up to date example code would help. Those examples, circa Palm Pilot professional, just don't cut it anymore. Palm isn't perfect. But perhaps you should search a little better. There is tons of up to date example code from OS 4.0 and even OS

reading .pdb line-by-line?

2003-02-19 Thread Mark Mastroieni
I've used txt2pdbdoc (uncompressed option) to translate a .txt file into .pdb format; the file defines instructions for my application's VM to interpret/execute. On Linux, I can read the original .txt file line by line; I need to emulate the same thing on PalmOS. (Also, I need to identify all

size of structure

2003-02-19 Thread prasadb
Hai folks, I have a basic doubt about the memory allocated for a structure in Palm.I declared following structure in my program. The size of elements in the structure is 25 bytes. But when i tried to find size of whole structure using sizeof(mystruct) its returning 26 bytes. I found that if

Re: Stack and/or Heap Differences in Tungsten

2003-02-19 Thread tilo . christ
Hi! Are there known Stack and/or Heap difference (in terms of available space) in the Tungsten vs the Straight up OS 5 Sim and the 5.3 Sim? I seem to be running short on the Tungsten specifically. My Tungsten reports 692KB of free heap space. I use Memory Hog to obtain that number

How to prevent system from getting Hotsync signal ?

2003-02-19 Thread Tim Niu
Dear all, I'm just developing keyboard driver for Palm under OS5.0. But when keying in, keyboard will send a hotsync signal to serial port that causes Palm to start the process of hotsync, even if my driver has already gotten the control of serial port. My driver can't not work from the very

Re: PrintBoy

2003-02-19 Thread Oliver
Chris Antos wrote: Of course you should really ask Bachmann. That would be too easy/efficient/straightforward, wouldn't it :-) FWIW, the Bachmann Software site has a list of supported printers available. Google, too, might be useful. Oliver