Re: Codewarrior - target not registered

2001-10-30 Thread Essell
Hi .. I managed to replace the current version of my code with a previous backup & redo all the changes & now it works fine. But now all of a sudden I'm having the same problem again. This time however, I can pin point it to a particular scenario. I have several Bitmap Resources added to my proj

Problems with prc-tools 2.0.91

2001-10-30 Thread Bernd Abel
After moving from prc-tools 2.0 to prc-tools 2.0.91 (on my Linux platform, gcc 2.91.66 = egcs 1.1.2), I have been experiencing some very strange behaviour of my recompiled PalmOS applications: * In POSE, all my multi-segmented apps crash. Translation of these programs conforms exactly to the "mul

How to hightlight the entire row of table?

2001-10-30 Thread chakin1
I have created a table which has 5 columns and 10 rows. How can I hightlight the entire row of a table when a single item in a row is selected? I've tried using 'TblSelectItem' but is doesn't work because it will deselect the previous selected item. I've tried 'WinDrawInvertedChars' but there are

App is not instaled on the device.

2001-10-30 Thread tonza
I had been working on some programs for very long time. But once it began to show error when installing to Palm OS Emulator 3.2 or to device III. It shows me the following error: "Could not install the Palm OS file x.prc becase Palm OS error 0x0201 (dmErrMemError) occured". I've read about the se

Re: Creating List items using constructor

2001-10-30 Thread chakin1
Thanks for your help "Heather Tufts" <[EMAIL PROTECTED]> wrote in message news:66079@palm-dev-forum... > -Original Message- > From: chakin1 [mailto:[EMAIL PROTECTED]] > > I have difficulties in creating a List of items for the list object in > Contructor-for-palm-OS-1.6. Please help. Sel

Re: App is not instaled on the device.

2001-10-30 Thread Nag Malluru
Hi, Make sure your RAM size is 8192K so that it will be installed correctly on your POSE. Right click on POSE, Goto New.. and check RAM size for a particular rom file. Regards Nag Malluru Sr. Software Engineer, JP Systems(India) Ltd., +9140 6667794/95 x-217 - Original Message -

Re: App is not instaled on the device.

2001-10-30 Thread Prasad
There may be another cause also for this error, if the size of the application is more than 64k and not segmented. You need to create segments and move elements in to them. Make sure the startup library should be in first segment. regards P:) - Original Message - From: Nag Malluru <[EMAIL

Re: How to hightlight the entire row of table?

2001-10-30 Thread Max Bian
You need WinDrawInvertRectangle to invert the entire row. This is what I just figured out. Max --- chakin1 <[EMAIL PROTECTED]> wrote: > I have created a table which has 5 columns and 10 rows. How can I hightlight > the entire row of a table when a single item in a row is selected? I've > tried u

Re: App is not instaled on the device.

2001-10-30 Thread Nag Malluru
thnx P. Regards Nag Malluru Sr. Software Engineer, JP Systems(India) Ltd., +9140 6667794/95 x-217 - Original Message - From: Prasad <[EMAIL PROTECTED]> To: Palm Developer Forum <[EMAIL PROTECTED]> Sent: Wednesday, October 31, 2001 4:16 AM Subject: Re: App is not instaled on the device.

Re: "Wake up" the Palm through Serial Port

2001-10-30 Thread Ricardo Brandão
Hello Dave, I don't mind if the first few bytes of messages sent by PLC is lost. Because, the communication between PLC and Palm will be continuous while the PLC is up. Then if the first bytes is lost there is no problem, because the PLC will receive no response or an error reply, so the PLC will

Problems understanding Palm records and memory and variables.

2001-10-30 Thread Jos? de Paula Eufr?sio J?nior
Hello there... I'm making my first incursion in the Palm OS Programming, and I'm trouble understanding some concepts in the Palm architecture... I understed the event loop and handlers, I even make the UI for my program (and it answers to my list taps :P). But let's go to the questions: 1-) M

problem with palm m500/505 or os4

2001-10-30 Thread Patrik Wernli
hi all is there a known problem with the ir port of the palm m500 or m505? i'm working with the j2me wtk and always have errors when i call my servlet on the webserver. the strange thing: my application works without problems on a palm Vx (os3.5). i connect to the net over my mobile (nokia 6210)

Re: Codewarrior - target not registered

2001-10-30 Thread Chris Tutty
"Essell" <[EMAIL PROTECTED]> wrote > I have several Bitmap Resources added to my project in constructor & two > Bitmap Family resources. The moment I add a third Bitmap Family resource & > try to compile the code, I get Target Not Registered. If I remove the Bitmap > Family Resource from my projec

Re: How to hightlight the entire row of table?

2001-10-30 Thread Dave Lippincott
or use a table with a single row and format the data in columns yourself - Original Message - From: "Max Bian" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Tuesday, October 30, 2001 7:04 AM Subject: Re: How to hightlight the entire row of table? > You need Wi

Re: Problems understanding Palm records and memory and variables.

2001-10-30 Thread Dave Lippincott
Think of it analogous to RAM and a Disk. Mem routines work with RAM memory and Dm routines deal with persistent memory. I'd get yourself one of the many Palm programming books available and/or read over the 'getting started' section on the PalmOS website. The SDK contains the source code for all

Re: Codewarrior - target not registered

2001-10-30 Thread Essell
Thanksss Chris !! I'd never thought of executing the prc directly on POSE. I tried doing this & POSE gave me a more decriptive error. It happened to be a problem with the Resource ID of the bitmap family resource I was adding. Anyways .. its working fine now. Hope i don't bump into any more '

General.prc

2001-10-30 Thread Farzin Ashraghi
Hi friends: In order to change apps language to spanish, I've downloaded some spanish apps like memo, expense, formats, etc. Do you know where can I find general.prc? Thank you, Farzin -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com

Timing out on emulator

2001-10-30 Thread gordingin
Hello all, I am doing some IP work and my emulator is timing out. On the device, I know click the right top corner you can turn on the DLServer and the palm device won't ever time out but can I do this on the emulator? Do I just set timeouts in my code to -1? thanks Ralph Krausse -- For

Please help me out. I have to get this done today

2001-10-30 Thread Johnathan Smith
I have a database that keeps exercise I have to sort the database by the title of the exercise. Below is how my record looks. Can anypone please help me bu sending me some code typedef struct { Char title[45]; } exercise; THANKS __ Do You Y

Re: automatic depth conversion using Bitmap Family

2001-10-30 Thread Martin Elzen
>>but, under Palm OS 4.0 debug Rom, it complained about >>"bad window." I don't know if it'll help you, but I recall getting a "bad form" error under an OS 4 debug ROM. After looking at the attributes of that specific form I saw that it's "usable" flag was *not* checked. after setting that f

Re: Please help me out. I have to get this done today

2001-10-30 Thread 吉爾菲艾斯
Hi~Johnathan~ I suggest you can reference the [Palm OS Programming Bible]. The Chapter 10 have some sample code about Record Sorting. This may be usful. Good Luck. Jim Lu. Johnathan Smith wrote: > I have a database that keeps exercise I have to sort > the database by the title of the exercis

Re: Please help me out. I have to get this done today

2001-10-30 Thread Dave Lippincott
A basic bubblesort algorithm would work. Plenty of source code for it is available on the web. Since this is not a Palm question, you may be better off asking basic C programming questions like this on a C news group. - Original Message - From: "Johnathan Smith" <[EMAIL PROTECTED]> To:

Re: Please help me out. I have to get this done today

2001-10-30 Thread Johnathan Smith
I tryed and I cant get it to work. I am very new to palm/c/C++ programming Can you help --- ¦Nº¸µá¦ã´µ <[EMAIL PROTECTED]> wrote: > Hi~Johnathan~ > > I suggest you can reference the [Palm OS Programming > Bible]. > The Chapter 10 have some sample code about Record > Sorting. > This may be usful

RE: CW 7 vs CW 8

2001-10-30 Thread Martin Elzen
"Butler, Nick" <[EMAIL PROTECTED]> wrote: >Martin - Your previous email thread you made the following comment > >"do-able to write 'good' C++ code for the Palm (which=20 >IMNSHO means you now have support for exceptions & virtual functions, >and=20 >that 'report' of the MSL library business may e

displaying a colour bitmap on the Palm ..

2001-10-30 Thread Stringer
Subject: displaying a colour bitmap on the Palm .. From: "Essell" <[EMAIL PROTECTED]> Date: Mon, 29 Oct 2001 19:19:43 -0800 X-Message-Number: 15 Hi guys .. I have an application in which I have to display colour bitmaps. I'm using Codewarrior .. I manage to do this using a Bitmap Family. The pro

RE: displaying a colour bitmap on the Palm ..

2001-10-30 Thread Stringer
>Subject: displaying a colour bitmap on the Palm .. >From: "Essell" <[EMAIL PROTECTED]> >Date: Mon, 29 Oct 2001 19:19:43 -0800 > >I have an application in which I have to display colour bitmaps. I'm using >Codewarrior .. I manage to do this using a Bitmap Family. The problem is >... (igno

Re: General.prc

2001-10-30 Thread Ben Combee
"Farzin Ashraghi" <[EMAIL PROTECTED]> wrote in message news:66375@palm-dev-forum... > > Hi friends: > > In order to change apps language to spanish, I've downloaded some spanish > apps like memo, expense, formats, etc. Do you know where can I find > general.prc? This is the "General" control pan

re: Please help me out. I have to get this done today

2001-10-30 Thread A Lurker
> Johnathan Smith wrote: > > I have a database that keeps exercise > I have to sort the database by the title > of the exercise. Below is how my record > looks. Can anypone please help me > bu sending me some code > > typedef struct > { > Char title[45]; > } exercise; > I realize you are "

PRC file works well in Emulator and not on the device

2001-10-30 Thread Krishna V
Hi All, I have developed a PRC file which will be launched from PQA, later this PRC at user's request will connect wirelessly to a server and displays the data received from the server to the user. I am using INetLow and other libraries for wireless connection which is very similar to INetLow sam

RE: PRC file works well in Emulator and not on the device

2001-10-30 Thread Avilla, Dane
Make sure you have all the error reporting turned on in POSE. In the POSE menu, check all the boxes in "Settings -> Debugging" ("Alt + \"). If these aren't on, they won't warn you when you do Very Bad Things. Also, if you aren't already doing this, make sure your emulator session has the same R

Re: Date, date , date and date problem

2001-10-30 Thread Dani Ramsay
The datetype struct is in reality one UInt32 in the format yy(111)mm()dd(1) therefore you are required to perform a shift operation on your different parts of the date For my example the year is UInt32 0111 (max 7 bits) you will do a shift left (<<) 9 operation to

StrPrintF Support

2001-10-30 Thread Bradly J. Barton
Hi.. I just noticed that StrPrintF isn't implemented equally across all versions of the OS .. is there any documentation out there about when what features were implemented? (The 3.5 SDK makes no mention of it, just that 2.0 feature set is required for StrPrintF.) Specifically, the problem I noti

Graphic Buttons

2001-10-30 Thread Laurie Davis
I use a number of graphic buttons in my application. Since I want to preserve compatibility with Palm OS version 3.0, rather than use the built in graphic button capability, I put a button with no label over a bitmap graphic. This works fine, but has some subtle side effects on color displays. O

RE: PRC file works well in Emulator and not on the device

2001-10-30 Thread Danny Epstein
> Please help me in finding out what was the exact problem and why the program > runs in Emulator and gives fatal error in device. I'll add to Dane's post. If you're not using the UART for other purposes, you can debug remotely. This is explained in the CodeWarrior docs. For comms apps, this isn'

How do I start?

2001-10-30 Thread Abhishek Gupta
Hi there, I am a student of Pre-Final Year Enggineering. I have a project to develop an application for the Palm which would do the same job as MS-Access in windows. Now what i need to know from you guys is how exactly do i start, what i need to do, to refer etc. i hav got the emulator, prc-tools

Re: Graphic Buttons

2001-10-30 Thread Max Bian
If only the label matters, you may try put a label with all space characters. Just a guess. Max --- Laurie Davis <[EMAIL PROTECTED]> wrote: > I use a number of graphic buttons in my application. Since I want to preserve > compatibility with Palm OS version 3.0, rather than > use the built in gra

RE: StrPrintF Support

2001-10-30 Thread Danny Epstein
> Hi.. I just noticed that StrPrintF isn't implemented equally across all > versions of the OS .. True... > is there any documentation out there about when what > features were implemented? Not that I'm aware of. I'll see if I can get this fixed. > Specifically, the problem I noticed is that O

Re: How do I start?

2001-10-30 Thread Rohit . Kanwar
I would suggest that forget about your project right now. I guess you have a few months on your hands before the project is due. First, get familiar with the Palm OS environment. Start with a book on PalmOS programming, and accompany that with the standard documentation. "Palm Programming: The D

Re: Graphic Buttons

2001-10-30 Thread Laurie Davis
I tried that. If I set the label to one blank, the button still highlights in black. If I set the label to two blanks, it highlights in blue. Unfortunately, in both cases the button is opaque (i.e. I cannot see the bitmap underneath it). Laurie "Max Bian" <[EMAIL PROTECTED]> wrote in message

RE: Prevent date/time change

2001-10-30 Thread Peter Epstein
Instead of preventing, why not simply detect, and compensate accordingly in your calculations. If you register for the time change notification, you'll be told when the time changes, and by how much. Use this information to adjust your calculations for how long the user has been doing the tasks.

Re: Prevent date/time change

2001-10-30 Thread Farzin Ashraghi
Thank you very much Peter, How can I detect the launch code, please, give me an example. Thank you, Farzin - Original Message - From: "Peter Epstein" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Tuesday, October 30, 2001 3:02 PM Subject: RE: Prevent date/time ch

RE: Prevent date/time change

2001-10-30 Thread Ezekiel Sanborndeasis
Do you need to stop them from changing the time, or do you just need to know when they did and by how much? If the latter is the case and you can assume OS 3.5 or greater, register for the sysNotifyTimeChangeEvent notification. a look in NotifyMgr.h comes up with #define sysNotifyTimeChangeEvent

RE: Prevent date/time change

2001-10-30 Thread Peter Epstein
As Ezekiel said, you should register for the sysNotifyTimeChangeEvent notification rather than using the launch code (assuming you're running Palm OS 3.5 or later). -- Peter Epstein -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/t

NetworkDB File Layout

2001-10-30 Thread Kelly J Perkins
Hello, does anyone know where I can find the record layout of the NetworkDB database? I have looked at it in Hex, and it appears that for each Login Script entry there is a new "field". I haven't confirmed this yet, but would rather see some Palm documentation on it than make a guess at how many f

problems with MemHandleLock()...

2001-10-30 Thread Robert D. Matthews
I'm trying to lock a handle from a record with MemHandleLock() and when using POSE with a 4.0 rom, (m505), it gives a SysFatalAlert error with the message "MemoryMgr.c, Line: 4384, Free Handle." The section of code that I am using (which works in other areas for a different database) looks like t

re: Please help me out. I have to get this done today

2001-10-30 Thread Johnathan Smith
I looked at all the books and I still cant get it working! I have to demo a product that I am coming out with tomorrow. Can you please help me out?? --- A Lurker <[EMAIL PROTECTED]> wrote: > > Johnathan Smith wrote: > > > > I have a database that keeps exercise > > I have to sort the databas

RE: problems with MemHandleLock()...

2001-10-30 Thread Danny Epstein
> "MemoryMgr.c, Line: 4384, Free Handle." This means the handle containing the record was freed. You probably have code like this somewhere in your app: DmGetRecord or DmQueryRecord MemHandleLock ... MemHandleFree or MemPtrFree // Oops! Should be MemHandleUnlo

Re: problems with MemHandleLock()...

2001-10-30 Thread Keith Rollin
Robert, You don't show that you initialized recordH. recordH is a MemHandle* -- a pointer to a MemHandle. Is it initialized to anything sensible (e.g., recordH = &myHandle, where myHandle is a MemHandle)? -- Keith At 4:05 PM -0700 10/30/01, Robert D. Matthews wrote: >I'm trying to lock a h

re: Please help me out. I have to get this done today

2001-10-30 Thread A Lurker
--- Johnathan Smith wrote: > I looked at all the books and I still cant get it > working! I have to demo a product that I am coming > out with tomorrow. Since you have a job and I don't, I'm very tempted to say, "Send me your project and I'll rewrite it for you for my usual hourly rate." But th

RE: Please help me out. I have to get this done today

2001-10-30 Thread P. Alan Johnson
demo a product? wow! when can we all expect our first royalty check! :) Alan > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Johnathan Smith > Sent: Tuesday, October 30, 2001 5:18 PM > To: Palm Developer Forum > Cc: [EMAIL PROTECTED] > Subject: r

RE: problems with MemHandleLock()...

2001-10-30 Thread Danny Epstein
Keith wrote: > ... recordH is a MemHandle* -- a pointer to a MemHandle. Good catch! >MemHandle * recordH; >... >*recordH = DmGetRecord( db, index ); You should probably just get rid of the asterisks. Either that or allocate a handle for recordH to point to, but this is getting weird...

RE: Please help me out. I have to get this done today

2001-10-30 Thread Aaron Ardiri
On Tue, 30 Oct 2001, P. Alan Johnson wrote: > demo a product? wow! when can we all expect our first royalty check! :) it makes you wonder how little people think about projects tho.. i have had people tell me that it should ONLY take a week or two to write a full fledged game for the palm..

Database type

2001-10-30 Thread Very Penguin
Hi all, Could anybody please explain what the value of type that is used in DmCreateDatabase ? I often assign it a random value, and don't know if it can cause some problem. Thanks for your help, Dt _ Do You Yahoo!? Get your free @yahoo.

RE: Database type

2001-10-30 Thread Ezekiel Sanborndeasis
You can use whatever you want there, and if you have multiple databases associated with the same application (and thus all have the same creator ID) you might use different types such that it is easy to grab the one you want with DmGetNextDatabaseByTypeCreator. It does matter though for backup pur

RE: Database type

2001-10-30 Thread Danny Epstein
To add to Ezekiel's post... All-lowercase types are reserved for use by Palm. You can use uppercase, mixed case, or include one or more number of symbol. The same rules apply to creator IDs. -- Danny @ Palm -- For information on using the Palm Developer Forums, or to unsubscribe, please see ht

Time out during HotSync

2001-10-30 Thread John Tuvok
Hi, Can some one please tell me what the time out period is during a HotSync process? Thanks Tuvok _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- For information on using the Palm Developer For

Re: Please help me out. I have to get this done today

2001-10-30 Thread Chris Tutty
"Aaron Ardiri" <[EMAIL PROTECTED]> wrote > it makes you wonder how little people think about projects tho.. > i have had people tell me that it should ONLY take a week or two > to write a full fledged game for the palm.. this includes QA and > other things.. > The clients I'm getting this

re: Please help me out. I have to get this done today

2001-10-30 Thread Johnathan Smith
here is where I am losting it In the memo demo I see MemoDBRecordPtr how do I make a record pointer in my program? > > MemoDBRecordPtr r2, Int16 sortOrder, > SortRecordInfoPtr > /* info1 */, > SortRecordInfoPtr /* info2 */, MemHandle /* appInfoH --- A Lurker <[EMAIL PROTECTED]> wrote: > --- Jo

re: Please help me out. I have to get this done today

2001-10-30 Thread A Lurker
--- Johnathan Smith wrote: > here is where I am losting it > > In the memo demo I see MemoDBRecordPtr how do I make > a > record pointer in my program? > typedef struct { Char title[45]; } exercise, *exercisePtr; __ Do You Yahoo!? Make a grea

Application that remains in the background

2001-10-30 Thread Renaud Amar
I'd like my application to remain in the background and still running when I switch to another application. Right now, whenever I tap the home button, my application simply exits. Do you know if there is a way to make it still resident in memory even when the user is switching to another app ? T

RE: Application that remains in the background

2001-10-30 Thread Gavin Maxwell
Why don't you load and lock your patches into memory? Afterall, that's basically what HM does anyway. As long as the trap dispatcher can get to your patches when a routine is called you will be fine. You just have your patches in a seperate CODE resource that can be seperately loaded as required.

RE: Application that remains in the background

2001-10-30 Thread Renaud Amar
That sounds interesting ! How do you lock a patch into memory ? Is there a special function for that ? Also, I'm not super familiar with patches, so I don't want to assume stupid things. But right now my recognition code is part of my application, it's not in the patched function itself. I have

RE: Application that remains in the background

2001-10-30 Thread A Lurker
--- Renaud Amar wrote: > That sounds interesting ! > How do you lock a patch into memory ? > Is there a special function for that ? > > Also, I'm not super familiar with patches, > so ... I find this whole thread frightening. It's not a good idea to try to install your own patch without coopera

Re: Date, date , date and date problem

2001-10-30 Thread Chris Tutty
"Vini P" <[EMAIL PROTECTED]> wrote > WORD day = 12; > WORD month = 12; > WORD year = 2001; > > DateType date; > date.dat = SyncHHToHostWord(day); > date.month = SyncHHToHostWord (month); > date.year = SyncHHToHostWord (year); > Well, I don't do a lot of hotsync stuff so I'm a bit confused as to wh

RE: Application that remains in the background

2001-10-30 Thread Gavin Maxwell
MemHandleLock! :) You could either include all your requisite code in the CODE resource that you lock down, or else use a shared library. There is quite a bit of stuff (caveats, gotchas, warnings etc! :) )in the Knowledge Base on patching traps - I'd suggest you take a look in there to get up to

RE: Application that remains in the background

2001-10-30 Thread Gavin Maxwell
Yup, you're right - and I know there are all manner of warnings of compatibility etc in the archives... hence me directing him towards them... :) Telling people "don't do that" is a great way to get people offside, and they'll go do it anyway - without your input. Gavin. -Original Message--

Re: Please help me out. I have to get this done today

2001-10-30 Thread Essell
Hi Johnathan, I'm really curious to know about your background .. if you don't mind me asking. Like what do you do .. what exactly is your position .. what kind of company you work for .. how much you get paid .. -- For information on using the Palm Developer Forums, or to unsubscribe, pleas

CodeWarrior version error's

2001-10-30 Thread Venkata Tumati
Hi, I have a program that adds an email to the outbox of imessenger of palmVIIx . The program works in CodeWarrior 7, but when I run the same program in codewarrior lite build 4.01 it gives 100 errors, What should I do, I dont have the full versions of code warrior. Is there something I need to do

Re: Date, date , date and date problem

2001-10-30 Thread Vini P
Hi, Thanks for your reply. This is the code which I am using. Still I am getting wrong dates after sync on palm. I am able to sync data from palm to pc. For pc to palm sync I am reading data from text file, and for every record the date is diff.. I am reading date from the text file and storing