Re: Need Your Help ("chunk overed lock" Problem)

2002-03-29 Thread V...i...K...a...S
This error comes if u r locking the same locked handle or ptr several times. There is a lock count which is incremented every time u lock and decremented everytime u unlock.Check out u r code for the same. Regerds , Vikas - Original Message - From: shailesh phalle <[EMAIL PROTECTED]> To: P

Need Your Help ("chunk overed lock" Problem)

2002-03-29 Thread shailesh phalle
Hi!! I have problem with Memory in my programme As i told you last time that I read record from database file & display it user. The Problem occur when I display view the record 5-6 times. I got the error of 'chunk overed-lock' I don't know how this error occured because i do

String manipulations

2002-03-29 Thread V...i...K...a...S
Hello All, I guess this problem everybody might have faced. I stroed records in the database as a Char *; Hence on quering the database i get a char * string as "V0001~VIKAS" Now I want to split up this string into 2 removing the '~' seperator. I have tried a lot of ways but am unsuccessful. Can

Re: FrmReturnToForm(0) crash

2002-03-29 Thread Jason Freund
I just wanted to add a little more information to my problem description above. 1) Substituting my ReturnAndUpdateLastForm() routine with FrmReturnToForm() does not fix my problem 2) Substituting my DmDeleteRecord with any other similar function (Remove, Detatch, etc) does not fix the problem 3

FrmReturnToForm(0) crash

2002-03-29 Thread Jason Freund
Hi, In pose, I'm getting an error: "App just read from memory location 0x, which is in the storage heap..." on the line: "FrmReturnToForm(0);" which should just return to the last form in the list. My problem is that line used to work fine until I added one line to my code. The old, work

Palm i705: Getting Fatal error when connect to debug.

2002-03-29 Thread Mark Andrews
Hi, I am getting a fatal exception error every time I connect to my Palm i705 using any debug application. I am have tried both software and manual methods of setting the palm in console mode and get the same result. I am running the latest OS update for the i705, Windows ME and using the USB

Palm i705: Getting Fatal error when connect to debug.

2002-03-29 Thread Mark Andrews
Hi, I am getting a fatal exception error every time I connect to my Palm i705 using any debug application. I am have tried both software and manual methods of setting the palm in console mode and get the same result. I am running the latest OS update for the i705, Windows ME and using the USB cr

RE: beam issues

2002-03-29 Thread Danny Epstein
Hi Ted. > If the user removes their palm before the beaming > completes, a modal dialog comes up telling the user "Beam > Interrupted. Ensure handhelds are aligned and within range." The "Beam interrupted" message is, once again, not actually an alert; it's just the Progress Manager. This messa

RE: .r in pilrc and and question about loading libraries

2002-03-29 Thread Danny Epstein
> I have noticed that in my code(inherited from somebody) that there is a > syslibopen call that uses a name.lib (noting the .), but the actual DB on > the terminal is namelib(without the .). I assume you're referring to SysLibFind. This API takes a shared library name as an argument. This name n

Re: UIAppShell(unknown version)

2002-03-29 Thread Hal Mueller
You probably have a trashed pointer, or are doing something bogus with a MemHandle. Run your program under the debugger and find out where it's crashing. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: Error checking

2002-03-29 Thread Danny Epstein
> Also, using DmQueryRecord does not mark the record as > busy (it is read-only), so there is no need to DmReleaseRecord (in other > words you should not do this). You _shouldn't_ write to a record using a handle you get from DmQueryRecord, but there's actually nothing preventing you from doing

Re: Add dynamicaly a line in a list

2002-03-29 Thread Ryan Bradley
I had a similar issue which needed to read from a palm file and populate the list accordingly. You may want to check into the book "Palm OS Programming: The Developers Guide 2nd Edition" by Neil Rhodes & Julie McKeehan, published by O'Reilly. This book gives two ways of doing what you are looking

Re: Setting the Insertion point

2002-03-29 Thread Matt Disher (TiBook)
Yeah that's sort of what I meant, what I did was tried to do it prior to FrmDrawForm and it wasn't happnin. It is now :) thx -- Matt Disher [EMAIL PROTECTED] > From: Joe <[EMAIL PROTECTED]> > Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]> > Date: Tue, 26 Mar 2002 07:54:58 -0800 (PST) >

UIAppShell(unknown version)

2002-03-29 Thread Low Pui Kuen
Hi, I have this UIAppShell just reading from location 0x00... causing a bus error. I have browsed through the archive but still could not figure how it caused it. Can anyone explain what cause this? I could get this problem out for a long time, please help. Low Pui Kuen

Knowledge base ?

2002-03-29 Thread Matt Disher (TiBook)
Any idea when we'll get to see the knowledge base again ? I'm looking for some Sony Sample code. Yes, I've signed up for the Sony dev program (twice now) and still don't have access :/ Some google searches turn up articles in the kb that I'd like to see. I'm just looking for a 'hello' world ty

RE: Hotsync Sony Clié on a Mac?

2002-03-29 Thread Ben Combee
In article <82033@palm-dev-forum>, [EMAIL PROTECTED] says... > > > I'm thinking of getting a Sony Clié. I see that they don't officially > > support the Mac. Can it still Hotsync using Palm's desktop sw? Are > > there any problems using it in debug mode from Codewarrior? > > I would be surpris

RE: Symbol Printer

2002-03-29 Thread Sailesh Chaudhary
Hello Roger Oneil printer is not providing any sample codes for their printer.I asked them twice but they only provide the documentation. thanks shailesh -Original Message- From: Stringer [mailto:[EMAIL PROTECTED]] Sent: Friday, March 29, 2002 5:51 AM To: Palm Developer Forum Subject: R

RE: Linking Error in shared Library

2002-03-29 Thread Borislav Kolev
In case you haven't figured it out yet, this is because you have globals somewhere in your static library. Look for any variable declarations outside program functions and check to see if you have instructed CW to place and refer to strings and constant variables in the code segment. - bobby --

RE: can i use 2 custom glyph files for a text field at the same t ime?also pls solve errors-"field object overlocked"&"invalid memhandle" .

2002-03-29 Thread Borislav Kolev
Why do you have to copy a text to a separate field? Obtaining field pointer via FldGetTextPtr() should be quite enough for a quick peek at its last character (don't forget it can return NULL!). Furthermore, you can just cache the input into your own buffer - depending on how you write your locali

.r in pilrc and and question about loading libraries

2002-03-29 Thread Lance Gregory
I thank you all for your responses on the .r in pilrc. I used Heather's suggestion and it worked great. BTW I have CodeWarrior 6. When I started programming PalmOS we were using CodeWarrior 4. We moved to 5 and then to 6, but there always seemed to be some issues with these environments. So my com

RE: Form that called FrmPopupForm

2002-03-29 Thread Borislav Kolev
Hi Tom! I do not think there is an official (and therefore compatible) way of doing it, although one may find workarounds if they peek in the PalmOS source. However, I would strongly suggest that you do support the internal program state instead of relying on what's the form underneath. After all

can i use 2 custom glyph files for a text field at the same time?also pls solve errors-"field object overlocked"&"invalid memhandle" .

2002-03-29 Thread siddharth saxena
hi group, how do u do? i am working on a project "localisation of palm". i am using gnu-prc tools 2.1 and sdk 4.0 i am basically developing hindi graffiti and a hindi softkeyboard. for the purpose i am creating custom glyphs and adding the same to my code. in hindi there are many exceptions.like c

RE: Hotsync Sony Clie on a Mac?

2002-03-29 Thread Borislav Kolev
>I'm thinking of getting a Sony Clié. I see that they don't officially >support the Mac. Can it still Hotsync using Palm's desktop sw? Are >there any problems using it in debug mode from Codewarrior? Check out www.markspace.com - bobby -- For information on using the Palm Developer Forums, or

Form that called FrmPopupForm

2002-03-29 Thread Thomas Ward
Hi, I have a modal form that I display via FrmPopupForm from two different underlying forms. I want the popped-up form to either show or hide a specific button, based on which of the two forms is beneath it. To do that, I need to know the form ID of the underlying form, so that I can do something

Re: prc-tools (Testing?)

2002-03-29 Thread Mike Davis
> On Thu, Mar 28, 2002 at 09:09:23AM -0800, Mike Davis wrote: > > It compiles just fine but apparently in the linking process it can't > > find the SDK. I had the same problem when my IDE tried to build an > > application. Pass 1 worked fine but pass 2 failed to find the SDK, > > with the same e

Re: prc-tools (Testing?)

2002-03-29 Thread Mike Davis
> In particular, "other development material" is NOT intended to include > the prc-tools binary itself, because that does not need to be read or > accessed by a human. > > The next sentence speaks of header files and human accessibility, > which is something of a clue. And in fact to date it ha

RE: Hotsync Sony Clié on a Mac?

2002-03-29 Thread Heather Tufts
> I'm thinking of getting a Sony Clié. I see that they don't officially > support the Mac. Can it still Hotsync using Palm's desktop sw? Are > there any problems using it in debug mode from Codewarrior? I would be surprised if the Clie would sync on the Mac with the Palm desktop (I even had di

RE: .r file from pilrc in CodeWarrior

2002-03-29 Thread Heather Tufts
> Heather suggests one way to the get Rez mapping. A quicker > way is to > go the File Mappings pref and hit the "Factory Settings" > button. That > should reset the mappings to their default state, which includes Rez > support. Assuming you're using version 8. Setting the mapping manuall

Hotsync Sony Clié on a Mac?

2002-03-29 Thread burkml
Hello, I'm thinking of getting a Sony Clié. I see that they don't officially support the Mac. Can it still Hotsync using Palm's desktop sw? Are there any problems using it in debug mode from Codewarrior? Thanks, Michael -- -- For information on using the Palm Developer Forums, or to unsubscribe

RE:Bitmap Conduit

2002-03-29 Thread Stringer
>Subject: Bitmap Conduit >From: cpssband cpssband <[EMAIL PROTECTED]> >Date: Thu, 28 Mar 2002 00:29:35 -0800 (PST) >Hi, everybody: >anybody know where i can find a conduit wizard to >upload my bitmap signature to my Interbase database ? >i tried to use a lot of conduit wizard however, none >of the

RE:Symbol Printer

2002-03-29 Thread Stringer
>Subject: Symbol Printer >From: Sailesh Chaudhary <[EMAIL PROTECTED]> >Date: Thu, 28 Mar 2002 16:24:41 -0800 >Have any body written the code for Symbol Oneil printer for >printing the graphics? Check with O'Neil.. It is their printer, they should provide you with either sample code or su

Re: Dialog form with timeout

2002-03-29 Thread Georgi Kashev
Setup an event handler for this dialog like this: FormPtr dialog = FrmInitForm(YourForm); FrmSetEventHandler(dialog , YourFormHandleEvent); FrmDoDialog(dialog ); FrmDeleteForm(dialog ); Boolean YourFormHandleEvent(EventPtr eventP) { Boolean handled = false; FormPtr

Power-on Password

2002-03-29 Thread Kevin
Is there a way to determine whether the system password has been set to trigger at power-on? I see that you can determine whether a password is set using PwdExists( ) but that would return true regardless of whether its set to trigger on Power-on or never at all. Kevin -- For information on

Re: prc-tools (Testing?)

2002-03-29 Thread John Marshall
On Thu, Mar 28, 2002 at 09:09:23AM -0800, Mike Davis wrote: > It compiles just fine but apparently in the linking process it can't > find the SDK. I had the same problem when my IDE tried to build an > application. Pass 1 worked fine but pass 2 failed to find the SDK, > with the same error li

Re: Palm code resource > 64K

2002-03-29 Thread Aaron Ardiri
On Thu, 28 Mar 2002, Ben Combee wrote: > The __DummyStartup__ code at the beginning of code segments was added to > allow the entry point for a segment to be located anywhere in the > segment, not just at the start. The stack pushes you're seeing are the > first half of a far jump, followed by th

More C++ weirdness (was: Problem with GCC and C++ 'new' operator)

2002-03-29 Thread Igor Siemienowicz
Hello everyone again! :-) > I'm developing an app in C++ with PRC tools.5. I have an inheritance > hierarchy that works fine until I add a third inherited class. Then, when I > try to use 'new' with one of the derived classes, I get an 'invalid opcode' > from the emulator. Done some more poking

Re: MemPtr Problem

2002-03-29 Thread Edmond
Databytes is about 2k to 3k. But i have free it in exit the routine .How i can fixed this problem I put some send data command before this commands and i check in hyperterminal of my pc. So i know it. "Joe" <[EMAIL PROTECTED]> ? news:81989@palm-dev-forum... > > --- Edmond <[EMAIL PROTECTED]> w

Re: Urgent!!! prc-tools problem

2002-03-29 Thread Low Pui Kuen
>From: "phil" <[EMAIL PROTECTED]> >Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]> >To: "Palm Developer Forum" <[EMAIL PROTECTED]> >Subject: Re: Urgent!!! prc-tools problem >Date: Fri, 29 Mar 2002 11:10:28 +0100 > >I'm afraid you must declare your application with multisegment. > But my a

Re: Urgent!!! prc-tools problem

2002-03-29 Thread phil
I'm afraid you must declare your application with multisegment. "Low Pui Kuen" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL PROTECTED] > > Hi, > > Does anyone knows how to solve this error? Thank in advance > > > /prc-tools/H-i586-cygwin32/m68k-palmos/lib/libcrt.a(gdbstub.o)(.text+0x3

Urgent!!! prc-tools problem

2002-03-29 Thread Low Pui Kuen
Hi, Does anyone knows how to solve this error? Thank in advance /prc-tools/H-i586-cygwin32/m68k-palmos/lib/libcrt.a(gdbstub.o)(.text+0x3c):gdbstub.c: relocation truncated to fit: DISP16 start collect2: ld returned 1 exit status make: *** [Debug/NPET] Error 1 --- Make return

Re: FrmCustomAlert and hard-keys

2002-03-29 Thread Georgi Kashev
Try this: KeySetMask(keyBitHard1 & keyBitHard2 & keyBitHard3 & keyBitHard4); FrmCustomAlert(/*someting*/); KeySetMask(0); Georgi Kashev WebVisia - Original Message - From: "Christophe HOCMAN" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTE

Dialog form with timeout

2002-03-29 Thread phil
Hi all, I would like know the best way to display a dialog form and close it after 5 seconds if no response is done. Any ideas ? Philippe ROSSI www.peekpocket.com Mail : [EMAIL PROTECTED] -- For information on u