How do I resolve Object not in form error?

2000-05-19 Thread Clancy J. Clark
I am currently attempting to add a "date created" field to the palm address book. In testing this app based on the sample address app included in CW6, I get Form.C: 1272 Object not in form when I select the date field to open the date selector form. It happens when GetObjectPtr is called in

Re: How do I resolve Object not in form error?

2000-05-19 Thread Christian Vandendorpe
Yeah this error has been driving me crazy more than once until I discovered that it always happens when I assign too much text to a form label. For example, if in constructor you create a label that has the text "Monday" and then in your program you set the text to "Wednesday" you will get

ctype.h

2000-05-19 Thread Dinesh
hi, i am porting some piece of code from Unix/C to Palm3.1/C (gcc). there is no unix_ctype.h file in System/Unix directory. what would be the substitute for ctype functions isspace(), isalpha(), isgraph() ? -- Dinesh -- For information on using the Palm Developer Forums, or

Message Box

2000-05-19 Thread Subrata Chakrabarty
Hi I am new to palm programming . In windows you can use Message Box to display any message . I want to know the similar utility to display any string from my program to the Palm screen . Like a trace utility to check the programme execution . Say in a routine I want to display "hello" on to

Thank for all the support

2000-05-19 Thread Patrick Heynen
Everyone, Thanks for all the help and support during the last few months, my training period is over and as well the assigment. Thanks, PAtrick Heynen -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: ctype.h

2000-05-19 Thread Thomas Gaudin
As form me, I'm working under Win NT, I have a header file named ctype.h in installdirectory\PRC-Tools\H-i586-cygwin32\m68k-palmos\include and it contains the functions you seek hope that helps thomas Dinesh a écrit : hi, i am porting some piece of code from Unix/C to Palm3.1/C

How can I change the prefs with coding?

2000-05-19 Thread Jason Zhan
Hello everyone: Who can tell me how I can change the prefs with coding? The second how can I hide the icon of some applications that comes with OS? Thanks Jason -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Logic question based on Memopad example

2000-05-19 Thread Holger Klawitter
Tim Astle wrote: isn't a good idea. However, as far as I can tell, there is no reason to have the section: lastRow = TblGetLastUsableRow(table) - 1; This comes from the fact the the table might only partially be filled. The scrollAmount += TblGetRowHeight(table, lastRow) should

Re: Message Box

2000-05-19 Thread Holger Klawitter
I am new to palm programming . In windows you can use Message Box to display any message . I want to know the similar utility to display any string from my program to the Palm screen . Like a trace utility to check the programme execution . I normally use an Alert Form (DebugAlert) with a

Walking in the sunshine with a Palm in hand !

2000-05-19 Thread Herve Groleas
Hello !! Is there a french ou there ??? Can someone please tell me if there is a french reseller of CW6 for Palm computing ?? (the nearest i found is in switzerland) Thank yo ! Herve -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: hierarchial item list?

2000-05-19 Thread Eric VERGNAUD
le 18/05/00 14:20, Heather Gazdik à [EMAIL PROTECTED] a écrit : Hi, I am trying to create a scrollable, selectable, hierarchial item list. It would show a list of data in outline tree form, where subsections of the tree may be collapsed and hidden from view when desired. I am not sure if

changing size of bitmaps?

2000-05-19 Thread John Corelli
In Constructor, I try to create my own bitmap. I've been going through the MemoPad tutorial and I was able to use/implement the info bitmap that was already done (43x54). But I can't seem to create a new one that doesn't default to 16x16. I go and change the height/width properties but the

Adding list items to a list in Constructor?

2000-05-19 Thread Chris DiPierro
If I select a list in constructor and try to add items to it, I cannot. The Edit-New Item option is grayed out and I can never get it to become choosable again. Is this just a bug in CW6? I asked this in the tools forum, but no one seems to read the new forums, so I'm asking here... Thanks for

Re: Adding list items to a list in Constructor?

2000-05-19 Thread Brandon Wallace
It is kinda wierd. In the list properties at the bottom is something like "List Items" Click on that. It should highlight. *now* the Edit-New Item menu can be accessed. (Or just hit Ctrl-K). Chris DiPierro wrote: If I select a list in constructor and try to add items to it, I cannot. The

RE: Walking in the sunshine with a Palm in hand !

2000-05-19 Thread Heather Tufts
Herve, If you found Comlight in Switzerland, then you found the closest distributor of the CW for Palm software. Comlight distributes for all of France. You can contact Martin Ottiger directly at [EMAIL PROTECTED] for more information. hkmlt -Original Message- From: Herve Groleas

Re: SerialMgrNew

2000-05-19 Thread Charles Rezsonya
hi, i would like to know (from this related thread) if i can get the new serial manager func's for the symbol unit (do they have an sdk that includes this new serial manager?) or can i just grab the new serial manager calls and throw them into the one i'm using? Regards, Charles Rezsonya

RE: How can I change the prefs with coding?

2000-05-19 Thread Nesse, Rustin
Easy. PrefSetPreference( preference, value ) will do the trick for one preference at a time, and you can do the entire pref data structure with PrefSetPreferences. Look in Preferences.h for a listing of all the preference values. Second, you can get TRGPro and customize your flash ROM...but

RE: SerialMgrNew

2000-05-19 Thread Nesse, Rustin
Wait a little while, there is a new SDK coming out from Symbol Technologies that will also provide support for their PDF-417 scanner on their soon to be released SPT1700-PRG80200 model. If you're needing it NOW, then download it from www.symbol.com 's developer area. The latest version is

Re: SerialMgrNew

2000-05-19 Thread Dave Lippincott
Only OS 3.3 devices or newer use the new serial manager functions. I believe the SPT 1500,1700 1740 have OS 3.2 or older. You'll have to wait for Symbol to release a ROM update or use the standard serial manager routines for now. -Original Message- From: Charles Rezsonya [EMAIL

RE: SerialMgrNew

2000-05-19 Thread Steve Branin
I am using the SerialMgrNew with a Symbol 1700 by using SDK 3.5. Though I havent figured out how to also use the Symbol SDK and do barcode scanning as well. I asked this question earlier in the week and haven't had a response. -Original Message- From: [EMAIL PROTECTED]

RE: SerialMgrNew

2000-05-19 Thread Steve Branin
The 1700 ROM does support the New Serial Manager. The 1500 does not and I dont know about the 1740 (I would guess it does). The 1700 uses a ROM that is based on the 3.2 but with extra stuff added like the New Serial Manager. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: SerialMgrNew

2000-05-19 Thread Nesse, Rustin
I used the old serial manager and I liked it more. Actually, Symbol's SDK is 2.0, and is available at www.symbol.com 's developer support directory. It comes with full documentation for it's MSR library, the scanner, and for printing. //* Rus Daniel Nesse //* Application Development //*

CodeWarrior R6 on Win2000

2000-05-19 Thread Magnus ?or Torfason
I just upgraded: CW R5 on WinNT - CW R6 on Win2000 I am having tremendous problems with the debugger, I have tried three separate ( all clean ) installs of Win2000: 1) It caused the IDE to hang when debugging an application (For the second time only, first time was OK). I fixed this

Problems debugging conduit

2000-05-19 Thread Roger Moore
Hi everybody, I have posted this over at the conduit development forum but there doesn't seem to be too much activity over there so I thought I would try here. I've been staring at this one for a while now, any help with this would be greatly appreciated. I am trying to get a conduit running

RE: CodeWarrior R6 on Win2000

2000-05-19 Thread Frank Nichols
Probably not related, but I am experiencing repeatable frequent crashes following every debug session using CW R6 with CW Pro 5.0, 5.2, and/or 5.3 on a Macintosh Powerbook G3/400. /fn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Magnus ?or Torfason

WinSaveBits blues

2000-05-19 Thread Paul Nevai
HI! When I do Err error; RectangleType saveT; WinHandle winH; RctSetRectangle (saveT, 0,0,10,10); winH = WinSaveBits (saveT, error); this in one window, POSE complains about possible memory leak. When I do it in another window, it's OK. Any clues why this could happen? Thanks! Best regards,

GUID/UUID on PalmOS

2000-05-19 Thread Magnús Þór Torfason
Is anyone creating UUID's (Universal Unique Identifiers) on Palm? I will be needing a variant that conforms in some sense with the standard UUID's, generated by DB systems and such stuff. I was just wondering if anyone had gone through the research, since it seems to be a non-trivial algorithm

Creator for application

2000-05-19 Thread Fredrik Persson
I have a strange problem with my conduit. If i set the creatorfield to 'memo' the conduit always run no matter what palmdatabase I try to get records from. But when i take the creatorname of my own database I can't even run the conduit. Is it anybody that knows anything about this. Do I have to

RE: GUID/UUID on PalmOS

2000-05-19 Thread Nesse, Rustin
This issue came up a few days ago, and I think the solution was to generate a UUID based upon the user name and the date. Win programming creates theirs based on a hashing algorithm that uses the date and something else (I forget) to generate their GUID's. I'm not sure if this would exactly

RE: Creator for application

2000-05-19 Thread Eric Sun
Well, first off, if you use 'memo' your conduit will run all the time because MemoPad (comes standard with any Palm device) uses 'memo' as their Creator ID. What you have to do is create the database and application with YOUR creator ID. In the skeleton that CW creates for you, there is a

Re: CodeWarrior R6 on Win2000

2000-05-19 Thread Steve Jackson
Hi Magnus, Regarding your first problem: 1) It caused the IDE to hang when debugging an application (For the second time only, first time was OK). I fixed this by modifying debugger settings. What settings did you change to correct this? Thank you. -Steve Jackson -- For

Re: Message Box

2000-05-19 Thread Ole Grossklaus
I do use FrmCustomAlert() You have to define an alert box with ^1 ^2 ^3 as your text and then call FrmCustomAlert(altCustomID," text to go to ^1", "text to go to ^2"."text to go to ^3"); Greetings Ole Subrata Chakrabarty [EMAIL PROTECTED] wrote in message news:12058@palm-dev-forum... Hi I

Re: Message Box

2000-05-19 Thread Richard M. Hartman
Isn't there a bug where you should use a string consisting of at least one space instead of NULL for the unused arguments? e.g.: FrmDoCustomAlert( DebugAlert, "my message", " ", " " ) -- -Richard M. Hartman [EMAIL PROTECTED] 186,000 mi/sec: not just a good idea, it's the LAW! Holger

Re: SerialMgrNew

2000-05-19 Thread Dave Lippincott
I stand corrected. I was under the impression that the new serial manager was a OS 3.3+ thing. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: Screen Refresh Problem OS 3.5 Debug Rom on B/W

2000-05-19 Thread Jim Schram
At 9:12 PM -0700 2000/05/18, Mike Davis wrote: Is this problem of the screen not being refreshed (b/w debug rom), when a form is popped up over a form that has WinDraw lines and rectangles, etc., going to be fixed (or is it already), in the debug ROMs? If I understand correctly, you're saying

How to detect a hard key up

2000-05-19 Thread Kevin O'Keefe
Hi all. I know there is not a key up message, so I've been wondering how one might go about detecting the fact that a hard key is no longer being pressed. Let's hear your ideas Thanks, Kevin Kevin O'Keefe Vanteon 973 University Avenue Los Gatos, CA

Re: How to detect a hard key up

2000-05-19 Thread Aaron Ardiri
Hi all. I know there is not a key up message, so I've been wondering how one might go about detecting the fact that a hard key is no longer being pressed. Let's hear your ideas you can call KeyCurrentState() - or similar :=)) az. -- Aaron Ardiri Java Certified Programmer

RE: Multitasking and system APIs

2000-05-19 Thread Kevin O'Keefe
While this is true in general, if you want to buy a license from the microkernal company and ask Palm to build you a special version of the OS, then you can create a second task. You better be expecting to sell a lot of your product to justify all the hassles though... -Original

RE: Message Box

2000-05-19 Thread Scott L. Johnson
From: Subrata Chakrabarty [mailto:[EMAIL PROTECTED]] [Need] utility to display any string from my program to the Palm screen. Like a trace utility to check the programme execution. If this is strictly for a debug utility that your users will never see, try SysFatalAlert(). Compared to the

Re: Serializing access to data from an alarm procedure

2000-05-19 Thread Charles Rezsonya
is there a way i can get the calls or api libraries for use with the spt units with the 'extra' new serial manager calls? or referance me to where i can find it? thx Charles Rezsonya -Original Message- From: Jim Schram [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Cc:

RE: Message Box

2000-05-19 Thread Yu, Ken
Instead of creating message boxes, why not use Palm Reporter from www.palmos.com? I found the Palm Reporter utility to be an extremely helpful tool. You can emit traces from your app and monitor them with Reporter. You do not have to repeatedly recompile with debugging messages and execution

MathLib + PalmOS3.5

2000-05-19 Thread Felipe Crochik
I am trying to compile the mathlib.c to use the MathLib in my application but I received a lot of error messages when I used a SDK3.5 template project. Do someone have a mathlib version sdk35 compatible? Any suggestions? I am new with codewarior and Palm development. Thanks in advance, Felipe

Ascii to DateTimeType

2000-05-19 Thread Tim Astle
Is there such a function out there? I searched through the header files and the resource pdf for an existing one, but I had no luck. -- Tim Astle -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Semaphores

2000-05-19 Thread Shannon
How do we handle data integrity issues with semaphores? For example, lets say you are writing data to a database, and you also want to write a size to the database as well. I currently allocate the memory, write the data, then write the size. However, since the OS is multi-threaded, the

Re: Screen Refresh Problem OS 3.5 Debug Rom on B/W

2000-05-19 Thread Mike Davis
At 9:12 PM -0700 2000/05/18, Mike Davis wrote: Is this problem of the screen not being refreshed (b/w debug rom), when a form is popped up over a form that has WinDraw lines and rectangles, etc., going to be fixed (or is it already), in the debug ROMs? If I understand correctly, you're

Bit packing and endianess

2000-05-19 Thread Chris Faherty
I'm porting some of my palmos code over to a little-endian device (RIM950). It uses the MS Visual C++ compiler for the SDK. The problem I am having is with structures that use bit packing: typedef struct { Word year :7; Word month :4; Word day :5; } DateType; On Codewarrior and

RE: Bit packing and endianess

2000-05-19 Thread Al Cilcius
Bit-packing (physical) order is implementation dependant. Thus, you should not assume any order nor should you assume that anything other than (native type) int can be bit-packed "safely." Use bitmasks and bitflags rather than bit fields: typedef struct { Word wYYMMDD; void

Re: Screen Refresh Problem OS 3.5 Debug Rom on B/W

2000-05-19 Thread Peter Epstein
At 09:12 PM 5/18/2000, Mike Davis wrote: Is this problem of the screen not being refreshed (b/w debug rom), when a form is popped up over a form that has WinDraw lines and rectangles, etc., going to be fixed (or is it already), in the debug ROMs? This is intentional. In low memory situations,

UI App shell Error

2000-05-19 Thread Nick Torenvliet
I am running a pretty simple little application in POSE. When I click the silk screened house button on the POSE console(in order to exit the program) I get an error which reads something like... UI App shell( unknown version)has just performed an illegal operation. It performed a "bus error".

Re: Bit packing and endianess

2000-05-19 Thread krollin
What you are doing is *compiler* dependant, not *platform* dependant. You might want to check for compiler-specific conditionals instead. Or avoid the whole problem and just do it by hand, as Al Cilcius suggests. It's uglier, but more portable. -- Keith "Mike Margerum" [EMAIL PROTECTED]

Re: Bit packing and endianess

2000-05-19 Thread Butch Howard
There's no switch to tell VC to do it the other way. Just wondering if there is a compiler directive to tell VC++ to pack those bits starting at the msb. It doesn't really seem like an endianess issue but rather a compiler preference issue. -- For information on using the Palm Developer

Date calculation.

2000-05-19 Thread Foley, Mason
I understand the Palm OS generates date/time values from a value equal to the number of seconds since "01/01/1904 00:00:00". I am not a programmer (hence my lack of easily finding a solution) however I test applications on the Palm OS. The date/time properties of Palm files on the OS are

Re: CodeWarrior R6 on Win2000

2000-05-19 Thread Mike Margerum
are they going to patch R5 too? - Original Message - From: "Nesse, Rustin" [EMAIL PROTECTED] To: "Palm Developer Forum" [EMAIL PROTECTED] Sent: Friday, May 19, 2000 11:59 AM Subject: RE: CodeWarrior R6 on Win2000 These are documented problems with CW R6 on 2000. Codewarrior is

Re: UI App shell Error

2000-05-19 Thread James Lee
You need to do a FrmCloseAllForms() when you exit your program I believe... I ran across this same thing when I started debugging my own programs with the 3.5 ROMs... James Lee, [EMAIL PROTECTED] Seahorse Software, http://www.seahorsesoft.com/ On Fri, 19 May 2000, Nick Torenvliet wrote: I

Re: UI App shell Error

2000-05-19 Thread Dave Lippincott
You may be stuffing data (such as a string) into a variable that doesn't have enough memory allocated to it. Essentially you are over writing a memory location that isn't yours. Make sure any pointers you use point to enough memory before you fill them. -Original Message- From: Nick

RE: CodeWarrior R6 on Win2000

2000-05-19 Thread Nesse, Rustin
I wish. I don't think so, though. I know I'm still using 5, since some of my old projects didn't port over very well when I upgraded to R6 (and I'm talking some STRANGE problems). But 5 is working fine for me right now, I've learned to adapt to its quirks and bugs. // Rus Daniel Nesse

Re: Screen Refresh Problem OS 3.5 Debug Rom on B/W

2000-05-19 Thread Mike Davis
At 09:12 PM 5/18/2000, Mike Davis wrote: Is this problem of the screen not being refreshed (b/w debug rom), when a form is popped up over a form that has WinDraw lines and rectangles, etc., going to be fixed (or is it already), in the debug ROMs? This is intentional. In low memory

Re: Screen Refresh Problem OS 3.5 Debug Rom on B/W

2000-05-19 Thread Peter Epstein
At 12:24 PM 5/19/2000, Mike Davis wrote: Why does it work differently on Color Debug ROMs than B/W Debug ROMS? Because the debug ROMs are always trying to expose latent bugs in applications. On a release ROM, the bits won't be saved when memory is low, so your app needs to be able to refresh

Re: Semaphores

2000-05-19 Thread Danny Epstein
"Shannon" [EMAIL PROTECTED] wrote in message news:12132@palm-dev-forum... How do we handle data integrity issues with semaphores? You can't use semaphores yourself, but I've used a bit in a database's app info block to the same effect. My goal was to prevent data corruption from resets, whether

Screen Refresh Problem - Dead Horse but I need to understand this

2000-05-19 Thread Mike Davis
RE: OS 3.5 I realize that one must (should) handle the FrmUpdateForm event, of a form when a popup form is closed, to guarantee redrawing the original form correctly. But I have an application where this is impractical (if not impossible), to do this. So, what I want to do is characterize

RE: Screen Refresh Problem OS 3.5 Debug Rom on B/W

2000-05-19 Thread Nesse, Rustin
This is intentional. In low memory situations, dialogs sometimes can't allocated enough memory to store the portion of the screen they're drawn on top of. In this case, when the dialog is dismissed, the form has to do its own redrawing. The debug ROMs simulate this low memory condition to

Re: Screen Refresh Problem - Dead Horse but I need to understand this

2000-05-19 Thread Peter Epstein
At 02:22 PM 5/19/2000, Mike Davis wrote: But I have an application where this is impractical (if not impossible), to do this. So, what I want to do is characterize the operation of this application and see if I must worry about the problem. In the worst case, you can store the screen state in a

RE: Screen Refresh Problem OS 3.5 Debug Rom on B/W

2000-05-19 Thread Nesse, Rustin
Actually, I just thought of something else: Store your pixel coordinates in a database or file as you go. Don't save it as a bitmap, just save the coordinates. Use your updateEvent handler to redraw the picture based on the coordinates. I don't know what you are doing exactly, but in this

Notification Manager

2000-05-19 Thread Bradly J. Barton
I can't seem to find any reference in the online descriptions of the Notification Manager as to which OS it appeared in.. what Version of the OS has to be present to use the Notification Manager? -- Bradly J. Barton - [EMAIL PROTECTED] Jenies Technologies Incorporated (972) 602-1835

RE: Crashing on Mac (was RE: CodeWarrior R6 on Win2000)

2000-05-19 Thread Frank Nichols
Good try, but no joy. It is probably something else I have installed somewhere. :-( Anyone know if you can merge a CWPalm 6.0 with a CWPro 5.3 on a Macintosh? I saw the earlier postings saying no, but it wasnt clear if that was on a Windows machine or a Mac or both. I started with a CW Pro 5.3

RE: Crashing on Mac (was RE: CodeWarrior R6 on Win2000)

2000-05-19 Thread Heather Tufts
You can merge CW for Palm 6 with CW for Mac 5.2. Palm 6 doesn't currently work with the 5.3 IDE, so that may be causing some of your problems. Here are the steps for merging the Palm tools with the Pro tools on a Mac: 1. Install CW Pro 5 first. You must install the original CW Pro 5 from the

Re: Notification Manager

2000-05-19 Thread jesse_donaldson
I can't seem to find any reference in the online descriptions of the Notification Manager as to which OS it appeared in.. what Version of the OS has to be present to use the Notification Manager? PalmOS 3.5... Jesse -- For information on using the Palm Developer Forums, or to

Waba

2000-05-19 Thread marinello
Hi, somebody knows as I do to read and to write in files or DB of Palm using Java? Thanks, Marcos A. Marinello. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

RE: Semaphores

2000-05-19 Thread Fitzpatrick, Joe
DmWrite is atomic (it uses a system semaphore). You could just structure your code so that your record is constructed on the heap, then written to data memory with a single DmWrite. If you need to do in-place editing, initialize your header to an invalid value first, record your data, then

Re: CodeWarrior R6 on Win2000

2000-05-19 Thread Richard M. Hartman
I have to say that after all I've been reading about the problems of R6, my upgrade CD has been sitting on the shelf waiting for the version that works, while I continue to use R5. -- -Richard M. Hartman [EMAIL PROTECTED] 186,000 mi/sec: not just a good idea, it's the LAW! Nesse, Rustin

Re: Screen Refresh Problem - Dead Horse but I need to understand...

2000-05-19 Thread Ron Nicholson
Note that other stuff can also cut into your dynamic heap, such as the Network stack, OS updates and Hackmaster extensions. Unless you can test against every possible combination of Network connections, future OS updates and all possible Hacks, then using the Debug ROMS to simulate low memory

Sending large PDB files to the Palm

2000-05-19 Thread PHJasper
I have a large pdb file with over 15000 records that i need to send to the palm I have tried several different methods but all seem to take upwards of an hour I have tried using the palm install tool, I also wrote two conduits, one to download the records individually and

the uncompressed size of a doc file is what???

2000-05-19 Thread Paul Nevai
Hi Guys: Re: doc file header records I just realized that "AportisDoc (Reader and Mobile Edition) ... overwrite the first two bytes of length with zeros (even if the document is more than 64k bytes in length!) upon first opening the document. " [see http://pyrite.linuxave.net/doc/format.html].