palm - GCC Make error

2001-06-21 Thread Tan Kuan Eeik
I'm using gcc for palm. I've 3 files : hello.rcp , hello.c and hello.h when I try to make a file, it gives the error below . Any idea ? Error bash-2.02$ make m68k-palmos-gcc -O1 -c hello.c -o hello.o m68k-palmos-gcc: installation problem, cannot exec `cpp': No such file or direct ory

RE: Pay-for-support

2001-06-21 Thread Aaron Ardiri
Developers Nation is, unfortunately, no longer offering developer support. The current economic situation and their business model were not, it seems, compatible. We regret that our partnership didn't develop as planned, and we're presently exploring other sustainable methods for offering

Re: gcc for palm compilation problem

2001-06-21 Thread Aaron Ardiri
I'm using gcc for palm application development and I have installed the following component in my pc : 1. cygwin 2. prc-tools 3. palm-os sdk 3.5 4. pilrc 2.8 Here's a few question : 1. Why there isn't pilrcui.exe in pilrc v2.8 ? cause i dont build it anymore, use another editor,

field over locked

2001-06-21 Thread Prashanth
hello everybody. i'm stuck up with the lock state of text fields.basically,my form has 2 text fields.i'm displaying the text from a record.now,in order to edit the record,it should be in a unlocked state,which is true in this case.when i go out of the form,i'm freeing the memory of the TEXT

Re: Dynamic List Content?

2001-06-21 Thread Essell
Ray, if i do what u just said draw each list item with my own function .. everything works fine .. but what if the number of list items is more than the number of visible items the user has to scroll .. how do i catch those scroll events so that i can redrwa the list appropriately ? -- For

avoid PopUp Contrast form and clock form

2001-06-21 Thread yennee
Hi All, How to avoid or disable the system to pop-up the Contrast Form and Clock Form? Please help. Thanks. Best Regards, Yen -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

highlighting a row in a table

2001-06-21 Thread Yoel Lanir
Hi, I wish to select (highlight) an entire row in a table. in the documentation of the function TblSelectItem it is written: This function cannot highlight an entire row; it can only highlight one cell in a row, and it always unhighlights the previously selected table cell. If you want to

Re: Weird probs when lots of records

2001-06-21 Thread Phil Hodge
Thanks for your replies. It appears that my problems with database access has nothing to do with the databases. Thanks to your suggestions I installed POSE, which revealed that my recursive binary search for records, when the record count was high enough, was overflowing the stack! When this

RE: gcc for palm compilation problem

2001-06-21 Thread Tan Kuan Eeik
It give this error . Is this due to installation ? Must I install cygwin, prc-tools, palm-os sdk 3.5, and pilrc in the default directory or same drive/partition ? bash-2.02$ make m68k-palmos-gcc -c -o hello.o -O2 -Wall -palmos4 hello.c m68k-palmos-gcc: installation problem, cannot exec `cpp': No

Re: Dynamic List Content?

2001-06-21 Thread Ben Combee
Essell [EMAIL PROTECTED] wrote in message news:53739@palm-dev-forum... Ray, if i do what u just said draw each list item with my own function .. everything works fine .. but what if the number of list items is more than the number of visible items the user has to scroll .. how do i catch

Restart after a reset.

2001-06-21 Thread Marco Bastarolo
Hi, Is there a method to restart my application after a reset? Actually, the Prefs program start for first. Best regards, Marco Bastarolo [EMAIL PROTECTED] Aton s.r.l. Via A.Volta, 2 - 31020 Villorba (TV) Tel. 0422.6184 - Fax 0422.618585 www.aton.it -- For information on using the Palm

Re: Restart after a reset.

2001-06-21 Thread Shaikh Khurram Saghir
Hello, If you want your program to be compitable to something as low as 3.0 (I have not tested this method below this version hence I can't make claims regarding anything below it :-) then I'll recommend you to put an alarm (Let's say five seconds from the current number of seconds) on

TCP Header

2001-06-21 Thread Miron Ophir
Hello all, I need the help of a networking expert. In a project I'm working on, I need to get from NetLib the TCP header of each packet, in order to examine it. Is there a way to get the TCP Header structure from NetLib? I heard that using RAW socket will enable this. Is there another way to do

How do you get a bloody pointer to a Database?

2001-06-21 Thread DrumBSF
A lot of commands use a DmOpenRef to an open database in the command. What the hell is that and how do you declare or define one? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: DB record insertion w/code

2001-06-21 Thread Remo Hofer
In article 53573@palm-dev-forum, Danny Epstein [EMAIL PROTECTED] wrote: Here's a fixed version of your code (untested, without error checks, etc): newH = DmNewHandle(CrewResDB, sizeof(ResultType)); p = MemHandleLock(newH); error = DmWrite(p, index, Result, sizeof(Result) );

Re: How do you get a bloody pointer to a Database?

2001-06-21 Thread Phillip Streck
First thing cut back on the swearing. Second ask with little bit more respect, we are here to help one another and not listen to a rant. now, if you goto www.palmos.com and actually read the reference and companion guide you might just figure it out, but basically its exactly what you said a

Why my Queue is behaving abnormally? Please help

2001-06-21 Thread virenpalm
I apologise to all of you for having put the entire code of mine here, but I am really becoming helpless. I am trying to write a native palm application in which you have links similar to the ones used in Web Browser. Clicking on the link ( i.e. an underlined text on Palm ) takes you to

How to share the serial port.

2001-06-21 Thread Nesselhauf, John
How does one share the serial port between two applications? In other words two applications both have the serial port opened at the same time and are able to communicate through it. The documentation aludes to a cooperative task having this ability. This would be for the operating system Palm

Re: How do you get a bloody pointer to a Database?

2001-06-21 Thread Susana Gascón Moreno
HI, you declare it like DmOpenRef yourDB;// handle for database // Application database management defines. #define yourAppType 'Sync' // Type for application. must be 4 chars, mixed case. #define yourDBType 'Data' // Type for application database. must be 4 chars, mixed case.

Please answer my two error questions.

2001-06-21 Thread DrumBSF
I keep getting to errors while trying to write a save algorythm for the database save button. This is what I did. DmOpenRef myDB; myRecordHandle=DmNewRecord(myDB, RecordIndex,RecordSize); newRecordPtr=MemHandleLock(myRecordHandle);

Re: Please answer my two error questions.

2001-06-21 Thread James Screech
In C unlike C++ you need to explicitly cast variables when the types differ. James Screech [EMAIL PROTECTED] wrote in message news:53761@palm-dev-forum... I keep getting to errors while trying to write a save algorythm for the database save button. This is what I did. DmOpenRef

Re: global var access during alarm launch

2001-06-21 Thread Dan Samber
Steve, Thanks for your reply, I will definitely check out how the built in apps handle this problem. But please indulge me. My current problem is fairly typical. My program is being launched (in response to a previously set alarm) with the sysAppLaunchCmdAlarmTriggered launch code. The

Re: Please answer my two error questions.

2001-06-21 Thread Jeff Wheeler
These are actually all VERY easy to find and fix. All you need to do is take a moment and look at the what the error message says. Read the error message, look at the function declaration, and compare that to how you are using it. For example: Error: illegal implicit conversion from

Re: Battery Meter

2001-06-21 Thread John Crouch
Hello Richard. I am back onto the battery meter project and have been playing with the nilEvent. I looked at Reptoids. Is it a normal thing to use a time other than evtWaitForever in the EvtGetEvent() function call? I assume this helps me to get more nilEvents. Will I also need to use the

Dynamic List Content?

2001-06-21 Thread Stringer
From: Andrew Perron [EMAIL PROTECTED] Date: Wed, 20 Jun 2001 22:46:33 -0400 Well, here I am with some more list problems/questions. . Here's the scenario, I have a database on the palm that contains some information like so: typedef struct { FlpCompDouble MyFloat1; FlpCompDouble

RE: unix_stdarg.h and word alignment on MC68000 family

2001-06-21 Thread Chuck . Ingold
Ben Combee (Tue, 19 Jun 2001 07:24:16) wrote: --- The problem is that va_arg(argp, unsigned char) is never meaningful. Arguments pushed onto the stack for variable argument list functions are always at least sizeof(int) bytes. If you have a parameter you want to treat as unsigned

One more error! Fatal Exception.

2001-06-21 Thread DrumBSF
Ok, my code compiles fine but when I try it on the palm and save then it gives me a fatal error about saving the database so I tried going back and unlocking the memory handle and now when I try it it gives me a soft reset, before it gave me a hard reset. So what am I doing wrong here? Thanks!

RE: One more error! Fatal Exception.

2001-06-21 Thread DeAnna Davidson
You do actually have a valid DmOpenRef, don't you? Meaning, you called DmOpenDatabase or DmCreateDatabase or something similar? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 21, 2001 9:32 AM To: Palm Developer Forum Subject: One more error!

m500 - Win NT 4 and USB

2001-06-21 Thread Richard Anderson
Hi, I am aware that NT4 does not properly support USB, although I think some of the new service packs do (correct me if im wrong). But I cant believe what Ive just read - which is if I buy an m500, I will have to buy a seperate serial cradle to use it with NT 4. Surely this is the biggest

HTTP err

2001-06-21 Thread DZ MAIL
In setting the developing environment in a LAN, the response from the server is HTTP error 500. The proxy server set was 206.112.114.83 Please HELP Santosh _ Buy Lagaan Yaadein music for 30% less. Avail this special offer at

HTTP err 500

2001-06-21 Thread DZ MAIL
fro the LAN I had set up..HTTP error 500 showed up on submitting a request. The proxy set was 206.112.114.83 Please help!!! _ Buy Lagaan Yaadein music for 30% less. Avail this special offer at

Re: One more error! Fatal Exception.

2001-06-21 Thread Jeff Wheeler
So what am I doing wrong here? You're apparently not using the debugger to find out which function call is crashing. Once you know that, you'll have a good hint about what you can do to fix it. Jeff -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: OT: m500 - Win NT 4 and USB

2001-06-21 Thread Jeff Wheeler
... if I buy an m500, I will have to buy a seperate serial cradle to use it with NT 4. Surely this is the biggest mistake Palm has ever made, given that NT 4 is currently the standard OS in buisness. I think you exaggerate the problem, for the following reasons: 1. No one likes NT 4 anyway g,

Help launching Omnisky mail with email subject

2001-06-21 Thread Anthony Randazzo
I've been unable to figure how to launch the Omnisky mail application, and pass it parameters like mailto:[EMAIL PROTECTED]?subject=test. I can launch the application by using, sysAppLaunchCmdNormalLaunch. However, if I try the following it fails. err = DmGetNextDatabaseByTypeCreator(true,

RE: OT: m500 - Win NT 4 and USB

2001-06-21 Thread Richard Anderson
Its not quite as simple. Most of our customers use NT 4.0 - Fact. Anyway Im anti Microsoft, but I still think NT 4.0 is a good reliable OS. We also make our own hardware in a Palm V modem casing, this now needs changing. Our product is an industrial product and we need to know when to make the

Re: Why my Queue is behaving abnormally? Please help

2001-06-21 Thread Ben Combee
Specifically, what I wanna know is when I create a new object dynamically, how do I about memory allocation : do I have use new keyword as in a traditional C++ program or do I have to make use of the methods from Palm OS Memory Manager ? In CodeWarrior C++ for Palm, new uses MemPtrNew for

Re: One more error! Fatal Exception.

2001-06-21 Thread Dave Lippincott
You might also want to consider copying the data from 'Serial' to your DB record, not just assigning the pointer. - Original Message - From: [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Thursday, June 21, 2001 9:31 AM Subject: One more error! Fatal Exception. Ok,

Re: highlighting a row in a table

2001-06-21 Thread Dave Lippincott
I'd consider using the single column method. However, code that answers your question was recently posted. Check the list archives. - Original Message - From: Yoel Lanir [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Thursday, June 21, 2001 5:22 AM Subject:

Re: Dynamic List Content?

2001-06-21 Thread Andrew Perron
I'm open to suggestions... I'm using it for a popup list, is there a good way to make a popup table? Thanks, Andrew Stringer wrote: From: Andrew Perron [EMAIL PROTECTED] Date: Wed, 20 Jun 2001 22:46:33 -0400 Well, here I am with some more list problems/questions. . Here's the

Creating a POSE .psf file from a real device

2001-06-21 Thread Daniel Morais
Hi ! When a customer have a very strange problem that only occur on his device, it could be great, to find which problem he have, to get an image of it's Palm. So, I'm wondering if there is an easy ( in common customer's point of vue ) way to build a valid .psf file from a real device

RE: Dynamic List Content?

2001-06-21 Thread DeAnna Davidson
Andrew, Using the popup list, you really should just implement your own ListDraw function. I have a number of apps that list data from a database and they all just use their own draw function. It is simpler than trying to manage the memory of the char ** for the list data. At least look at

RE: Writing a hack

2001-06-21 Thread David Vediner
Look up SampleHack at: http://foursquaredev.home.att.net/rpp/ or http://home.att.net/~foursquaredev/ -Original Message- From: Vijay Raghavan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001 10:19 PM To: Palm Developer Forum Subject: Writing a hack Hi All Can anybody tell me

Database Help!

2001-06-21 Thread Sara Revell
Hello, I am having difficulties searching my database. What I am trying to do is to read in co-ordinates from a GPS and compare them with co-ordinates in a databases. Currently, all I am trying to do is get the X co-ordinate out of the database (so that I can then convert it to an Integer and

Deleting Databases *Safely* ?

2001-06-21 Thread Robert Purcell
Howdy Everyone, What is the safest way to delete databases? Using DmDeleteDatabase or deleting them from the application list on the Palm's main display? Currently, if I delete a database, from the Palm OS Gui (like you would delete an application), my program creates an illegal exception

Re: One more error! Fatal Exception.

2001-06-21 Thread Steve Mann
At 9:31 AM -0400 6/21/01, [EMAIL PROTECTED] wrote: Ok, my code compiles fine but when I try it on the palm and save then it gives me a fatal error about saving the database so I tried going back and unlocking the memory handle and now when I try it it gives me a soft reset, before it gave me

Re: DB record insertion w/code

2001-06-21 Thread Steve Mann
Shouldn't DmGetRecord and DmReleaseRecord be called, when writing to a record, to update the dirty bit, modification date and modification number? Not on a new record that is attached with DmAttachRecord. There's no record to initially get, nor one to release. Regards, Steve Mann --

Re: Why my Queue is behaving abnormally? Please help

2001-06-21 Thread Mark Smith
[EMAIL PROTECTED] wrote: Please tell me what is going wrong in my code. You've declared these member variables: Queue *front, *rear; But they're not static, so every instance of Queue is getting its own copy. You need to declare them static (and initialize them to NULL). There's

Re: How do you get a bloody pointer to a Database?

2001-06-21 Thread Aaron Ardiri
A lot of commands use a DmOpenRef to an open database in the command. What the hell is that and how do you declare or define one? RTFM.. read the docs. then, tone down and come back :) // az [EMAIL PROTECTED] http://www.ardiri.com/--- free games! -- For information on using the Palm

Re: Database Help!

2001-06-21 Thread Steve Mann
At 4:35 PM +0100 6/21/01, Sara Revell wrote: h = DmQueryRecord(db, index); mapPointer = MemHandleLock(h); map = *mapPointer; temp = (char *) map.Xul; Without poring over all your code in gory detail, I think what you need is something

RE: Database Help!

2001-06-21 Thread Anthony Randazzo
Try this: FrmCustomAlert(ErrorAlert2,*temp, , ); instead of FrmCustomAlert(ErrorAlert2, *temp, , ); Anthony Randazzo Unwired Express - wireless that works for you 9101 Guilford Road Columbia, MD 21046 301 498 3003 x3761 301 498 6003 Fax NOTICE: This email message is for the

DmCloseDatabase

2001-06-21 Thread Karanjit Siyan
I am testing my app with POSE 3.2. I have stripped my code down so that I am jsut using the following to delete an existing database created by running a separate program: int cardno = 0; StrCopy(databaseName, sample.pdb)' LocalID lid = DmFindDatabase(cardno, databaseName); if (lid) { //

Re: Database Help!

2001-06-21 Thread Steve Mann
At 4:35 PM +0100 6/21/01, Sara Revell wrote: Another comment: map[0] = m1; map[1] = m2; for (i = 0; i numMap; i++) { UInt16 index = dmMaxRecordIndex; newRecordH = DmNewRecord(gLibDB, index, sizeof(map[i])); newRecordP =

RE: Deleting Databases *Safely* ?

2001-06-21 Thread Richard Burmeister
From: Robert Purcell Currently, if I delete a database, from the Palm OS Gui (like you would delete an application), my program creates an illegal exception when I start it again. My program searches thru all the available databases when it starts (AppStart), so I am certain that I don't

Re: Database Help

2001-06-21 Thread Sara Revell
Sorry, if this message gets sent twice h = DmQueryRecord(db, index); map = MemHandleLock(h); temp = (char *) map-Xul; Okay, I just tried that and am getting the same error. Occassionaly (in my various incarnations of trying different things), I can get

Re: Dynamic List Content?

2001-06-21 Thread Neil Rhodes
on 6/21/01 1:08 PM, Essell at [EMAIL PROTECTED] wrote: Ray, if i do what u just said draw each list item with my own function .. everything works fine .. but what if the number of list items is more than the number of visible items the user has to scroll .. how do i catch those scroll

RE: highlighting a row in a table

2001-06-21 Thread Yoel Lanir
I am not using a single column method, since my table has a horizontal scroll bar which scrolls by columns - I custom draw each column according to the scroll bar position. Maybe it is possible to scroll one column horizontally but I don't know how (any ideas anyone?) I looked in the archives

RE: Can't create databases in Flash?

2001-06-21 Thread Makamine
Hi Steve, I haven't run across this specifically. The most common fatal error dealing with databases in Springboard have generally been when an API finds a database in card 1, but a subsequent access hardcodes card 0. Do you have a code sample to isolate the problem? Mike Akamine Handspring DTS

RE: Deleting Databases *Safely* ?

2001-06-21 Thread Brian Mathis
On Thu, 21 Jun 2001, Richard Burmeister wrote: There is definitely something wrong with your code in AppStart if your app crashes after a database has been deleted by the Launcher. Also, in most cases, the creator id of the database should be the same as the creator id of the application so

Re: avoid PopUp Contrast form and clock form

2001-06-21 Thread Jim Schram
At 3:28 PM +0800 2001/06/21, [EMAIL PROTECTED] wrote: How to avoid or disable the system to pop-up the Contrast Form and Clock Form? Don't pass their virtual key events to SysHandleEvent. Regards, Jim Schram Palm Incorporated Partner Engineering -- For information on using the Palm

Re: How to share the serial port.

2001-06-21 Thread Jim Schram
At 8:19 AM -0400 2001/06/21, Nesselhauf, John wrote: How does one share the serial port between two applications? In other words two applications both have the serial port opened at the same time and are able to communicate through it. The documentation aludes to a cooperative task having this

Transparent images (bitmaps) in 3.3? Undocumented, perhaps?

2001-06-21 Thread Curtis Jackson
I don't see any support for transparent images prior to 3.5. But I also didn't see support for multi-bit images until I stumbled across WindowNew.h in the 3.2 SDK and found that the pixelSize field is in the BitmapType struct in there. I don't care if transparent image support it is

Records not made by Britney Spears

2001-06-21 Thread DrumBSF
If I have the following line of code it compiles but it gives us a NULL memory error when running. newRecordPtr=(OurStruct*)MemHandleLock(myRecordHandle); The book I am reading is called The Palm Programming -The Developer's Guide by: Neil Rhodes and Julie McKeehan and it says to use

Grayscale text (chars) in 3.3?

2001-06-21 Thread Curtis Jackson
While we're at it, is there any way to draw text under OS 3.3 in a grayscale other than black or white? Our app suite sets Palm V/Vx devices to 4-bit mode and uses those grayscales under 3.5. I know how to set this mode under 3.3 (ScrDisplayMode), but I don't know how to draw grayscale chars

RE: Records not made by Britney Spears

2001-06-21 Thread Richard.Johnstone
Try defining a ponter to your structure ( structPtr ) Then try VoidPtr handle; structPtr x; x = MemHandleLock(handle); It works for me. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 21, 2001 1:26 PM To: Palm Developer Forum Subject:

RE: Records not made by Britney Spears

2001-06-21 Thread DeAnna Davidson
If your record handle is NULL, then you don't actually have a record. Is your database valid? Did you get a value for your DmOpenRef by opening or creating a database? DeAnna -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 21, 2001 1:26 PM To:

Re: Records not made by Britney Spears

2001-06-21 Thread Steve Mann
If I have the following line of code it compiles but it gives us a NULL memory error when running. newRecordPtr=(OurStruct*)MemHandleLock(myRecordHandle); Is myRecordHandle valid? Regards, Steve Mann -- --- Creative Digital Publishing Inc. 1315 Palm

Re: Grayscale text (chars) in 3.3?

2001-06-21 Thread Bill Kirby
At 10:02 AM 6/21/2001 -0700, you wrote: While we're at it, is there any way to draw text under OS 3.3 in a grayscale other than black or white? Our app suite sets Palm V/Vx devices to 4-bit mode and uses those grayscales under 3.5. I know how to set this mode under 3.3 (ScrDisplayMode), but I

RE: Battery Meter

2001-06-21 Thread Peter Epstein
You don't need to use EvtSetNullEventTick() if you have control over the timeout value passed to EvtGetEvent(). Using a timeout of several seconds won't hurt system performance unless you try to do a huge amount of processing work each time. You shouldn't hurt battery life too much either, since

CW 6.5 per target #defines - how?

2001-06-21 Thread Jaba Adams
Hi there, I'm running into a problem with a localization project. I'd like to have one English and one French target that define different preprocessor macros. In this case, the English and French versions are separate apps, with different creator IDs, but shared code. For example, in my

Re: Records not made by Britney Spears

2001-06-21 Thread Karanjit Siyan
MemHandleLock() returns a VoidPtr which is really void*. This should be cast to your struct pointer type as you are doing. Metroworks C++ compiler will complain otherwise. The book examples are based on GCC I think and work fine if you are pointing to a string or char* type. - Original

RE: Deleting Databases *Safely* ?

2001-06-21 Thread Robert Purcell
Ah, yeah, good point.. you shouldn't see any of your databases other than the application in the Launcher Delete screen. If you do, your database doesn't have the same creatorID of your app; the 2 should be the same. -- Brian Mathis Direct Edge As I recall, all of the databases have the

Re: global var access during alarm launch

2001-06-21 Thread Eric W. Sirko
In order to determine the next alarm, I need to access information that is normally kept in global variables, but I (of course have no access). Global variables do not survive the termination of your application, so how would you keep any information there? Normally, we use the Database

RE: Deleting Databases *Safely* ?

2001-06-21 Thread DeAnna Davidson
Robert, If you want the user to be able to delete databases they don't want and you want the app and databases to have the same creator id (which they rightly should), you'll have to create that functionality inside your application. If the user does a delete from the launcher and the app and

RE: CW 6.5 per target #defines - SOLVED

2001-06-21 Thread Jaba Adams
Setting the prefix file to (config-en.h or config-fr.h) works. Thanks - this isn't mentioned in the docs and I wouldn't have found it. Note: removing object code didn't help. I don't know why I wrote CW 6.5 !? I'm using CW 6... Thanks also to DeAnna Davidson, for replying. Jaba Adams Shinyfish

RE: Deleting Databases *Safely* ?

2001-06-21 Thread Robert Purcell
Robert, If you want the user to be able to delete databases they don't want and you want the app and databases to have the same creator id (which they rightly should), you'll have to create that functionality inside your application. If the user does a delete from the launcher and the app

List Draw Function (was Re: Dynamic List Content?)

2001-06-21 Thread Andrew Perron
Yes, certainly much simpler (now that I understand...) and easy to use with any number of entries in the database, exactly what I was looking for. But... I've created my list drawing function and have told the program to use it and the list is created properly (i.e. when I tap on it is shows up

RE: Battery Meter

2001-06-21 Thread Richard Burmeister
From: John Crouch I looked at Reptoids. Is it a normal thing to use a time other than evtWaitForever in the EvtGetEvent() function call? I assume this helps me to get more nilEvents. Will I also need to use the EvtSetNullEventTick() function along with this strategy or is this

RE: List Draw Function (was Re: Dynamic List Content?)

2001-06-21 Thread Ray Marshall
You need to handle the popSelectEvent and add the text to the trigger yourself. The problem is that the system thinks that there is data in your list and, of course, there isn't. Your handler for popSelectEvent needs to return true to indicate that the OS should not try to do it itself. //Ray

Creating .pdb's externally.

2001-06-21 Thread Scott Herman
This post intrigued me, since I am building an app which is really just a front end for a custom DB. I have about 182k of delimter separated ASCII data which I need to load into a .pdb. How can I do that? The data is generated under Unix and, although it's fairly static, it does get updated

RE: Creating .pdb's externally.

2001-06-21 Thread DeAnna Davidson
Palm does actually post the pdb format. Go to www.palmos.com/dev/tech/docs and you'll see a link for Palm File Format Specifications. As long as you know the rules, creating a pdb file is fairly straightforward. DeAnna -Original Message- From: Scott Herman [mailto:[EMAIL PROTECTED]]

RE: Creating .pdb's externally.

2001-06-21 Thread Richard.Johnstone
Try this for creating PDBs http://www.righto.com/pilot/pdb.html -Original Message- From: Scott Herman [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 21, 2001 3:51 PM To: Palm Developer Forum Subject: Creating .pdb's externally. This post intrigued me, since I am building an app which

RE: List Draw Function (was Re: Dynamic List Content?)

2001-06-21 Thread DeAnna Davidson
Ah, yes, that's the other little trick related to using a draw function. There is no data in the char ** parameter of the list structure, so you can't use lstgetselectiontext. You will still need a string that persists for as long as your control does and you are responsible for allocating and

Re: Creating .pdb's externally.

2001-06-21 Thread Steve Mann
This post intrigued me, since I am building an app which is really just a front end for a custom DB. I have about 182k of delimter separated ASCII data which I need to load into a .pdb. How can I do that? There are variety of utilities out there that can do that. Here's a pointer to one:

Re: Creating a POSE .psf file from a real device

2001-06-21 Thread Keith Rollin
At 4:52 PM +0200 6/21/01, Daniel Morais wrote: Hi ! When a customer have a very strange problem that only occur on his device, it could be great, to find which problem he have, to get an image of it's Palm. So, I'm wondering if there is an easy ( in common customer's point of vue ) way to build

Startup options

2001-06-21 Thread Doug Broadwell
Is it possible to have an application automatically start on reset? Is it possible to suppress the palm logo on reset? Thanks, Doug Broadwell -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Bus error when using a Global var on POSE 3.1

2001-06-21 Thread Randy Pulsifer
The following snip is, as usual, called in the first lines of Pilot Main and has worked fine until I added the global variable FeatureSet35Present and the call to WinScreenMode, now whenever I reset the emulator (3.5.1 en-color non-debug ROMs) it hangs with the tried to read from 0x8003d14d

Re: Has anyone implemented blowfish?

2001-06-21 Thread Richard M. Hartman
The typical solution to this problem is to agree on an on-the-wire representation, so that each machine (big-endian or little-endian) _knows_ that whatever is coming through the pipe is in a given format. If the on-the-wire format is different than that of the device -- whether that device is

Re: Bus error when using a Global var on POSE 3.1

2001-06-21 Thread Danny Epstein
Randy Pulsifer [EMAIL PROTECTED] wrote in message news:53887@palm-dev-forum... The following snip is, as usual, called in the first lines of Pilot Main and has worked fine until I added the global variable FeatureSet35Present... This is the usual can't access globals on non-normal launch

RE: Bus error when using a Global var on POSE 3.1

2001-06-21 Thread Richard Burmeister
From: Randy Pulsifer The following snip is, as usual, called in the first lines of Pilot Main and has worked fine until I added the global variable FeatureSet35Present and the call to WinScreenMode, now whenever I reset the emulator (3.5.1 en-color non-debug ROMs) it hangs with the tried

Re: Clock Sources for Ticks and Seconds

2001-06-21 Thread Herbert Valliant
Subject: Re: Clock Sources for Ticks and Seconds From: Danny Epstein [EMAIL PROTECTED] Date: Wed, 20 Jun 2001 17:47:26 -0700 X-Message-Number: 44 On Wed 20 June 2001 Danny Epstein Herbert Valliant [EMAIL PROTECTED] wrote in message news:53704@palm-dev-forum... Does anyone know if seconds and

Re: Bus error when using a Global var on POSE 3.1

2001-06-21 Thread Danny Epstein
Richard Burmeister [EMAIL PROTECTED] wrote in message news:53893@palm-dev-forum... I can't remember to right way to start Pose without loading the saved .psf file... Caps lock. -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Clock Sources for Ticks and Seconds

2001-06-21 Thread Jim Schram
At 7:39 PM -0500 2001/06/21, Herbert Valliant wrote: What I need to know is if ticks and seconds remain synchronized while the PDA is turned on whatever the initial phase relation. No, they are separate clocks. In particular, the tick count will stray as interrupts are periodically disabled by

Re: Clock Sources for Ticks and Seconds

2001-06-21 Thread Danny Epstein
Herbert Valliant [EMAIL PROTECTED] wrote in message news:53894@palm-dev-forum... What I need to know is if ticks and seconds remain synchronized while the PDA is turned on whatever the initial phase relation. That would be the case if both are derived from the same master clock. If separate

RE: Bus error when using a Global var on POSE 3.1

2001-06-21 Thread Keith Rollin
At 7:39 PM -0500 6/21/01, Richard Burmeister wrote: From: Randy Pulsifer The following snip is, as usual, called in the first lines of Pilot Main and has worked fine until I added the global variable FeatureSet35Present and the call to WinScreenMode, now whenever I reset the emulator

Re: List Draw Function (was Re: Dynamic List Content?)

2001-06-21 Thread Nicolás Zeitlin
I myself have been having a similar problem to that of Andrew Perron.. I need to create a ComboBox (popup-trigger + list control) at runtime. However, I have chosen the other possibility (the one you all describe as the hardest). My problem: I allocate enough space through MemPtrNew(sizeof(char)

Need help : file not found - gcc for palm

2001-06-21 Thread Tan Kuan Eeik
Anybody can help me on this ... I have installed gcc, prc-tools , sdk-4 and pilrc v2.8 I have set the path PATH= C:\Program Files\PRC-Tools\H-i586-cygwin32\bin; c:\pilrc-2.8; c:\cygnus\cygwin-b20\H-i586-cygwin32\bin; Problem === If I include PalmOS.h in my helloworld.c ,

RE: List Draw Function (was Re: Dynamic List Content?)

2001-06-21 Thread Richard Burmeister
From: Nicolás Zeitlin The problem is.. I cannot MemPtrFree() the Char* I used initially to pass on to SysFormPointerArrayToStrings(), which is sizeof(char) * 50 -Pretty big-. Why is this? How should I release the memory? Thanks a lot, Since SysFormPointerArrayToStrings() creates an array

Re: Deleting Databases *Safely* ?

2001-06-21 Thread Ng Wei Gee
Hi, Because I checked, and all databases and the App have the SAME creator ID, yet I can see each database listed in the launcher delete list! One more possibility is that the casing are not the same? Creator IDs are case sensitive... :) Regards, Gee. -- For information on using the Palm

Field not taking input !!

2001-06-21 Thread Vini Bhatnagar
I have a field that takes proper input and works fine till I change its position amd place it above a table column. Whenever any row in a particular column in the table is selected I move the field to the selected cell and set its focus. I can see the cursor blinking but the field stop taking

Problem in providing noneditable but scrollable field

2001-06-21 Thread Akash
Hi all, Here is a silly problem faced by me. I'm providing a noneditable field in a user screen. The problem is that the contents are not fully displayed if the text size exceeds the width of the field. Unlike the normal field i'm not able to view the whole field through scrolling. Can someone

  1   2   >