Running a program when pilot is powering on

2000-05-04 Thread Manuel Colas Remacha
Hi everybody ! I am really lost with this. I am trying that everytime that the Pilot powers on, my program is automatically launched (instead the launcher app)... I have been messing with the "sysAppLaunchCmdSystemReset" with no results... ;-) and I am really, really, lost Any kind of help or su

Re: UUencode for Palm?

2000-05-04 Thread Chris Faherty
"Fabio Ravanal" <[EMAIL PROTECTED]> wrote on 00/05/05 02:00 am: > 1. I was wondering if anyone had successfully implemented a UUEncode for > the PalmOS to convert database records to ASCII so that they can be sent > as attachements in an e-mail program (something I am trying to write). I wrote

RE: atof

2000-05-04 Thread Steve Mann
>I found this code useful and interesting, but I don't understand how dSep is >defined. Is that a constant you defined somewhere or is that a Palm defined >type? Sorry about that. It's the device-defined decimal separator character from preferences. A global. Here's how we get them: kSep, dSep

UUencode for Palm?

2000-05-04 Thread Fabio Ravanal
Hello Palm Gods. I hope someone will be able to help me answer these two questions: 1. I was wondering if anyone had successfully implemented a UUEncode for the PalmOS to convert database records to ASCII so that they can be sent as attachements in an e-mail program (something I am trying to w

RE: atof

2000-05-04 Thread Mitch_Fawcett
I found this code useful and interesting, but I don't understand how dSep is defined. Is that a constant you defined somewhere or is that a Palm defined type? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Steve Mann Sent: Thursday, May 04, 2000 9:00 PM

Wireless laptop - Palm networking ?

2000-05-04 Thread Guillermo Guichal
Sorry for asking this question here, but maybe somebody can give me a hint. Anybody know of a way to network a Palm with a laptop (or PC) wirelessly. Has Palm adopted any standard, like bluetooth or anything like that? I not interested in a dedicated link between Palm & laptop but in a way that

Re: atof

2000-05-04 Thread Steve Mann
>My question is simple, I want to use a function like atof, where I pass in a >char * and getting back a float or double. See the attached code. >I don't know how to use the FloatMgr as they are require a FloatType >structure that is not defined anywhere. It actually is defined somewhere in the

Re: Setting up GCC

2000-05-04 Thread Roger Chaplin
"Mitch Fawcett" <[EMAIL PROTECTED]> wrote: > 1) Where are the examples (address, datebook, memo etc)? I did a file-find > of *.prc on all partitions of my hard drive and I don't see any of them. /PalmDev/Palm OS 3.5 SDK Examples > 2) Where does it explain what common headers are needed (pilot.h

RE: Getting a responce from a serial device

2000-05-04 Thread Paul A. Dugas
This poor man's approach ... I do quite a bit of work with serially controlled equipment and by far the best tool I have in my bag-o-tricks is a simple box with red/green LEDs and a pair of DB25 connectors. That, a null modem adapter, four DB25-to-DB9 connectors (different permutations of 9 vs.

Re: Form bitmap questions

2000-05-04 Thread Richard M. Hartman
Look into FrmHideObject/FrmShowObject. If you're planning on detecting taps on them eventually, you might want to make them into gadgets. -- -Richard M. Hartman [EMAIL PROTECTED] 186,000 mi/sec: not just a good idea, it's the LAW! Steven Lawson wrote in message <10568@palm-dev-forum>... > >I

Re: Getting a responce from a serial device

2000-05-04 Thread Steve Sabram
Charles Rezsonya wrote: > thanx, but the cable is one that came with the device, so its specific to > that > -Original Me Then you need to fish out the signals on each of the pins to make sure that you are getting that to the Palm. Again, use OnLine and start to put together a break-out

Form bitmap questions

2000-05-04 Thread Steven Lawson
I need some advice on how to hide/show form bitmaps. I have a couple of tiny status icons next to the Graffiti shift indicator that I need to activate under certain conditions. Eventually I need to detect taps on them, which I have a feeling will fall into place once I know how to make them hide

Re: hacking the serial

2000-05-04 Thread Tim Lock
At 16:51 4/05/00 -0400, you wrote: >i'm trying to receive some responces over the serial port, i call >serReceive and serReceiveWait etc but nothing seems to be returning, as >well as checking the receive buffer. i'm thinking of next trying to catch >an event or interupt but need some direction

atof

2000-05-04 Thread Eric
I have took a quick look through www.palmos.com and cannot find what I am looking for. I am sure it is there somewhere but I just not very good at it. My question is simple, I want to use a function like atof, where I pass in a char * and getting back a float or double.

Re: forum reply problems...

2000-05-04 Thread John Corelli
Unfortunately I just deleted the incoming and outgoing mail logs yesterday, so I wasn't able to find an email from you that bounced. However, this is what the problem has typically been in the past. >>You may not find any from yesterday because I now go right into creating a new message with the

Re: Uploading to handheld

2000-05-04 Thread Richard M. Hartman
The problem w/ direct serial is that you have to have your clients turn off their hotsync software since it's hogging the serial port. It would be nice if Palm provided a "serial pass-thru API" to their hotsync manager, so programs running on the PC could send data to the hotsync manager to be wr

Re: Getting a responce from a serial device

2000-05-04 Thread Richard M. Hartman
The cable the device came with was made to connect to a Palm? I find this difficult to believe. More likely you have a device that has a cable that was made to connect the device into a standard PC serial port, and you have an adapter and are plugging that into your Palm cradle? (If I'm wrong ab

Re: Can we identify a stream file's database?

2000-05-04 Thread Greg Bungo
Thanks! I was afraid it would be a lot more complex than that! Greg -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: Training classes?

2000-05-04 Thread Steve Branin
Well that depends on your skill level with PalmOS. As a beginner who had been only doing PalmOS stuff for a week, the class was well worth the $2K (of course it didnt come out of my pocket). I learned more in the first day than I had figured out in an entire week of working on my own. I took th

Re: forum reply problems...

2000-05-04 Thread Ryan Robertson
John, I'm posting this to the group just in case anyone else has the same problem. > I was wondering if anyone is having this same problem. When I try to reply to > a Palm forum message, I get > it bounced back by the Lyris list server program. The error message states > that I can't send atta

Re: forum reply problems...

2000-05-04 Thread Brian O'Grady
I think I had the same problem when I tried to send a message in html format (under tools/options/send), I changed to text and it worked. Brian - Original Message - From: "John Corelli" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> S

forum reply problems...

2000-05-04 Thread John Corelli
I was wondering if anyone is having this same problem. When I try to reply to a Palm forum message, I get it bounced back by the Lyris list server program. The error message states that I can't send attachments to the list (which I am *not* doing). So I end up cutting a pasting into a fresh

RE: Can we identify a stream file's database?

2000-05-04 Thread Scott L. Johnson
> From: Greg Bungo [mailto:[EMAIL PROTECTED]] > Is there a way to determine the database > that is associated with a stream file? If you want to fetch the DmOpenRef while the stream is open, try FileControl() with the fileOpGetOpenDbRef operation. Or if you want to access the database when a str

Training classes?

2000-05-04 Thread John Corelli
Greetings all - Has anyone ever attended one of those 5 day training classes that Palm offers through Symbol Tech? On Palm's website they show two different courses - a 5 day and a 3 day. I contacted someone at Symbol a while ago and they didn't know anything about 3-day seminars. Can anyon

Can we identify a stream file's database?

2000-05-04 Thread Greg Bungo
Hello, Is there a way to determine the database that is associated with a stream file? In other words, if I'm accessing data with fopen(), fread(), fwrite(), fclose(), etc., what's the Palm database? I want to use the TRG FlashPro API, so I can put some files into Flash RAM, where's they'll be

Re: Getting a responce from a serial device

2000-05-04 Thread Charles Rezsonya
thanx, but the cable is one that came with the device, so its specific to that -Original Message- From: Steve Sabram <[EMAIL PROTECTED]> To: Palm Developer Forum <[EMAIL PROTECTED]> Date: Thursday, May 04, 2000 3:02 PM Subject: Re: Getting a responce from a serial device >First thing to

hacking the serial

2000-05-04 Thread Charles Rezsonya
i'm trying to receive some responces over the serial port, i call serReceive and serReceiveWait etc but nothing seems to be returning, as well as checking the receive buffer. i'm thinking of next trying to catch an event or interupt but need some direction. am i going to far? should there be

Debugging PilotMain in CW

2000-05-04 Thread Chris DiPierro
I'm new to CodeWarrior (from gcc). For some reason when its debugger starts up it can't find the symbols (and hence can't debug/trace) in the main file for my application (the one with PilotMain, etc). All other files debug fine...is there a trick to this? -- For information on using the Palm

Uploading to handheld

2000-05-04 Thread Mitch Fawcett
I have a project that requires an upload of data from PC to handheld. The quantity will vary between 200KB to 500KB. The data consists of exam preparation questions and answers. The transfer only needs to go one way; from PC to handheld. I will be encrypting the data to make it harder for someo

Re: palm software cracking

2000-05-04 Thread Mike Davis
> > My pedit was cracked at http://202.103.100.253/hambo/pdazone.html. > > Should I ignore it or should I write a new registration process? Is > > there a generally accepted attitude towards such cracking in the > > palm programmer community? Best regards, Paul > > trust me.. no matter how har

Re: Getting a Palm VII ROM

2000-05-04 Thread Tom Zerucha
On Thu, May 04, 2000 at 09:54:43AM -0700, David Fedor wrote: > >> But I think it's just > >> discrimination that americans can download the ROM's and the people from > >> Europe don't. > >> What is the reason for this, > > > >As I understand it, it has to do with US export restrictions on crypto

Re: Getting a responce from a serial device

2000-05-04 Thread Steve Sabram
First thing to do is make sure that your serial hardware (cables, wires, et. al.) is working and then start to write you code. Sometimes you have the wrong cable and need a Null Modem cable instead of a pass-thru considering the device you are using. To make sure this works, get a regular termi

Getting a responce from a serial device

2000-05-04 Thread Charles Rezsonya
i have opened a serial connection with a device at 9600, 8 bits per char, 1 stop bit. probing the serial devices settings its at 9600 8n1. i believe that i'm sending it valid instructions because when i tell it to read a card it becomes armed. but the next obivious step is to receive the data f

Re: Hardware ? - cradle use for xe vs Prof

2000-05-04 Thread Aaron Ardiri
> Can a PalmIIIxe use an older "PalmPilot" cradle..- If > the pins can be "made to fit"? my Palm III's (a few of em) fit in the PalmPilot cradle and i can synchronize perfectly.. you just gotta jam it in there :)) only the V and Vx changed the general pin structure :( az. -- Aaron Ardi

Hardware ? - cradle use for xe vs Prof

2000-05-04 Thread Gary Hellman
I am pretty sure this is the wrong forum - help direct me if you can... Can a PalmIIIxe use an older "PalmPilot" cradle..- If the pins can be "made to fit"? A friend has a Palm Professional and cradle. His screen went dead. He has offered the cradle to me. Although the PalmIIIxe will not "mate"

Re: palm software cracking

2000-05-04 Thread Aaron Ardiri
> > i simply have joined in the fun by competiting with them.. they want > > to be the #1 cracker, i want to be the #1 protector.. why dont you > > take this approach - or simply let it go. > > Ok, this seems on topic :). Do you know of any simple things that can be > done to make the soft

Re: DmDatabaseProtect

2000-05-04 Thread Danny Epstein
"Kirk Dybvik" <[EMAIL PROTECTED]> wrote in message news:10498@palm-dev-forum... > Is there a way I can determine the current protect count for the desired > database? There's no API to do that. You can call DmDeleteDatabase and see if you get an error indicating the database is protected, but th

Re: palm software cracking

2000-05-04 Thread Marty Rice
- Original Message - From: Aaron Ardiri <[EMAIL PROTECTED]> > i simply have joined in the fun by competiting with them.. they want > to be the #1 cracker, i want to be the #1 protector.. why dont you > take this approach - or simply let it go. > Ok, this seems on topic :). Do you k

Re: palm software cracking

2000-05-04 Thread Christian Vandendorpe
In response to Aaron Ardiri: > i dont care about the cracking personally, but i am interested in > what theys guys think about - cracking is an art.. :)) BigToaster > would not let me know any more about how he did it - as i quote: Cracking is not an art, it's a waste of resources. They j

Re: Getting a Palm VII ROM

2000-05-04 Thread David Fedor
>> But I think it's just >> discrimination that americans can download the ROM's and the people from >> Europe don't. >> What is the reason for this, > >As I understand it, it has to do with US export restrictions on crypto >technology. Exactly. Our government doesn't let us send "strong" encry

Re: Horizontal scrolling...ideas?

2000-05-04 Thread David Fedor
>Have you tried a scrollbar? I believe that scrollbars have logic in them >that draws horizontally if the scrollbar object is wider than it is tall. Only in 3.3 and higher. Prior to 3.3, they'd look pretty messed up if you put them in a horizontal configuration. It isn't an officially supported

Re: StrPrintF bug?

2000-05-04 Thread Steve Sabram
Fredrik Jagenheim wrote: > Have I misunderstood something, or stumbled over a bug? > >StrPrintF(charP, "%u %u", 4, -4); > gives: >charP = 0x1a614 "4 65532" You are putting a signed int into an unsigned field. To do what you want, I suggest... StrPrintF(charP, "%i %i", 4, -4); St

RE: StrPrintF bug?

2000-05-04 Thread Fitzpatrick, Joe
In the second use of StrPrintF your format string is telling the StrPrintF function to expect 4 byte values on the stack, but you are still just pushing 2 byte values onto the stack. If you cast the two literals to 'unsigned long' (or the appropriate Palm data type) your second case will give the

Getting drained batteries by a Fatal Error??

2000-05-04 Thread Jürgen Fedrich
Hi, I'm using a Vx, OS3.3 and found the following problem: -when there is a FATAL ERROR, the OS will never go into sleep mode, except the user taps the OK field in the Fatal Error message. This may lead to heavy battery drains, for example fatal errors might be caused by alarm software. When not

Re: Debugging Shared Libraries

2000-05-04 Thread Jun-Kiat Lam
You can actually debug into shared libraries into CW for Palm R6, although your shared libraries need to be built with debugging info before you can have source level debugging. You might want to check out Targeting Palm OS, page 127 for more info on how to debug shared libraries. Rgds, Jun-Kiat

Re: Tutorial?

2000-05-04 Thread Jun-Kiat Lam
Hi, The version of the Palm OS Tutorial in CW for Palm R6 is newer than the one in CW for Palm R5; it's version 3.1 if I'm not mistaken. Rgds, Jun-Kiat Lam Metrowerks Technical Support - Original Message - From: "Stevie" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]>

Re: palm software cracking

2000-05-04 Thread Aaron Ardiri
> Actually, it make not difference what you do. You could send the > links to your congressman, Janet Reno, or even the Presidential > Candidates and nothing would get done. As soon as you shut one down, > another pops up. > > The best thing is to stop promoting these sights by posting them.

Re: Debug question

2000-05-04 Thread Tim Astle
Okay, I figured out how to open the database correctly. How do I get it to display the contents of what I've written into it? -- Tim Astle -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: palm software cracking

2000-05-04 Thread Mike Davis
> Bobby Kolev wrote: > > > One thing is for sure, you do not post WAREZ site on public place > > like this forum!!! Palm, shouldn't that be part of the subscription > > conditions? > > > > BTW, this is not the only warez site out there as many of you > > probably know. > > On the contrary, publi

Re: Using the intrinsic address book

2000-05-04 Thread Ben Darnell
In article <10503@palm-dev-forum>, J. F. Sucher wrote: >After looking into it further, I see that I'd have to write my own contact >list anyhow, as I have a few very specific fields, that I would like the >users to add to if they needed... > >It seems ashame though.. I know that many of the contac

Re: palm software cracking

2000-05-04 Thread Adam Wozniak
Bobby Kolev wrote: > One thing is for sure, you do not post WAREZ site on public place like this > forum!!! > Palm, shouldn't that be part of the subscription conditions? > > BTW, this is not the only warez site out there as many of you probably know. On the contrary, public posting should get t

Re: Getting a Palm VII ROM

2000-05-04 Thread Adam Wozniak
Patrick Heynen wrote: > But I think it's just > discrimination that americans can download the ROM's and the people from > Europe don't. > What is the reason for this, As I understand it, it has to do with US export restrictions on crypto technology. see http://cwis.kub.nl/~frw/people/koops/cls

Re: Use of STX and ETX

2000-05-04 Thread Adam Wozniak
Steve Sabram wrote: > Try "Online" from MarkSpace Softworks (www.markspace.com). It is a general purpose >terminal emulator that should let you program > these as Macros. If that doesn't fly, you'll need to roll a piece of code to do >that custom communcation. I have seen people cut-and-past

Re: StrPrintF bug?

2000-05-04 Thread Adam Wozniak
Fredrik Jagenheim wrote: > Have I misunderstood something, or stumbled over a bug? > >StrPrintF(charP, "%u %u", 4, -4); > gives: >charP = 0x1a614 "4 65532" > > Which is correct, as I understand things; But: > >StrPrintF(charP, "%lu %lu", 4, -4); > Ought to return the same thing: >

Re: StrStr -- not like C99's strstr

2000-05-04 Thread Adam Wozniak
Ben Combee wrote: > I just found something that bugged me. The PalmOS String Manager function > StrStr differs from the C standard in how it handles empty strings. > > PalmOS StrStr(string, "") returns NULL > The ANSI C strstr(string, "") returns string > > I hope this difference is note

Debug question

2000-05-04 Thread Tim Astle
I'm fairly new to the Palm debugger. When I try to open the database I want, I get this error. ##ERROR Opening database I would like to open the database so that I could list the records. Does anyone know what I'm doing wrong? -- Tim Astle -- For information on using the Palm Developer F

Re: Using the intrinsic address book

2000-05-04 Thread J. F. Sucher
Thanks for your reply... After looking into it further, I see that I'd have to write my own contact list anyhow, as I have a few very specific fields, that I would like the users to add to if they needed... It seems ashame though.. I know that many of the contacts that they'll need in my app wou

Re: Horizontal scrolling...ideas?

2000-05-04 Thread Neil Rhodes
> Does anyone have any ideas on how to implement horizontal scrolling in a > non-iontrusive and somewhat neat way? Ideally, I'd love a bar like the > vertical scroll bars, but that of course doesn't exist (w/o writing a > gadget anyway). Anyone handled this in a clever way? > Have you tried a scr

RE: Fatal Error when HotSync installs the .PRC

2000-05-04 Thread Yu, Ken
Your app may be accessing global variables regardless of the launch flag. Make sure you check the launch flag before using globals. -Ken > -- > From: HowY[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Thursday, May 04, 2000 9:14 AM > To: Palm Dev

Horizontal scrolling...ideas?

2000-05-04 Thread Chris DiPierro
Does anyone have any ideas on how to implement horizontal scrolling in a non-iontrusive and somewhat neat way? Ideally, I'd love a bar like the vertical scroll bars, but that of course doesn't exist (w/o writing a gadget anyway). Anyone handled this in a clever way? -- For information on using

DmDatabaseProtect

2000-05-04 Thread Kirk Dybvik
Thanks for the info. The documentation states: "This routine can be used to prevent a database from being deleted (by passing true for the protect parameter). It increments the protect count if protect is true and decrements it if protect is false." Is there a way I can determine the current p

doc to text conversion code is needed

2000-05-04 Thread Paul Nevai
Where could I get the code [preferable in CW form] of converting between doc and text [both ways]? Thanks! Best regards, Paul [author of pedit] pedit: http://www.math.ohio-state.edu/~nevai/palm/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.pal

Re: Fatal Error when HotSync installs the .PRC

2000-05-04 Thread Fredrik Jagenheim
Check the conduit inspector log. What does it try to do when everything goes wrong? On Thu, May 04, 2000 at 09:14:58AM -0400, HowY wrote: > Thanks for any help > > When my .PRC is installed onto a new Palm > via HotSync at the end of the session when > the screen says "Cleaning Up" a fatal error

Fatal Error when HotSync installs the .PRC

2000-05-04 Thread HowY
Thanks for any help When my .PRC is installed onto a new Palm via HotSync at the end of the session when the screen says "Cleaning Up" a fatal error is generated by HotSync. After resetting the .prc runs fine. I'm not doing anything with regard to acting on a SyncNotify event. Just a straight

serial responces

2000-05-04 Thread Charles Rezsonya
if i'm expecting a responce from a serial device that i succesfully instruct its operation, what steps do i take to ensure i get its responces for process? i see that the new serial manager has an event setter, but the 'serial manager' does not. -- For information on using the Palm Developer

Setting up GCC

2000-05-04 Thread Mitch Fawcett
I am trying to set up a development environment based on SDK3.5, PRC-Tools v2.0, Cygwin-b20-1-user-tools, Pilrc v2.5b3. After downloading and installing the appropriate files for each of these from the Palm site I'm still stuck on a couple of issues. I did the installation on an NT 4.0 SP3 works

StrPrintF bug?

2000-05-04 Thread Fredrik Jagenheim
Have I misunderstood something, or stumbled over a bug? StrPrintF(charP, "%u %u", 4, -4); gives: charP = 0x1a614 "4 65532" Which is correct, as I understand things; But: StrPrintF(charP, "%lu %lu", 4, -4); Ought to return the same thing: charP = 0x1a614 "327676 3855" And:

SysGetRom()

2000-05-04 Thread Rob Merrifield
Hi Guys, Can anyone help me with this - I am using GCC(Win32) 2.7.2.2 / SDK 3.0 and am having difficulty in reading the Flash ROM Serial Number from Flash Based devices (IIIx etc). When I call "retval = SysGetROMToken (0, sysROMTokenSnum, &bufP, &bufLen);" My compiler complains that "sysROM

RE: palm software cracking

2000-05-04 Thread McCollister, Mike
Hi all. I am thinking of creating a shareware program and wanted to get your opinion. I have a few choices and was hoping that you guys would command on these. For my shareware program, I can handle it one of these ways: 1) Have a demo version and then send the registered user a registered copy.

Re: : pilrc and colors

2000-05-04 Thread Aaron Ardiri
> >If the OS is an earlier one than 3.5, I think it is safe to assume that you > >do not have color support. :) > > But the inverse does not hold true: if you have OS 3.5, you do not > necessarily have color support. You might be on a grayscale device. > And can't the user set his own default

Re: palm software cracking

2000-05-04 Thread Aaron Ardiri
> My pedit was cracked at http://202.103.100.253/hambo/pdazone.html. Should I > ignore it or should I write a new registration process? Is there a generally > accepted attitude towards such cracking in the palm programmer community? > Best regards, Paul trust me.. no matter how hard you try..

DmDatabaseSize()

2000-05-04 Thread Rob Merrifield
Hi Guys, Can anyone help me with this - Err = DmDatabaseSize((UInt) iCardNo, (LocalID) dbID, &ulNumRecords, 0, &ulBytes); ulNumRecords & ulBytes are both Unsigned Long intetgers. My app (and this call) runs fine, but after repeating this call about 20 - 30 times(Using Gremlins), I ge

Use of STX and ETX

2000-05-04 Thread James H. Walker
For a piece of proto software I would like to hand enter the ASCII characters STX and ETX into a text field. Is there a key combo that when placed in a text field the Palm will interpret as the STX or ETX characters?\0x2, \0x3 do not seem to work in proto application. -- James H. Walker Si

Re: Use of STX and ETX

2000-05-04 Thread Steve Sabram
Try "Online" from MarkSpace Softworks (www.markspace.com). It is a general purpose terminal emulator that should let you program these as Macros. If that doesn't fly, you'll need to roll a piece of code to do that custom communcation. Steve "James H. Walker" wrote: > For a piece of proto so

Re: Bug: Printing array elements in gdb

2000-05-04 Thread John Marshall
Frykholm, Niklas <[EMAIL PROTECTED]> wrote: > The printing of array elements seems to be broken in the gdb version that > comes with PRC Tools 2.0. Thank you for your bug report. It appears that the 4.18 release of gdb was always broken like this when cross-debugging between machines of differin