Re: how to protect the preference?

2000-04-14 Thread Richard M. Hartman
It still seems that there is a bug in the OS ... it deletes the prefs before even trying to see if the app itself can be deleted. Perhaps this could be flagged and fixed in the next release? Does the same thing happen to databases sharing the creator ID (i.e. are they deleted before the appl or

Re: Unique DB name convention Was: Re: PalmRez Post Linker

2000-04-14 Thread Richard M. Hartman
True ... I was thinking about databases the user names explicitly ... applications like BrainForest, JFile, TinySheet, etc. For the application-specific data databases that the user never needs to know about, then the append-the-creator-code method seems to be as good as anything. -- -Richard M.

Re: What type of BUG is this?

2000-04-14 Thread Eugen Polukhin
The only reliable way to figure it out is to look at what it compile into. I am not shure, you can use -S switch for compiler (if prc 2.0 still has that) -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palm.com/devzone/mailinglists.html

Re: Problem with StrIToA

2000-04-14 Thread sumita_malik
Though this should not happen in standard C, make the CharPtrs 'aP' and 'bP' static and check the results. Then aP would have its value retained. Regds, Sumita Malik ITIL "Peter Epstein" <[EMAIL PROTECTED]> on 04/15/2000 03:23:28 AM Please respond to "Palm Developer Forum" <[EMAIL PROTECTE

Re: PQA & Palm OS 3.5

2000-04-14 Thread Dr. Glyn Thomas Gowing
I've tried re-setting it, i've tried the pre-activation route, i'm still trying to get it to activate (it has no record of ever being activated now). What is different about the MAN numbers? I get a fairly low number, but it varies from time to time. Currently it is 39 on base statino 10 6 (the

TxtGlue....

2000-04-14 Thread Thomas Ward
Hi! Here is the sample makefile for a multi-segment app: --- CC = m68k-palmos-gcc CFLAGS = -O2 -palmos2 AS = m68k-palmos-gcc ASFLAGS = -c multiapp.prc: multiapp multiapp.def build-prc multiapp.def multiapp multiapp: multiapp.o multiapp-s

Re: Why no C calling convention specified?

2000-04-14 Thread Jim Schram
At 8:43 AM -0400 2000/04/14, Meyer, Will wrote: >I'm trying to understand why none of the libraries I've seen for the Palm >include explicit calling convention specifiers in their public headers? How >is it possible to reliably distribute a piece of compiled C code potentially >for use in other co

RE: PDB file specification or creation routine needed

2000-04-14 Thread Greg Raymond
Not long ago, someone provided this URL: http://www.rahul.net/rhn/palm/ which is a page FULL of useful Palm programming links, including ones to the PRD as well as the PRC file formats. Regards, Greg -Original Message- From: Peter Savas [mailto:[EMAIL PROTECTED]] Sent: Friday, April

Can't see scroller

2000-04-14 Thread Akshay Shende
Hi folks, I'm not being able to see a scroller in my app when I run it after having downloaded it to my device. I mean to have a scroller attached to a field. I have certainly included the scroller during the constructor session and ensured its height is equal to the field height. Then I've crea

RE: Beginner's woes!

2000-04-14 Thread Akshay Shende
Thanks Richard, Yes that was exactly it. I'd missed out on a frm = FrmGetActiveForm(). Thanks again, Akshay -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Richard Burmeister Sent: Friday, April 14, 2000 5:06 PM To: Palm Developer Forum Subject: Re:

Re: Beginner's woes!

2000-04-14 Thread Richard Burmeister
From: "Akshay Shende" <[EMAIL PROTECTED]> > I'm getting a 'Fatal Error' when I download an app onto my Visor which > reads: >"Form.c, Line:1272, Object not in form" Do you really mean you get this message when you are downloading it, or do you get this when you try to run the app? The "O

PDB file specification or creation routine needed

2000-04-14 Thread Peter Savas
Hello. I am new to this forum so I apologize in advance if this question has been posed and solved previously... Here is my situation: I am writing an application in Visual Basic for my gaming club. The application keeps track of character sheets and allows users to store, retrieve, update and

Re: Problem with StrIToA

2000-04-14 Thread Peter Epstein
> Indeed the problem does seem to be a debugger issue. Thanks to all. In general, optimizations should be turned off when you're debugging. I'm not sure you can entirely avoid problems like this. In CodeWarrior, I recommend creating separate debug and release targets so you don't have to mess wit

RE: how to protect the preference?

2000-04-14 Thread Brian Mathis
On Fri, 14 Apr 2000, Ron Nicholson wrote: > Note that using another DB will actually take up *more* memory in your > customers Palm units than using an alternate creatorID with the system > prefs db. > > Calling the use of a creatorID "pollution" or "dishonest" seems more like > taking a religiou

RE: Beginner's woes!

2000-04-14 Thread Akshay Shende
I took care of that. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Akshay Shende Sent: Friday, April 14, 2000 4:34 PM To: Palm Developer Forum Subject: Beginner's woes! Hi, I'm getting a 'Fatal Error' when I download an app onto my Visor which rea

Re: Dobule Buffering Question (OS 3.5 issue I assume)

2000-04-14 Thread David Fedor
>At 10:19 PM +0100 13-04-00, David Fedor wrote: >>The issue is that there's no way for the OS to tell a window that it needs >>to redraw itself, when that covering form goes away. > >frmUpdateForm handles that. > >The real problem is that the update process only works if all windows are >full widt

Beginner's woes!

2000-04-14 Thread Akshay Shende
Hi, I'm getting a 'Fatal Error' when I download an app onto my Visor which reads: "Form.c, Line:1272, Object not in form" My question is: Does this mssg mean to say that I am using a function that is not actually defined in one of the standard libraries? My app doesn't really consist of a

Re: Problem with StrIToA

2000-04-14 Thread Michael Needlman
Indeed the problem does seem to be a debugger issue. Thanks to all. McMicken, Steven <[EMAIL PROTECTED]> wrote in message news:8351@palm-dev-forum... > > The debugger may not be retaining the value because your program doesn't use > it anymore. After > StrIToA(bP, someUInt); > > try inserting a

Re: Need to DmNewRecord() many times

2000-04-14 Thread Neil Rhodes
> On Fri, Apr 14, 2000 at 01:47:09PM -0400, Andy Dean wrote: >> I need to create a bunch of database records in my Palm app (I don't want >> to do it on the desktop and then transfer the file). DmNewRecord() is too >> slow for the number of times I am calling it. Is there an alternate way to >>

Re: Problem with StrIToA

2000-04-14 Thread Michael Needlman
I've had a few such replies in my personal mail, too, but the fact is that the variable is referenced later in the block in question, and I believe it was corrupt, but I'll check and be sure and get back to the group. I am sure that the variable is referenced, and that the debugger reports a co

Re: Need to DmNewRecord() many times

2000-04-14 Thread Tom Zerucha
On Fri, Apr 14, 2000 at 01:47:09PM -0400, Andy Dean wrote: > I need to create a bunch of database records in my Palm app (I don't want > to do it on the desktop and then transfer the file). DmNewRecord() is too > slow for the number of times I am calling it. Is there an alternate way to > qui

Re: Palm UART Question

2000-04-14 Thread Dave Lippincott
I don't think the APIs will allow you to directly access any of the serial control lines. At best, you could hack directly into the DragonBall registers to do it. One program I know of that does is Sparkler at http://rallypilot.sourceforge.net/ but that will leave you tied to one specific Palm d

Re: how to protect the preference?

2000-04-14 Thread Tom Zerucha
On Thu, Apr 13, 2000 at 09:01:04PM -0700, Jeff Ishaq wrote: > > When you use PrefGetAppPreferences()/PrefSetAppPreferences(), try specifying > a creatorID to Pref*AppPreferences that is different than the creatorID of > your hack. > > Once you do this, if your hack is deleted and installed again

Re: App Info Block

2000-04-14 Thread Danny Epstein
"Rob Graber" <[EMAIL PROTECTED]> wrote in message news:8167@palm-dev-forum... > I can use DmDatabaseInfo or DmGetAppInfoID to get the LocalID for this > block, but then how do I read it? Check out the various MemLocalIDTo routines. App info blocks are typically movable chunks, so you probably wan

Re: Palm UART Question

2000-04-14 Thread Tom Zerucha
On Fri, Apr 14, 2000 at 11:30:47AM -0500, shahed wrote: > > I read that the UART in the Dragonball processor does not allow > the DTR signal to be set. However I also read that by attaching > a special cable to the palm serial port, such signals can be sent > > I need to send the DTR signal

RE: how to protect the preference?

2000-04-14 Thread Ron Nicholson
Brian Mathis writes: >On Thu, 13 Apr 2000, Jeff Ishaq wrote: >> When you use PrefGetAppPreferences()/PrefSetAppPreferences(), try specifying >> a creatorID to Pref*AppPreferences that is different than the creatorID of >> your hack. > >But, for all purposes, DO NOT DO THIS! There is no reason

Re: CGI Web Clipping

2000-04-14 Thread Tom Zerucha
On Fri, Apr 14, 2000 at 11:22:54AM -0400, Shriyan Sanmuganathan wrote: > What CGI programm is suitable for web clipping? Perl or C? > How about ASP? since i have a SQL database i want to see those data's > through Palm. What is the ideal CGI program? Either/Both, or add python or php. Basically

RE: Debugging a memory leak

2000-04-14 Thread McMicken, Steven
What does the beginning of your PilotMain function look like? Do you check that cmd == sysAppLaunchCmdNormalLaunch before proceeding? You cannot access global variables for most of the other launch codes. Regards, Steve -Original Message- From: Ken Miller [mailto:[EMAIL PROTECTED]] Se

Re: Byte

2000-04-14 Thread Tim Astle
Fixed it -- Tim Astle Tim Astle <[EMAIL PROTECTED]> wrote in message news:8353@palm-dev-forum... > > What needs to be included in a project to get the type Byte to work? > > I tried to set one up as a flag, and the compiler went three ways from > Tuesday with the errors it gave me. I just glanc

Nevermind

2000-04-14 Thread Tim Astle
Fixed it :-) -- Tim Astle Tim Astle <[EMAIL PROTECTED]> wrote in message news:8353@palm-dev-forum... > > What needs to be included in a project to get the type Byte to work? > > I tried to set one up as a flag, and the compiler went three ways from > Tuesday with the errors it gave me. I j

Byte

2000-04-14 Thread Tim Astle
What needs to be included in a project to get the type Byte to work? I tried to set one up as a flag, and the compiler went three ways from Tuesday with the errors it gave me. I just glanced at the Expense.c example and it doesn't seem to have nothing special about it's use of Byte comparied to

Debugging a memory leak

2000-04-14 Thread Ken Miller
I have sent this before, but never got a response so I thought I would try again. I need help on trying to debug a program I have finished. It compiles ok, but when I go to run it under POSE, it bombs right of the bat with a memory leak. Since it bombs before I even get started in the program,

RE: Problem with StrIToA

2000-04-14 Thread McMicken, Steven
The debugger may not be retaining the value because your program doesn't use it anymore. After StrIToA(bP, someUInt); try inserting a test of aP, like if (aP == "") return; or something else. In this case, the debugger would retain the value of aP (or it should). Regards, Ste

Re: Problem with StrIToA

2000-04-14 Thread Adam Wozniak
Michael Needlman wrote: > I don't want to seem ungrateful, but I tell you, the same data, same size, same >everything, works > fine when the calls are in the same namespace. The numbers involved are all integers >smaller than > 50. Furthermore, either call works by iteself, without the other o

Re: Problem with StrIToA

2000-04-14 Thread Michael Needlman
I don't want to seem ungrateful, but I tell you, the same data, same size, same everything, works fine when the calls are in the same namespace. The numbers involved are all integers smaller than 50. Furthermore, either call works by iteself, without the other one. I know about the NULL. Eithe

RE: Command Bar Not Handled?

2000-04-14 Thread McCollister, Mike
Neil, Thanks for the help. It turned out to be my bug. I had this line: ErrDisplayFileLineMsg("MenuCommand", command, "not handled"); in the default of my menu case statement. Mike McCollister -Original Message- From: Neil Rhodes [mailto:[EMAIL PROTECTED]] Sent: Friday, Apr

Re: Palm UART Question

2000-04-14 Thread Bruce Thompson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The previous response did give the complete answer, though slightly buried in the text. :-) The short answer is you can't. The DTR signal is generated by taking one output of the serial line driver and turning that into a DTR signal. The output go

Re: Greyscale UI problems

2000-04-14 Thread Bob Ebert
At 12:55 AM +0100 13-04-00, palm wrote: >By toying with the dragonball registers i am able to get the palm into 16 >greyscale mode. >this is no problem. Actually, this is exactly your problem. If you hack the registers directly, then there's no way for the rest of the OS to know the screen is in

Re: Dobule Buffering Question (OS 3.5 issue I assume)

2000-04-14 Thread Bob Ebert
At 10:19 PM +0100 13-04-00, David Fedor wrote: >The issue is that there's no way for the OS to tell a window that it needs >to redraw itself, when that covering form goes away. frmUpdateForm handles that. The real problem is that the update process only works if all windows are full width and bo

Re: Command Bar Not Handled?

2000-04-14 Thread Neil Rhodes
Check to make sure that your event handler isn't returning true when an incoming menu event with itemID 10002 occurs. Sounds like it's related to the following, described in Problem Symptom: The automatic cut/copy/paste/undo buttons on

RE: how to protect the preference?

2000-04-14 Thread Jeff Ishaq
> But, for all purposes, DO NOT DO THIS! There is no > reason why your > app should be able to leave behind pollutants on people's > devices, while > all other apps are not allowed to / don't. If you do this, you are > directly violating the trust that a user puts in you to be an honest >

Command Bar Not Handled?

2000-04-14 Thread McCollister, Mike
Hi, I have a program that I can cut, copy or paste text from a multi-line field. It works just fine when using the menu options. However, when I use the cut, copy or paste from the Palm OS 3.5 command bar, then I get this error messgae from the emulator (using 3.5 debug ROM): "Program Name" 1.2

Re: Palm UART Question

2000-04-14 Thread shahed
I need to turn the DTR signal on/off at will :-( -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palm.com/devzone/mailinglists.html

"Object not in form" inside FrmDoDialog?

2000-04-14 Thread Mark A. Peters
In my app, I have a form similar to the category edit form which puts up a modal dialog to allow the user to create a new entry, or rename an existing one. This is done in a loop to make sure that either a valid entry value is given, or the user cancels out. At the top of the loop, I do this:

Re: Problem with StrIToA

2000-04-14 Thread Dave Lippincott
4 bytes still may be too small. You need to allocate an extra byte for the NULL that terminates the string. Most (if not all) of the API string routines require that extra byte for NULL. -Original Message- From: Michael Needlman <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: Palm D

Re: What type of BUG is this?

2000-04-14 Thread PalmPilot ml user
Hi Aaron, sorry I can't replicate your bug ... I'm using prc-tools 2.0 running on Linux. Program tested on a PalmIIIc (german). cya ... Collin On Fri, 14 Apr 2000, Aaron Ardiri wrote: > hi! > > i just found a very very interesting bug, which i am able > to replicate in a very simple test

Need to DmNewRecord() many times

2000-04-14 Thread Andy Dean
I need to create a bunch of database records in my Palm app (I don't want to do it on the desktop and then transfer the file). DmNewRecord() is too slow for the number of times I am calling it. Is there an alternate way to quickly allocate a bunch of new records? Thanks for any info. -Andy

Re: Problem with StrIToA

2000-04-14 Thread Michael Needlman
Sorry to give you the wrong impression, even though it's some UInt, as previously stated. The actual code is actually using numbers that fit in 4 bytes, and, anyhow, it works when both calls are in the same namespace. Try again. Ashok Nadkarni <[EMAIL PROTECTED]> wrote in message news:8330@palm

RE: how to protect the preference?

2000-04-14 Thread Brian Mathis
On Thu, 13 Apr 2000, Jeff Ishaq wrote: > When you use PrefGetAppPreferences()/PrefSetAppPreferences(), try specifying > a creatorID to Pref*AppPreferences that is different than the creatorID of > your hack. > > Once you do this, if your hack is deleted and installed again, the > preference data

Re: How do I retreive bitmaps from a web server with my conduit?

2000-04-14 Thread Brian Mathis
On Fri, 14 Apr 2000, Bulent Gecer wrote: > Hi! > > I've tried to contact the conduit-dev-forum without succes so I'll try my > chances here instead. > > I have a few questions concerning conduits. First of all, I would like to > develop a conduit for my PalmOS application that connects to a spe

Re: Palm UART Question

2000-04-14 Thread Chris Faherty
On 14-Apr-2000 shahed wrote: > I read that the UART in the Dragonball processor does not allow > the DTR signal to be set. However I also read that by attaching > a special cable to the palm serial port, such signals can be sent > > I need to send the DTR signal from the palm to a smartcard

RE: Why no C calling convention specified?

2000-04-14 Thread Meyer, Will
Any compiler can do this differently, though, unless it is explicitly spec'd in the PalmOS requirements or something, right? Couldn't I write my own compiler for the Palm's chip that compiled using __stdcall, for example? So I guess the deal here is that compilers for the Palm are not intended t

Odp: FplFToA question

2000-04-14 Thread Ewaryst Izewski
Visit Bray PalmPilot Page http://cold.40-below.com/palm/. I found there ready to use conversion routines. Ewaryst > >> > -Original Message- > >> > From: Tim Astle [mailto:[EMAIL PROTECTED]] > >> > Sent: Friday, April 14, 2000 9:51 AM > >> > To: Palm Developer Forum > >> > Subject: FplFTo

Re: Problem with StrIToA

2000-04-14 Thread Ashok Nadkarni
What's the value of someInt in the second call? An array size of 4 is too small for an int. Perhaps your string values are overrunning the buffer? /Ashok "Michael Needlman" <[EMAIL PROTECTED]> wrote in message news:8329@palm-dev-forum... > > I have observed something strange with StrIToA, and I

Problem with StrIToA

2000-04-14 Thread Michael Needlman
I have observed something strange with StrIToA, and I wonder if it isn't a bug in its code: SomeFunction(...) { char a[4]; CharPtr aP = a; ... for (c=0; c<4; c++) a[c]='\0'; StrIToA(aP, someUInt); // aP has appropriate value after this, e.g., "123" // local code bl

Re: Why no C calling convention specified?

2000-04-14 Thread Adam Wozniak
"Meyer, Will" wrote: > I'm trying to understand why none of the libraries I've seen for the Palm > include explicit calling convention specifiers in their public headers? How > is it possible to reliably distribute a piece of compiled C code potentially > for use in other compilers without specif

What type of BUG is this?

2000-04-14 Thread Aaron Ardiri
hi! i just found a very very interesting bug, which i am able to replicate in a very simple test program. you can write this program yourself: write a program that displays "Hello World" on the screen. - all you need to do is put a WinDrawChars() call in the frmOpenEvent of your mai

Odp: Odp: Odp: installing prc-tools 2.0

2000-04-14 Thread Ewaryst Izewski
I think if programmers are expected to write elegant end user friendly software for Palm users they can do the same for themselves. I prefer that my process of learning is supported with competent documentation. I don't buy it that tutorial files in new prc-tools were left unchanged by purpose. So

RE: CGI Web Clipping

2000-04-14 Thread Akhilesh Singh
Any program is suitable as long as the output is Palm friendly. Use the one that serves your purpose well. Get the Web Clipping guide for the HTML supported by Palm. -AS -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Shriyan Sanmuganathan Sent: Friday,

Palm UART Question

2000-04-14 Thread shahed
I read that the UART in the Dragonball processor does not allow the DTR signal to be set. However I also read that by attaching a special cable to the palm serial port, such signals can be sent I need to send the DTR signal from the palm to a smartcard reader. Is this possible by any means

RE: CGI Web Clipping

2000-04-14 Thread Fitzpatrick, Joe
You can really use whatever is most convenient - ISAPI extensions, Perl, C/CGI, whatever. The Web Clipping Proxy Server just expects to see simple HTML, it doesn't care about the source. Good Luck, -jjf -Original Message- From: Shriyan Sanmuganathan [mailto:[EMAIL PROTECTED]] Sent: Frid

Re: FW: Using Unique IDs as a reference

2000-04-14 Thread John Leung
One more thing you may want to know. Recently I had a Visor user (OK, it is not Palm but it's close enough) trying to re-instal some PDB files back into his Visor, but after re-installing the files, the unique IDs have changed. However, the same PDB files work fine on the Emulator. After a whil

Re: Is it possible to push the data on PalmVII?

2000-04-14 Thread Laurence Lundblade
At 12:15 AM 4/14/00 -0700, Steve Sabram wrote: >KimDongGyun wrote: > > > I want to develop programs having something like push technology. > > Server pushes binary data to PalmVII for a specified time and then, PDA > > displays the data. > >This goes dead against the entire philosophy of the Palm

Re: FplFToA question

2000-04-14 Thread Dave Lippincott
Take a look at the NewFloatMgr.h file. FlpToA parameter types and structure of FlpDouble are there. You will be able to use the standard operators (+,-,/,*) if you use FlpDouble only for converting your float to a string. But be warned, FlpToA only formats in scientific notation. You may be bet

Re: Is it possible to push the data on PalmVII?

2000-04-14 Thread Vineel Shah
Well, the philosophy of the Palm VII needs a little revisiting. The huge growth market for wireless in the near future _is_ vertical markets. It's about companies needing to get information to their people in the field, and letting their people respond upstream. (Companies can afford to pay the

Re: FplFToA question

2000-04-14 Thread Tim Astle
Right on, that fixed it. -- Tim Astle McMicken, Steven <[EMAIL PROTECTED]> wrote in message news:8311@palm-dev-forum... > > You have to allocate enough space for your string, which may be, and > probably is, more than what the float requires. In the reference, it says > the return string wi

CGI Web Clipping

2000-04-14 Thread Shriyan Sanmuganathan
What CGI programm is suitable for web clipping? Perl or C? How about ASP? since i have a SQL database i want to see those data's through Palm. What is the ideal CGI program? __ Get Your Private, Free Email at http://www.hotmail.com -- For inf

RE: FplFToA question

2000-04-14 Thread McMicken, Steven
You have to allocate enough space for your string, which may be, and probably is, more than what the float requires. In the reference, it says the return string will be of the form: [-]x.e[-]z. Try c = MemPtrNew (20) (or 50), just to get it working, you can refine the size later. Regard

Re: FplFToA question

2000-04-14 Thread Tim Astle
Okay, I tried this.. and it works... kinda FlpCompDouble theCompFloat; CharPtr c; c = MemPtrNew(sizeof(theCompFloat.fd)); theCompFloat.d = 10; FlpFToA(theCompFloat.fd, c); But what it displays is 1.00e (which I'll have to format later...) and when I exit the program... BOOM Fatal E

"Net Prefs" v.s. "Net Prefs "

2000-04-14 Thread Tom Zerucha
Out of a fresh reset, something creates "Net Prefs" as a database on the palm, but with OS, or it may just be 3.3, the database that is used is "Net Prefs " - with a traililng space. I don't know if it is an omnisky or palm problem. -- For information on using the Palm Developer Forums, or to

RE: palm-dev-forum digest: April 13, 2000

2000-04-14 Thread Bill Foust
> Subject: Re: Wireless connection in palm > From: Laurence Lundblade <[EMAIL PROTECTED]> > Date: Thu, 13 Apr 2000 15:58:20 -0700 > X-Message-Number: 96 > > For non-Palm VII wireless data there's a number of technology choices: > > CDMA - Sprint and Verizon support different data services in diffe

Re: Opening and Closing databases

2000-04-14 Thread Michael Yam
You can allocate record sizes less than 1k. Usually, you declare a record struct and do something like this: DmNewRecord (gxxDB, &index, sizeof (myRecStruct)); But things get a little more complicated if you have variable field widths and pack / unpack your data. Regarding the 3 database

Re: Opening and Closing databases

2000-04-14 Thread Brandon Wallace
I remember reading in a book (the O'Reilly one?) that an open database handle eats up some amount of dynamic memory and it recommended you only have a database open when you are in a form that might access it. Personally, my app has 7 databases. It keeps 2 open the entire time. The other 5 are l

Re: FplFToA question

2000-04-14 Thread Brandon Wallace
Go read the documentation on FplFToA() again. It does not take a 'float' as its argument. It takes something like (pardon me for not remembering properly...) 'FloatType'. If you wish to use the FloatMgr functions, you need to use this 'FloatType' instead of using a float. And then you need to r

Re: Opening and Closing databases

2000-04-14 Thread Jamie Macleod
I'm not an expert on this, but I would guess that it would be better to open and close each database as you need/don't need it. Since a database is really just memory, the overhead to open and close it can't be that high. Anyone else? Jamie "Timothy Astle" <[EMAIL PROTECTED]> wrote in message n

Re: FplFToA question

2000-04-14 Thread Jamie Macleod
I think you need to allocate a buffer for "c" to point at. Look in the reference, it explains it. Jamie "Tim Astle" <[EMAIL PROTECTED]> wrote in message news:8299@palm-dev-forum... > > Yeah, it's quite simple actually. I'm just running a test to see how floats > work in Palm, because I seen som

Re: Small debugging problem: Scrollers

2000-04-14 Thread Neil Rhodes
> I call > > 'FldGetScrollValues(fldP1, &scrollPos, &textHeight, &fieldHeight)' > > where, fldP1 = GetObjectPtr(My_Field); > > Declarations: WordPtr scrollPos, textHeight, fieldHeight; > You need to declare scrollPos, textHeight, and fieldHeight as Word, not as WordPtr. Then, w

Re: MemPtrUnlock and MemHandleUnlock

2000-04-14 Thread Neil Rhodes
> > You might want to consider that even if you can use MemPtrUnlock > on a pointer that comes from a locked handle -today-, it is quite possible > that > this may no longer work in the future. If you allocate a handle, free a > handle. If you allocate a pointer, free a pointer. > The sole use

Re: FplFToA question

2000-04-14 Thread Tim Astle
Yeah, it's quite simple actually. I'm just running a test to see how floats work in Palm, because I seen some newsgroup articles on them in the past. I included FloatMgr.h and tried to do this: CharPtr c; float f = 10; FplFToA(f,c); // and this puppy is causing me the troubles. It's convin

Re: Starter

2000-04-14 Thread Dave Lippincott
1) That depends on your definition of 'good' I think you will find at least a handful of developers that would recommend each of the available Palm OS publications. I just use the printed API reference but others at my office use the Neil Rhodes or Glenn Bachmann book. We also have the Palm OS

RE: FplFToA question

2000-04-14 Thread McMicken, Steven
What types are you passing as your parameters? Are they what the API expects? Regards, Steve -Original Message- From: Tim Astle [mailto:[EMAIL PROTECTED]] Sent: Friday, April 14, 2000 9:51 AM To: Palm Developer Forum Subject: FplFToA question I tried to use the Float Manager function

FplFToA question

2000-04-14 Thread Tim Astle
I tried to use the Float Manager function FplFToA to convert a float to a String. However, I get the message: Error: cannot convert 'float' to 'struct' Any ideas? Tim -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palm.com/devzone/mailingli

RE: Palm VII emulator

2000-04-14 Thread McMicken, Steven
You can download the Palm VII ROM image from the Provider Pavilion. It requires another disclaimer. http://www.palm.com/devzone/pavilion.html Regards, Steve -Original Message- From: Shriyan Sanmuganathan [mailto:[EMAIL PROTECTED]] Sent: Friday, April 14, 2000 9:31 AM To: Palm D

Gettng Started with PRC/Cygwin etc etc

2000-04-14 Thread Richard Riley
I'm having awful difficulty getting started to even make my first program. I have a few years C&C++ under windows & OS/2 but not GNU experience. I have followed the instructions listed from the devzone but no joy. Firstly, the cygwin install does not include the path change is advertised - shoul

RE: Opening and Closing databases

2000-04-14 Thread Yu, Ken
I believe the size is in bytes not kb, so you can have records smaller than 1K. -Ken > -- > From: Timothy Astle[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum > Sent: Friday, April 14, 2000 9:02 AM > To: Palm Developer Forum > Subject: Re: Opening and

Re: Opening and Closing databases

2000-04-14 Thread Timothy Astle
oops, sorry thanks -- Timothy Astle Brandon Wallace <[EMAIL PROTECTED]> wrote in message news:8289@palm-dev-forum... > > No, that is 1 BYTE it is allocating, not 1 KB! > > > - Original Message - > From: Timothy Astle <[EMAIL PROTECTED]> > Newsgroups: palm-dev-forum > To: Palm Develop

Re: Opening and Closing databases

2000-04-14 Thread Brandon Wallace
No, that is 1 BYTE it is allocating, not 1 KB! - Original Message - From: Timothy Astle <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: Palm Developer Forum <[EMAIL PROTECTED]> Sent: Friday, April 14, 2000 8:02 AM Subject: Re: Opening and Closing databases > To build upon my own dis

Palm VII emulator

2000-04-14 Thread Shriyan Sanmuganathan
I wanted to know whether they have Palm VII emulator, if that so can someone give me the link to it, the one i have is Palm III emulator. __ Get Your Private, Free Email at http://www.hotmail.com -- For information on using the Palm Developer

FieldCopy Problem

2000-04-14 Thread Patrick Heynen
Hi, I want to copy figure from one field to another. The user must do an input. When there is no input the input is set to an standard. But the problem is that when the user inserts no data and Pulse is set manually everything works fine and the number comes on the display. But when the user d

RE: Starter

2000-04-14 Thread McMicken, Steven
IMHO, the best book on the Palm OS API's is the Palm OS Reference. You can find a code repository at the Palm Developer's site: http://www.palm.com/devzone/ Regards, Steve -Original Message- From: Meir Rotfleisch [mailto:[EMAIL PROTECTED]] Sent: Friday, April 14, 2000 6:01 AM To: Palm

Re: Opening and Closing databases

2000-04-14 Thread Timothy Astle
To build upon my own discussion.. heh heh Is there any way to create a record that is more "optimized"? I assume that the following: DmNewRecord(gxxDB, &index, 1) Indicates the the record being created will be 1 kb. Is that the lowest value it can be or is there something I'm not aware of

Why no C calling convention specified?

2000-04-14 Thread Meyer, Will
I'm trying to understand why none of the libraries I've seen for the Palm include explicit calling convention specifiers in their public headers? How is it possible to reliably distribute a piece of compiled C code potentially for use in other compilers without specifying this explicitly? Shouldn'

Opening and Closing databases

2000-04-14 Thread Timothy Astle
I have 3 databases, and each one is separate from each other. Each database will be used in a different section of my application. I was wondering if it's a good idea to open all 3 databases at the start of the application and then close them all down upon exiting, or open and close each databas

How do I retreive bitmaps from a web server with my conduit?

2000-04-14 Thread Bulent Gecer
Hi! I've tried to contact the conduit-dev-forum without succes so I'll try my chances here instead. I have a few questions concerning conduits. First of all, I would like to develop a conduit for my PalmOS application that connects to a specific web server and retreives different bitmaps. Next

Starter

2000-04-14 Thread Meir Rotfleisch
Hi I'm new to the list and new to programming with GCC. I have 2 basic questions for now. 1) Is there any GOOD book on the Palm OS API's? 2) Is there any online Code Repository with code snippets samples etc? Regards Meir M.R.R. Computers and Systems P.O.B. 39096 Tel Aviv Israel Tel: intl+

Re: Odp: Odp: installing prc-tools 2.0

2000-04-14 Thread Aaron Ardiri
> I just don't like my time to be wasted. :-( so you want it all handed to you on a plate? this wont do you any good. the whole process of learning is figuring it out. i try to tell my students this on a regular basis.. some catch on others.. since they are "lazy", fall behind. az.

Re: Ideas on speeding up database writes?

2000-04-14 Thread Steve Sabram
You are on the right track. The big CPU hit is allocating the memory block and locking it down for a write. Once the memory block is locked down, the OS doesn't do any moving of it. Thus, your DMWrite()'s are quick. I would suggest to allocate a block the size of what you need for all of you

Odp: Odp: installing prc-tools 2.0

2000-04-14 Thread Ewaryst Izewski
I just don't like my time to be wasted. :-( Ewaryst > Changing the names of the SDK headers used (or finding ways to avoid > changing them in your source code :-)) is an issue with all programs > written against older SDKs when moving to the 3.5 SDK. > > Leaving this issue in the tutorial make

Re: Precision of Doubles

2000-04-14 Thread Haemish Graham
>I can't find this information anywhere. Does anyone know what the precision >of doubles is? I guess the thing I specifically need to know is: How many >decimal places (i.e., digits to the RIGHT of the decimal point) or >significant digits can a double hold? I need to do some math with some very

Ideas on speeding up database writes?

2000-04-14 Thread Jason Garrett
Does anyone have any ideas on how to improve the performance of the database as a workaround? We are able to create and DmWrite 4K blocks at a desirable speed, but creating and DmWrite-ing 20 byte blocks takes much longer (more calls to make). I'm considering creating a multi-record in one recor

  1   2   >