Re: [Palm DB list ]

2000-04-25 Thread Neelesh Chitari
Hi Barida Sigalo, I've created a similar application which gives a listing of all the databases present on the current palmtop on which the app. is running. I've used DmGetDatabase API which takes card number and index as parameters and returns LocalID of the corresponding database. You can use

Scrolling Field Example in Palm Programming

2000-04-25 Thread Mike Davis
I have coded a scrolling field example by using the example on page 122-124 in the Palm Programming book. It works pretty well but there are a couple of quirks. 1) I cannot select the text unless the last line in the field is displayed. Why does this work this way? How do you fix it? 2) On

ListReader - a Visual Basic front end for this list.

2000-04-25 Thread Nick Fenwick
I've written a small Visual Basic project in Microsoft Word that parses a digest-edition of this list and displays it in a list. It's not big and it's not clever, but I found reading this list so infuriating that I decided something had to be done. It can be found at http://neek.go.to/palm-dev/l

RE: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread Oliver King-Smith
Actually to get back to my original point. I like DmWriteCheck. It really prevents problems. It can be a pain to use it, but the time it saves and the stability it ads is really worthwhile. Is this the slow function or is DmWrite slow? DmWriteCheck is presumably all done in software, and I wou

Re: Globals or no Globals

2000-04-25 Thread Jason Simpkins
OK, I got now, thank you very much for the information, and I do truly appreciate the technical expertise so easily accessible on this email list. Kudos! Jason David Fedor wrote: > >When I call DmResetRecordStates() on a Palm OS 3.5 its seems to work fine, > >however same code no changes on

RE: can we connect to any port of any server running

2000-04-25 Thread Fitzpatrick, Joe
But it is important to note that you cannot make generic connections/transactions with those ports using INetLib. Even with the limited number of ports you are still pretty much limited to HTTP Get and Post. -jjf -Original Message- From: Shane Conneely [mailto:[EMAIL PROTECTED]] Sent: T

Re: Palm OS Emulator 3.0a6 posted

2000-04-25 Thread Ben Combee
> Thanks for the report. No, I hadn't seen it before, but I see it now. We're > trying to track down the source or it right now. But I don't think it's a Poser > or skin problem. Just to add to this, I saw this same problem with the 3.0a5 emulator and the 3.5b4 EZ-WC ROM. I didn't mention it bec

Re: OS 3.5 UIAppShell errors when exiting app

2000-04-25 Thread Ben Combee
> > The warning message suggests to use "hd 0" to track down the leak. Try > > doing that - use the Console window in the CodeWarrior debugger, > > How do you do that. I have been looking for a menu item that says > "console Window" but I don't see one. The menu is "Show Window" from the Palm m

Re: can we connect to any port of any server running

2000-04-25 Thread Shane Conneely
the currently available ports are lisctd at: http://oasis.palm.com/devzone/knowledgebasearticle.cfm?article_id=1671 ___ Shane Conneely ThinAirApps, LLC www.thinairapps.com - Original Message - From: "Fitzpatrick, Joe" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMA

palm-dev-forum@ls.palm.com

2000-04-25 Thread Ron Nicholson
On Date: Tue, 25 Apr 2000 16:39:20, krollin writes: >> An MMU could dramatically improve unit performance. Basically, >> DmWriteCheck (which is called a lot) is doing in software what a MMU >> could do more reliably in hardware. > >Could it really? How? Let alone that MMUs typically only protect

Re: WMLScript Question

2000-04-25 Thread Steve Mann
>I was wondering if someone might be able to help with a WMLScript Question. >I would like to get the current time from the system clock inside the Palm >VII using WMLScript. Is this possible? If so, how? As far as I know, WMLscript has no date/time functions of any type. Regards, Steve Mann -

ExgSend

2000-04-25 Thread Wang, Nancy
Hello All, I am trying to send data through IR port. According to the O'REILLY book "Palm Programming -- The Developer's Guide", I can send textual data to the Memo pad application on the same device, as long as I set localMode to 1 in ExgSocketType. When I click on Send button in my app, I saw

RE: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread Michael Sokolov
"Fitzpatrick, Joe" <[EMAIL PROTECTED]> wrote: > A step at a time - when many people think of MMUs, they think of Intel > '386. But not me, when I think of an MMU, I think of DEC PDP-11 and VAX! -- Michael Sokolov Harhan Engineering Laboratory Public Service AgentInternational Free C

Question about WAP client for Palm OS.

2000-04-25 Thread Akshay Shende
Hi folks. Can anyone tell me anything about what might be involved in implementing the wireless communications functionality on WAP enabled Palm Pilots? I was recently looking at the WAPman client, and although the user interface elements(forms, buttons etc) look very easy to implement, I have no

RE: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread Fitzpatrick, Joe
A step at a time - when many people think of MMUs, they think of Intel '386. The 386 actually has three virtual hardware mechanisms, one for IO space, Selectors, and Page tables. Selectors actually allow for fairly small 'virtual' blocks (byte size type chunks), but are limited in number (8K) an

Re: Debugger question- who's owner #3?

2000-04-25 Thread gcw
David, Thank you for your response. I am indeed running applications that make heavy use of netlib, so it is likely associated with that. Thanx! David Fedor wrote: > >I am using the Palm Debugger to look at the contents of the dynamic > >heap, via the "hd 0" command. Some of the chunks in t

RE: Palm OS Emulator 3.0a6 posted

2000-04-25 Thread krollin
Thanks for the report. No, I hadn't seen it before, but I see it now. We're trying to track down the source or it right now. But I don't think it's a Poser or skin problem. -- Keith Rollin -- Palm OS Emulator engineer "Scott L. Johnson" <[EMAIL PROTECTED]> on 04/25/2000 03:29:37 PM Pleas

RE: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread Graham Mitchell
Already done.. Credits for the Palm OS Emulator Copyright (c) 1998-2000 Palm, Inc. or its subsidiaries. * Bernd Schmidt UAE (UAE Amiga Emulator), which provides the 68000 CPU emulator used at the core of Copilot. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

Re: Debugger question- who's owner #3?

2000-04-25 Thread David Fedor
>I am using the Palm Debugger to look at the contents of the dynamic >heap, via the "hd 0" command. Some of the chunks in the heap list have >an owner of #3. Now, I know that #0 is the OS itself, and #2 identifies >the program that is currently running, but who is #3? There isn't a constant ans

Re: Globals or no Globals

2000-04-25 Thread David Fedor
>When I call DmResetRecordStates() on a Palm OS 3.5 its seems to work fine, >however same code no changes on a Palm V running the PalmVDebug Rom causes a >"bus error", WTFO? There was a bug in the OS, fixed in 3.5, such that calling this routine would nearly always cause a bus error. The only wa

Re: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread Michael Sokolov
Tom Zerucha <[EMAIL PROTECTED]> wrote: > On Tue, Apr 25, 2000 at 03:28:59PM -0700, Steve Sabram wrote: > > Michael Sokolov wrote: > > > > > Dragonball lacking a virtual address-translating MMU. Does ARM have an MMU and > > > virtual addresses? If it does, you will simply forget about all these >

Re: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread krollin
> > 3) Getting protection for OS globals so people like me don't accidently > > stomp them. > > Good point, but couldn't they be moved to a fixed DmWritable location > just above the dynamic heap curtain (increasing both the dynamic heap > and safety). Or you could just test your program under

Re: Bug in OS 3.5? Would someone else please try this?

2000-04-25 Thread rflores
>It would be nice if you could set the form to automatically clear a blank space the size of the form when the form initializes, Palm OS < 3.5 does do this when the form is modal and doesn't when it's not. There was an assumption that if the form wasn't modal, then there was only one at a time,

Re: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread Tom Zerucha
On Tue, Apr 25, 2000 at 02:45:49PM -0700, Oliver King-Smith wrote: Close to my wish list. > 1) I love the current memory protection scheme, but, if you could improve > the performance of DmWrite (and cousins) it would allow developers to take > greater advantage of the memory architecture. A CP

RE: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread krollin
> An MMU could dramatically improve unit performance. Basically, > DmWriteCheck (which is called a lot) is doing in software what a MMU > could do more reliably in hardware. Could it really? How? Let alone that MMUs typically only protect on a page sizes, not byte sizes (which you'd want in or

Re: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread Steve Sabram
Tom Zerucha wrote: > But to clarify what I posted before, a true MMU would be overkill, > though a restartable bus error and other CPU32 or 68010 core features > would be desirable and give a lot of bang for the amount of the > change. (Or an onboard dma copy unit, again for things like DmWrite

RE: Palm OS Emulator 3.0a6 posted

2000-04-25 Thread Scott L. Johnson
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Palm OS Emulator 3.0a6 has been posted to its Seeding Page: > * Support for external skins. Poser's old skins are now available via > a separate archive which can be modified/extended by users. Is this a known problem? Using the latest Pal

Re: Bug in OS 3.5? Would someone else please try this?

2000-04-25 Thread Steve Sabram
Any reason why you can just use FrmAlarmFrom()?? Steve Brandon Wallace wrote: > That's what I am doing. > I am displaying a small form and I need to erase a section of the old > form before displaying mine. I do this by: > > FrmInitForm() > FrmGetBounds() (I think that is the name...to get the

Re: Correct memory allocation (long int -> character array)

2000-04-25 Thread Jason Dawes
At 03:11 PM 4/25/00 -0300, you wrote: >Yup, always getting that 4 bytes :-) > Tim, You seem to be a little unsure of what a "string" is. It is a pointer - which is always 4 bytes. It just happens to point to a chunk of memory the compiler treats in special ways, just to make people happ

read from unallocated chunk during the EvtGetEvent call

2000-04-25 Thread D. DeVecchio
I must be doing something wrong, but I sure don't get it The following events cause the ROM to crash... But why! Here are the offending lines EventType newEvent; EventType *event = &newEvent; EvtGetEvent(event, 20); Here is the sequence of events... My program is running... An alarm

RE: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread Fitzpatrick, Joe
An MMU could dramatically improve unit performance. Basically, DmWriteCheck (which is called a lot) is doing in software what a MMU could do more reliably in hardware. Now, we have two heaps, one fast - but pretty small, since it is dedicated. The other is big, but typically really slow on writ

Re: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread Tom Zerucha
On Tue, Apr 25, 2000 at 03:28:59PM -0700, Steve Sabram wrote: > Michael Sokolov wrote: > > > Dragonball lacking a virtual address-translating MMU. Does ARM have an MMU and > > virtual addresses? If it does, you will simply forget about all these > > contortions and program like on UNIX. > > NOOO

Re: Bug in OS 3.5? Would someone else please try this?

2000-04-25 Thread Brandon Wallace
That's what I am doing. I am displaying a small form and I need to erase a section of the old form before displaying mine. I do this by: FrmInitForm() FrmGetBounds() (I think that is the name...to get the size of my new form) WinEraseRectangle() (to clear this area) FrmSetActiveForm() (set my ne

Re: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread Steve Sabram
Michael Sokolov wrote: > Dragonball lacking a virtual address-translating MMU. Does ARM have an MMU and > virtual addresses? If it does, you will simply forget about all these > contortions and program like on UNIX. NO! Virtual memory would kill everything that makes a Palm perf

Re: Using GCC and prc-tools

2000-04-25 Thread Bobby Kolev
With all respect to Michael's technical knowledge, I am forced to ask him to STOP promoting HIS OWN stuff (no matter if it is for money, respect or due to religious beliefs) during the time he IS PAID to work on OTHER projects. And in his own style I want to state that the forum has the right to k

Re: SerialMgrNew

2000-04-25 Thread Noah J. Ternullo
On Tue, 25 Apr 2000, Charles Rezsonya wrote: > is serial manger new in a later version of the os 3.0? i don't have the > include files in the 3.0 sdk > > This question is asked frequently. Do we have a FAQ? Anyway, to answer your question, the header files you need are in SDK3.5. The actual

Re: off topic - palm and Chrysler

2000-04-25 Thread Richard Hartman
That seems like an incredibly small range of valid keys ... how many bits per key? -- -Richard M. Hartman [EMAIL PROTECTED] 186,000 mi/sec: not just a good idea, it's the LAW! John White wrote in message <9497@palm-dev-forum>... The news item on the Mercedes made mention of software that simp

Re: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread Michael Sokolov
Oliver King-Smith <[EMAIL PROTECTED]> wrote: > 4) Allowing globals in shared libraries (I know you can sort of do this > right now but you can't handle the case of the compiler generated globals). First, you currently *can* have compiler-generated globals in shared libraries if you use a real co

Re: Palm OS Emulator 3.0a6 posted

2000-04-25 Thread krollin
It's possible to get lucky. But problems occur if Poser makes a memory request of the Macintosh Memory Manager, and gets back a handle to a block of memory that overlaps the Palm OS ROM range (0x10C0 to 0x10DF or whatever). -- Keith Rollin -- Palm OS Emulator engineer James Parker

Re: Palm OS Emulator 3.0a6 posted

2000-04-25 Thread James Parker
>* Will now work on Macs with > 256Meg of RAM. Glad I didn't know about this bug before I started using it. My G4 has 320 MB of RAM and 3.0a5 runs just fine. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palm.com/devzone/mailinglists.html

Re: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread Oliver King-Smith
The article was vague enough that I don't think you can assume a currently shipping ARM processor is going to be used in a Palm. It is possible ARM is designing a chip from the ground up. Certainly Palm is turning enough volume by now, that it would be profitable for someone to make a chip just f

Palm OS Emulator 3.0a6 posted

2000-04-25 Thread krollin
Folks, Palm OS Emulator 3.0a6 has been posted to its Seeding Page: http://www.palmos.com/dev/tech/tools/emulator/seeding.html Please see that page for a description of the new features, and the release notes in the downloadable archives for more information on those features. Some highli

Re: OS 3.5 UIAppShell errors when exiting app

2000-04-25 Thread D. DeVecchio
David Fedor, On Wed, 26 Jan 2000 08:52:08 -0800, you said: > The warning message suggests to use "hd 0" to track down the leak. Try > doing that - use the Console window in the CodeWarrior debugger, How do you do that. I have been looking for a menu item that says "console Window" but I don't

Re: Bug in OS 3.5? Would someone else please try this?

2000-04-25 Thread D. DeVecchio
Bob Ebert, On Tue, 25 Apr 2000 18:27:12 +0200, you said: > > The whole thing looks like a bug to me. What effect are you trying to make? > > You're erasing before anything has been drawn. That will almost always > cause some weird bug. I am trying to erase the screen before drawing my new f

WAP and Handspring

2000-04-25 Thread Akshay Shende
Hi. I recently downloaded the WAPman browser on to my Handspring Visor. My question is: does the Visor currently support WAP comminications? If so, what component do I need to install in order to make the WAPman browser useable? I'd appreciate any advise. thanks, Akshay Shende -Original Me

RE: off topic - palm and Chrysler

2000-04-25 Thread John White
The news item on the Mercedes made mention of software that simply emits all of the combinations for the IR entry systems. Since a loop is easy to write, it was simple for someone to just walk through the combinations. It took less than 30 seconds to go through the valid range if I remem

Re: Using GCC and prc-tools

2000-04-25 Thread Richard Hartman
Sure they can ... but only after thrashing around for a while before they find this out. If you, when you direct people to download your tools, also mention "if you are using Wintel, you will also need ..." it would just be ... well, a nice thing to do. Call it full disclosure if you want. But

Re: off topic - palm and Chrysler

2000-04-25 Thread Richard Hartman
The Palm can -- with the correct software -- act as a learning remote. You take your Chrysler IR door "key", point it at the Palm when it's in "learn" mode, and press the button. The same thing could be done w/ a $10 remote you buy at Walgreens. Or if you have a metal key and I can take it ove

Re: Not even fully using the dragonball...

2000-04-25 Thread Tom Zerucha
It just struck me that I still don't have a hi-rez timer API for the existing PalmOS (i.e. sub 100hz tick). And the EZ processors have the PWM capability, but there is no "play this record as sample" call. So before I would worry about changing processors, there are still lots of things the exis

SerialMgrNew

2000-04-25 Thread Charles Rezsonya
is serial manger new in a later version of the os 3.0? i don't have the include files in the 3.0 sdk -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palm.com/devzone/mailinglists.html

Re: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread Tom Zerucha
On Tue, Apr 25, 2000 at 11:44:08AM -0700, [EMAIL PROTECTED] wrote: > > Actually, no. Most of this stuff _isn't_ designed around 64k. The initial > implementation was limited to 64k because the natural word size of the processor > was a 16 bits, and every byte counts on a 128k device. So, many

Re: Palettes Bitmap problem

2000-04-25 Thread Peter Hribar
Sorry for English. I'm using MS spelling checker. I have to apologize. In my JPEG, GIF etc. converter to Pilot images I had made wrong calculations of numEntries in color table type. It seems that PILRC guys made same mistake. (No I'm not using yours code :-) LP, Peter Bob Ebert <[EMAIL PROTE

Re: Invalid handle

2000-04-25 Thread Danny Epstein
"Roberto Amorim" <[EMAIL PROTECTED]> wrote in message news:9487@palm-dev-forum... > HandleTemp=MemHandleNew(200); > HandleOrder = DmQueryRecord(PVOrder, i); You should check if HandleOrder is NULL here. This indicates that there is no record at the given index. This might be the problem. > RecOr

Re: Globals or no Globals

2000-04-25 Thread Jason Simpkins
Heres another one of those freaky problems. When I call DmResetRecordStates() on a Palm OS 3.5 its seems to work fine, however same code no changes on a Palm V running the PalmVDebug Rom causes a "bus error", WTFO? This is whats so friggin frustrating with this platform. rant_mode=on; Hey Palm

Invalid handle

2000-04-25 Thread Roberto Amorim
Hi, I have this code in three functions of my program. However, it run correctly just in two of them. The code is exactly the same. What is wrong? How could I fix it? Thanks in advance.. Roberto HandleTemp=MemHandleNew(200); HandleOrder = DmQueryRecord(PVOrder, i); RecOrder=MemHandleLock(HandleT

Re: Setting the text of a label

2000-04-25 Thread Marty Rice
> At 5:57 PM +0200 25-04-00, Brian Bissell wrote: > >Has anyone successfully dynamically changed the text of a label field? > > Use FrmCopyLabel. It works great, and it's even documented. > But only if you are ok with the program only working properly on OS 3.5! See the earlier thread "need help

Re: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread Steve
>Hope you found the history bits interesting... Which bits were those? 0 through 3? Steve Patt President, Stevens Creek Software http://www.stevenscreek.com/palm Best PQA ("ePQA"), PalmSource 99 Best Application ("PizzaScan"), Palm Developer's Conference 1998 First printing software for

Re: Globals or no Globals

2000-04-25 Thread Roger Chaplin
"Jason Simpkins" <[EMAIL PROTECTED]> wrote: > I am fighting weird freaky memory problems and it is driving me insane. > Currently if I have large > local char buffers in my functions, such as char buffer[1024], I am getting > a "tried to change the PC > to address 0x3FE0098address is niet

Debugger question- who's owner #3?

2000-04-25 Thread gcw
I am using the Palm Debugger to look at the contents of the dynamic heap, via the "hd 0" command. Some of the chunks in the heap list have an owner of #3. Now, I know that #0 is the OS itself, and #2 identifies the program that is currently running, but who is #3? -- For information on using

Re: Using GCC and prc-tools

2000-04-25 Thread Michael Sokolov
Michael S. Davis <[EMAIL PROTECTED]> wrote: > Absolutely correct but you aren't doing anyone any service when you > direct them to your site, to download your version, to read your > documentation, when that person might be looking for a > "weendoze" product. If you are going to continually refe

Re: Setting the text of a label

2000-04-25 Thread Bob Ebert
At 5:57 PM +0200 25-04-00, Brian Bissell wrote: >Has anyone successfully dynamically changed the text of a label field? Use FrmCopyLabel. It works great, and it's even documented. --Bob -- For information on using the Palm Developer Forums, or to unsubscribe,

off topic - palm and Chrysler

2000-04-25 Thread Matthew Luchak
Sorry for the noize but does anyone have any more info on a post I saw today about being able to unlock a Chrysler with a palm? I'm asking so that I can AVOID this happening to me. perhaps some info I could go to the dealership with. Matthew Luchak Web Author, Internet Communications Tél. (51

Re: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread Bob Ebert
At 7:13 PM +0200 25-04-00, Michael Sokolov wrote: >I doubt that you will even have PRCs on any other processor. The very >design of >the PalmOS memory architecture is practically defined by the properties, >peculiarities, and limitations of the 68000/Dragonball. Other way around. The dragonball

Re: Globals or no Globals

2000-04-25 Thread Ben Combee
You have a very small stack space for local variables, as low as 2.5K on some devices. A single "char buffer[1024]" uses up almost half of the available space. While you could declare the buffer as a global, now you have 1K permanently allocated to a buffer that is only used a brief periods of t

Can .wml files be loaded on the Palm as static files

2000-04-25 Thread Bector, Raj
Hi all, Can .wml static files be loaded onto to the palm? If so, how?? Thanks Raj -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palm.com/devzone/mailinglists.html

Re: New Developer Forums...

2000-04-25 Thread George Henne
Is the tools forum a place for NS Basic/Palm discussion? George Henne NS BASIC Corporation http://www.nsbasic.com Orders: 416 264-5999Fax: 416 264-5888 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://ww

Globals or no Globals

2000-04-25 Thread Jason Simpkins
I am fighting weird freaky memory problems and it is driving me insane. Currently if I have large local char buffers in my functions, such as char buffer[1024], I am getting a "tried to change the PC to address 0x3FE0098address is niether in RAM or ROMblah blah blah". If I declar

RE: Correct memory allocation (long int -> character array)

2000-04-25 Thread Knobbe, Roger
you are just calculating log base 10, which is correct. digits = 1+log10(x); str = MemPtrNew(1+digits); // add 1 for the null at the end -Original Message- From: Roberto Amorim [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 25, 2000 11:47 AM To: Palm Developer Forum Subject: Re: C

WMLScript Question

2000-04-25 Thread Bector, Raj
Hi, I was wondering if someone might be able to help with a WMLScript Question. I would like to get the current time from the system clock inside the Palm VII using WMLScript. Is this possible? If so, how? Thanks in advance Raj -- For information on using the Palm Developer Forums, or to

Re: Correct memory allocation (long int -> character array)

2000-04-25 Thread Roberto Amorim
BTW, Why don't you use just this?: s = (char *)MemPtrNew(13); One type long always will be fit in that; []s Roberto Roberto Amorim wrote: > > Try this code: > > j=1; > for (i=z; i > 0;i=i/10) j++; > s = (char *)MemPtrNew(j); > > []s > Roberto Amorim > > -- -- For information on using the P

Connection Manager questions

2000-04-25 Thread Raymond Chan
Hello, I was wondering if anybody out there has used the Connection Manager APIs and could give me a hand... I use the following code to create a profile: CharPtr myConNameP; myConNameP = (char *)MemPtrNew(cncProfileNameSize); StrCopy(myConNameP, "MyProfile"); err = CncAddProfile(my

Re: CR/LF

2000-04-25 Thread Richard Burmeister
> "Charles Rezsonya" <[EMAIL PROTECTED]> wrote: > > if i want to place the CR/LF pair on the end of a string/buffer, what method > > is the best to use? From: "Roger Chaplin" <[EMAIL PROTECTED]> > If it's truly a string (i.e. null-terminated), how about > StrCat(str, "\r\n"); > If it's a buf

Re: Correct memory allocation (long int -> character array)

2000-04-25 Thread Roberto Amorim
Try this code: j=1; for (i=z; i > 0;i=i/10) j++; s = (char *)MemPtrNew(j); []s Roberto Amorim -- = | ___ | | / \ Campanha contra e-mail com HTML | | \ / FITA ASCII | | \ /

Re: palm-dev-forum digest: April 19, 2000Custom Fonts

2000-04-25 Thread Richard Hartman
The Alpha Fonts package (available on PilotGear) has two small fonts in it. One of them (Ants) is so small as to be useless imo, but it may be just what you are looking for. -- -Richard M. Hartman [EMAIL PROTECTED] 186,000 mi/sec: not just a good idea, it's the LAW! Ole Grossklaus wrote in me

Re: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread jesse_donaldson
Michael Sokolov <[EMAIL PROTECTED]> wrote: > Why does PalmOS have the notion of memory "cards"? AFAIK because the Dragonball does. Um, no, I don't think so... The Pilot, PalmPilot, and Palm III all had RAM and ROM on a removable card. The concept of memory cards was an architectural thing to

Serial communications

2000-04-25 Thread Charles Rezsonya
i am attempting to communicate through the serial port to a device (msr & printer). i have two routes i am attempting to take with communicating with it, 1) the printcap, but it is probably out of date so i attempted to find an update on the website ref'ed from the docs but was unsucessful 2) s

New Developer Forums...

2000-04-25 Thread Ryan Robertson
Hello Everyone, Today we added two new developer forums to the server! They are: comm-dev-forum and tools-forum. Both of these were created to lighten the traffic on the palm-dev-forum list and to stimulate discussion around those two topics. For future postings, please post communications rel

Re: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread Steve Sabram
There is a but too much conjecture here and not enough examination of the Karl's speach. He mentioned all of these things (wireless, ARM, et. al). However, don't assume they will be in one single device and most of all, that a single software app will use all of these. I can see a product re

RE: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread Fitzpatrick, Joe
If you take the *same* circuit and crank up the power, yes *in general* I would agree (I can think of exceptions in some ultra high frequency situations). But, you cannot apply this as a principal of physics when comparing CPUs. The circuits are not identical. That is why a 2MHz Z80 consumes mo

Re: Correct memory allocation (long int -> character array)

2000-04-25 Thread Tim Astle
Yup, always getting that 4 bytes :-) -- Tim Astle Michael Yam <[EMAIL PROTECTED]> wrote in message news:9452@palm-dev-forum... > > It won't work. I'm assuming you've declared z as a long int and that you > want to allocate the number of digits in a character buffer. Well, > sizeof(z) will m

Re: Correct memory allocation (long int -> character array)

2000-04-25 Thread Michael Yam
It won't work. I'm assuming you've declared z as a long int and that you want to allocate the number of digits in a character buffer. Well, sizeof(z) will most likely return 4 bytes (depending on your platform) which isn't enough to hold your numeric string. I've done something similar and wrot

Re: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread Chris Faherty
On 25-Apr-2000 B. Flaumenhaft wrote: > I think that as people wake up to the demand for this kind of stuff, and as > handhelds become more ubiquitous, we're going to see a demand for more real > applications and less personal organizer type of stuff. As networking stuff > becomes more prevalent,

Re: Correct memory allocation (long int -> character array)

2000-04-25 Thread Tim Astle
The code I'm writing has a variable decimal point, so I don't believe this suits my needs. If I could get the exact string-length however, I can correctly place the decimal based on the StrLen - #of decimals. -- Tim Astle James Parker <[EMAIL PROTECTED]> wrote in message news:9442@palm-dev-f

Re: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread Bradly J. Barton
If people truly wanted complex, Windows type applications for the palm of their hand, the Toshiba Libretto (http://www.zdnet.com/pcmag/features/jit/libretto/libretto.htm) would have taken off more than it has. Sure, its pricey, but it is real 32 bit Windows 95 in a two pound hand-held.. no WinCE-i

RE: can we connect to any port of any server running

2000-04-25 Thread Fitzpatrick, Joe
No, you cannot connect to arbitrary ports. You can pretty much do an HTTP 'get' or an HTTP 'post'. Your server needs to do any additional communication. -jjf -Original Message- From: gaurav palvia [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 25, 2000 3:56 AM To: Palm Developer Forum

Re: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread Marty Rice
From: Fitzpatrick, Joe <[EMAIL PROTECTED]> > "There is the inconvienient problem with physics. Power consumption is > proportional to the SQUARE of the clock rate." > > That is completely false, at least with regards to microprocessors. The > problem is at the other end. That is why we moved fr

RE: Bitmaps Structures, altering width

2000-04-25 Thread Steve Branin
In the Constructor when you have the bitmap open in the bitmap editor, choose "Set Image Size" in the "Options" menu. It sounds like you are trying to add a Form Bitmap without defining the bitmap first. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf

Re: Using GCC and prc-tools

2000-04-25 Thread Michael S. Davis
On Tue, 25 Apr 2000, Michael Sokolov wrote: > Michael S. Davis <[EMAIL PROTECTED]> wrote: > > > You constantly keep referring to your version, without even knowing if a > > person is using Unix or Windows OS. Don't you think that is an > > important thing to point out that your version does not

Re: Correct memory allocation (long int -> character array)

2000-04-25 Thread James Parker
>How would I correctly allocate the exact amount of memory I require for a >string, based on an integer result? > >For example: > >char *s; >long int x = 12312451, y = 324324; >z = x + y; > >Now I need to place this result into a character array. Would I do this? >s = (char *)MemPtrNew(sizeof(z))

RE: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread Fitzpatrick, Joe
"So when are we going to abandon the Intel 4004 architecture used in all the current offerings from Dell and Gateway?" Funny, but false. Pentiums won't even run 8085 code. They will still run most 8086 native code, but software has finally caught up - most programmers no longer concern themselv

RE: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread David Fedor
>I realize that there will be bumps in the road but never-the-less I see >that Palm will at least try to give us a paved road. Nice analogy, Mike. In the absence of further public information (I wish I knew what Carl was going to say before he said it) I think the best advice is "Don't Panic".

Re: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread Jon Baer
"B. Flaumenhaft" wrote: > I think that as people wake up to the demand for this kind of stuff, and as > handhelds become more ubiquitous, we're going to see a demand for more real > applications and less personal organizer type of stuff. As networking stuff > becomes more prevalent, the same is l

RE: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread Nick Rossi
for what it is worth... the Palm platform is popular because it is simple and cheap. That a more complex platform might be justified, OK, no argument. But, there is a need for a platform exactly like the palm exists today, given the blitz of communication devices comming. My gut says you canno

Correct memory allocation (long int -> character array)

2000-04-25 Thread Tim Astle
How would I correctly allocate the exact amount of memory I require for a string, based on an integer result? For example: char *s; long int x = 12312451, y = 324324; z = x + y; Now I need to place this result into a character array. Would I do this? s = (char *)MemPtrNew(sizeof(z)); I'm sure

Re: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread B. Flaumenhaft
I think Peter's remarks are phrased a bit strongly for my taste, but there's a good bit of truth to this. Writing "real" code on the Palm is a cumbersome nightmare. There's no way around it. Of *course* a "good" C programmer can do it; a good C programmer can do anything. The question isn't whet

Re: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread Michael Sokolov
Michael S. Davis <[EMAIL PROTECTED]> wrote: > I wonder how this will effect the development platforms. Specifically > will this new processor require new GCC and prc-tools setup to be able > to develop for the new processor? I doubt that you will even have PRCs on any other processor. The very

Re: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread Tom Zerucha
On Tue, Apr 25, 2000 at 09:07:58AM -0700, McCollister, Mike wrote: > Jon, > > > Jon Baer wrote: > > > ... and meanwhile they push developers to using > > the 3.5 SDK which would make it a little obsolete(im guessing) when > > these new Palms come around. > > The Palm OS 3.5 includes types such

Re: Using GCC and prc-tools

2000-04-25 Thread Michael Sokolov
Michael S. Davis <[EMAIL PROTECTED]> wrote: > You constantly keep referring to your version, without even knowing if a > person is using Unix or Windows OS. Don't you think that is an > important thing to point out that your version does not work, or at > least is not setup, to install on a Wind

Bitmaps Structures, altering width

2000-04-25 Thread Nick Torenvliet
I am using Code Warrior Release six and am working with palmOS 3.3 I am trying to alter the width of a bitmap I've created in Constructor. I am using the form bitmap resource found in the catalog and I can't find either the option in the Constructor program or the source for the bitm

Re: End Of Dragonball? Palm Shakeup?

2000-04-25 Thread Tom Zerucha
On Tue, Apr 25, 2000 at 10:44:01AM +0200, Peter Hribar wrote: > 1. You are young, and You don't know that everything changes (and You'll > loose 70% of energy for technologies that are disappearing). So when are we going to abandon the Intel 4004 architecture used in all the current offerings fr

  1   2   >