Re: Stack trace is there any way to get one?

2001-11-16 Thread Ben Combee
"Keith Rollin" <[EMAIL PROTECTED]> wrote in message news:68218@palm-dev-forum... > > At 5:15 PM -0800 11/16/01, Keith Rollin wrote: > >At 5:09 PM -0800 11/16/01, DavidK wrote: > >>Is there any way to get a stack trace from a crashed app? I have a crash > >>that is happening only when it is receivi

Re: TblSetLoadProcedure() vs TblSetLoadProcedure()

2001-11-16 Thread Joe Programmer
--- Todd Cary wrote: > I am not certain as when to use > TblSetCustomDrawProcedure() and > TblSetLoadProcedure(). It appears that > if one is placing text into a table one > can use TblSetLoadProcedure(); however, > the DB demo uses TblSetCustomDrawProcedure(). > > Am I missing something here?

Re: Weird casting problems

2001-11-16 Thread Joe Programmer
--- Mike Montalvo wrote: > The following code compiled fine using the 3.1 SDK. > > Handle hErrorStringsRsrc; > ... > hErrorStringsRsrc = (char**)DmGetResource('tSTL', > ErrorCodesStringList); // get the resource > ... > What the heck is an _opaque*? Basically, it means "you're not supposed to lo

Re: Weird casting problems

2001-11-16 Thread John Marshall
On Fri, Nov 16, 2001 at 08:14:02PM -0500, Mike Montalvo wrote: > Handle hErrorStringsRsrc; > Handle hErrorStringsRsrcArray; > Handle pErrorStringRsrcArray; One of these things is not like the other ones... > pErrorStringRsrcArray = (char**)MemHandleLock(hErrorStringsRsrcArray); MemHandleLock re

When to find Content-Length for an http response usin INetLib

2001-11-16 Thread news.palmos.com
Hi, I have been trying to read the Content-Length http response header using INetLibSockHTTPAttrGet( ) method. Unfortunately it always returns 0. I read the whole response successfully but instead of making a call to INetLibSockHTTPAttrGet( ) for every INet event I am still get 0 returned every

Re: Diary working report on 16/11

2001-11-16 Thread Keith Ko
Sorry for wrong posting :( "Keith Ko" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó news:68222@palm-dev-forum... > > Dr. KF. Tsang > > Here is my working report on 16/11 > > 1) work on the function for security with Raymond ma. > 2) test and debug the function of air-conditioner. > 3) work on demo broad with Ch

RE: Stack trace is there any way to get one?

2001-11-16 Thread Danny Epstein
> Can one write to the hotsync log from the palm pilot. See http://www.escribe.com/computing/pcpqa/m44694.html DlkSetLogEntry adds to the device's HotSync log. It doesn't affect the desktop's log. - Danny -- For information on using the Palm Developer Forums, or to unsubscribe, please see htt

Diary working report on 16/11

2001-11-16 Thread Keith Ko
Dr. KF. Tsang Here is my working report on 16/11 1) work on the function for security with Raymond ma. 2) test and debug the function of air-conditioner. 3) work on demo broad with Chi Best Regards, Keith -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Stack trace is there any way to get one?

2001-11-16 Thread DavidK
Can one write to the hotsync log from the palm pilot. In my palm pilot book it says to use LogAddEntry from the conduit on the PC, but how does one add to the hotsync log on the Palm? Also, what determines which entried go into the palm, which into the PC and which goes to both? Thanks in advan

Re: Stack trace is there any way to get one?

2001-11-16 Thread Keith Rollin
At 5:15 PM -0800 11/16/01, Keith Rollin wrote: >At 5:09 PM -0800 11/16/01, DavidK wrote: >>Is there any way to get a stack trace from a crashed app? I have a crash >>that is happening only when it is receiving data from the IR port. >> >>What should I do to debug it? > >What's wrong with using a d

RE: Stack trace is there any way to get one?

2001-11-16 Thread Danny Epstein
> Is there any way to get a stack trace from a crashed app? That depends on what you mean by "crashed". :) If you get a fatal alert on a debug ROM, you can put the Palm in the cradle, run PalmDebugger, tell it which serial port you're using and set the baud rate to 56K, and then hit the Debug but

Re: Stack trace is there any way to get one?

2001-11-16 Thread Keith Rollin
At 5:09 PM -0800 11/16/01, DavidK wrote: >Is there any way to get a stack trace from a crashed app? I have a crash >that is happening only when it is receiving data from the IR port. > >What should I do to debug it? What's wrong with using a debugger? -- Keith -- For information on using the P

Weird casting problems

2001-11-16 Thread Mike Montalvo
The following code compiled fine using the 3.1 SDK. Handle hErrorStringsRsrc; Handle hErrorStringsRsrcArray; Handle pErrorStringRsrcArray; int len; hErrorStringsRsrc = (char**)DmGetResource('tSTL', ErrorCodesStringList); // get the resource StrListPtr ErrorStringsPtr = (StrListPtr)MemHandleLoc

Stack trace is there any way to get one?

2001-11-16 Thread DavidK
Is there any way to get a stack trace from a crashed app? I have a crash that is happening only when it is receiving data from the IR port. What should I do to debug it? Thanks in advance, David -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www

RE: FrmCustomAlert in Shared Library?

2001-11-16 Thread Danny Epstein
> DmOpenRef db = DmOpenDatabase(0, id, dmModeReadOnly); > FrmAlert(EvaluationAlert); > ... > Note, that there must be no ID conflict with main application, i.e. > EvaluationAlert must have a unique resource ID. Your DmOpenRef will be first in the list of open databases, so it'll be searched first

Re: FrmCustomAlert in Shared Library?

2001-11-16 Thread Eugene Mayevski
> I am writing a shared library and would like it to display a custom alert. > I need to provide an alert resource to FrmCustomAlert, but shared libraries > may not contain resources as far as I understand. > The shared library I am writing contains common functionality needed by a > suite of appl

TblSetLoadProcedure() vs TblSetLoadProcedure()

2001-11-16 Thread Todd Cary
I am not certain as when to use TblSetCustomDrawProcedure() and TblSetLoadProcedure(). It appears that if one is placing text into a table one can use TblSetLoadProcedure(); however, the DB demo uses TblSetCustomDrawProcedure(). Am I missing something here? Todd -- Todd Cary Ariste Software

Re: gdb "Too many break points" problem

2001-11-16 Thread [EMAIL PROTECTED]
Should be an easy one: Breakpoints are stored in the Emulator, and will be saved in a session-file when saving sessions in the Emulator. Only 5 breakpoints are allowed in there (I think, correct me if I'm wrong). You'd probably solve your problem by: a) Creating a new session-file in the Emulato

Re: prc-tools on www.palmos.com

2001-11-16 Thread [EMAIL PROTECTED]
Yes it does -- Christian Falch.net DeveloperStudio for Palm OS "Linke, Andreas" <[EMAIL PROTECTED]> wrote in message news:68104@palm-dev-forum... > > > From: John Marshall <[EMAIL PROTECTED]> > > ... > > Perhaps someone from Palm can explain how it aids new developers for > >

Palm OS® and ARM: Syncup Invitation

2001-11-16 Thread Amy Riha
Palm OS® and ARM: Syncup Invitation Palm, Inc is pleased to extend an open invitation for developers to attend one of four upcoming half-day events presented from December 3-12, 2001 in Santa Clara, Boston, and Tokyo. We'll share technical details about the upcoming ARM-based Palm OS release, p

RE: FrmCustomAlert in Shared Library?

2001-11-16 Thread Danny Epstein
> I am writing a shared library and would like it to display a custom alert. > I need to provide an alert resource to FrmCustomAlert, but shared libraries > may not contain resources as far as I understand. They can contain resources, but the database isn't opened and closed automatically, so you

RE: FrmCustomAlert in Shared Library?

2001-11-16 Thread Avilla, Dane
This is a lame way to do it, but I've run across the same problem and haven't come upon a better solution. In a debug build of your lib, you could require any app that will use your shared lib to init your library by calling a lib-defined init function which gets passed a valid alert ID. If the

FrmCustomAlert in Shared Library?

2001-11-16 Thread Eric W. Sirko
I am writing a shared library and would like it to display a custom alert. I need to provide an alert resource to FrmCustomAlert, but shared libraries may not contain resources as far as I understand. The shared library I am writing contains common functionality needed by a suite of applications.

Re: Palm runtime tools.

2001-11-16 Thread Mark Ginsberg
"Joe Programmer" <[EMAIL PROTECTED]> wrote in message news:68014@palm-dev-forum... > > --- "Palm" wrote: > > I beg to differ with you on this. I don't > > think limited memory or lack of multitasking > > has anything to do with the lack of > > components. I think common components would > > actua

Re: XModem on Palm????

2001-11-16 Thread Gary Gorsline
Jay, XModem is a very simple protocol, but has some variations. Are you using XModem Checksum, or CRC and is the block size 256 or 1024 byes? Gary Gorsline Easy Business Software 5279 Ehrlich Road http://www.ezbizware.com/ Tampa, Florida 33624 =

Re: XModem on Palm????

2001-11-16 Thread Dave Lippincott
XModem is open source. Find a book that outlines the protocol or some code on the web you can use. Shouldn't be too difficult to adapt it to your needs. A search for 'xmodem specification' should get you going. - Original Message - From: "Jay" <[EMAIL PROTECTED]> Newsgroups: palm-dev-

Re: Table.c currentRow violated contraint.

2001-11-16 Thread Kirk A.Markovitz
Thanks a bunch. That did it. Robert McKenzie wrote: > TblInsertRow does not actually **INCREASE** the number of rows in the table. > Instead, the last row is tossed into the great bit bucket in the sky as the > new row is inserted. In your case, the last row was the "current row" -- > i.e. was

Re: Constructor 1.6 bitmap bugs

2001-11-16 Thread Mark A. Peters
So are you saying that the bitmap editor isn't guaranteed to work unless it is referenced from a family? If so, it seems rather unfriendly to force people to create the family then the bitmaps, rather than the bitmaps then the family. I'll try it though and see what happens. Mark Peters "Heath

Re: tTTL Resource

2001-11-16 Thread Ralph Krausse
Thanks all, I had more than one resource file and there were dups in that.. All fixed! thanks! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: Black color in Constructor uses index 230 instead of 255

2001-11-16 Thread Aaron Ardiri
On Fri, 16 Nov 2001, Boris Perron wrote: > Is there a way to create a bitmap in the constructor > and use black as index 255 instead of index 230. > > The default color table doesn't use 230 to 255 (there > are all the same black 0-0-0) but if I change the > color table and want to display my ress

RE: Suppress "Beam Receive" confirmation dialog

2001-11-16 Thread Danny Epstein
> For days I have tried to suppress the confirmation > alert, which comes up after receiving a beamed > application/addresses/etc. If you only want to prevent the "do you wanna accept" dialog from appearing in your own apps, you can handle sysAppLaunchCmdExgAskUser and set the result parameter to

Black color in Constructor uses index 230 instead of 255

2001-11-16 Thread Boris Perron
Is there a way to create a bitmap in the constructor and use black as index 255 instead of index 230. The default color table doesn't use 230 to 255 (there are all the same black 0-0-0) but if I change the color table and want to display my ressource bitmap, the black will be new color set to in

RE: how to combine a couple of prc's into a single prc and then o n the palm device separate them

2001-11-16 Thread Danny Epstein
My most recent post on the subject: http://www.escribe.com/computing/pcpqa/m49069.html You can use the source for ZBoxZ if you conform to the GPL license. - Danny -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums

RE: Re: screen refreshig messes up menu when selected

2001-11-16 Thread Evan Wise
well I can't give away all my secrets or I would be out of a job now wouldn't I!?! ;) E/. To make it less "hackish", just get, save somewhere and then use the bounds Rect of your regular output window to compare against; this will work even if the main window is 320x320 and/or etc. Ron Nich

Re: Drawing functions...

2001-11-16 Thread Ezekiel Sanborndeasis
I think color deal would be good to look at, but simple circle example is: //draw red circle IndexedColorType redIndex, oldColorIndex; RGBColorType rgb; RectangleType rect; //set the rgb to red rgb.r=255; rgb.g=0; rgb.b=0; //find the index that matches redIndex = WinRGBToIndex(&rgb); oldColorIn

Re: Serial port in 4.0 and ? about 3.5.3 update

2001-11-16 Thread Jim Schram
At 8:02 AM -0500 2001/11/16, Mike Montalvo wrote: >Just for the archives, the old serial manager does not work in Sony's >running 4.0. You must use the new serial manager. That sounds like a bug. The serial compatibility library simply calls through to the new serial manager, so everything *shou

RE: how to combine a couple of prc's into a single prc and then o n the palm device separate them

2001-11-16 Thread Kevin OKeefe
Here's a try... You could possibly build the prc in a such a way that each of your sub-apps is a separate segment. Additionally you would have to ensure that all the resources in all of the applications have unique ids (App 1 1000-1999, App 2 2000-2999, etc.). The difficult part of this is perh

XModem on Palm????

2001-11-16 Thread Jay
Hello, My company has a device that is used to collect data and then the data in downloaded to the PC using XModem protocols. Is it possible to use XModem protocols on the PALM?? I would like to be able to use the PALM to download the data from the meter and store it until I can hotsync it to

Re: tTTL Resource?

2001-11-16 Thread Ben Combee
"Ralph Krausse" <[EMAIL PROTECTED]> wrote in message news:68129@palm-dev-forum... > I can't find info on this resource and the linker is bitching cause I > have it and a form defined as the same ID. I can't find out what it is > to change it. Ralph, the 'tTTL' resource is your form's title. What

Re: SysLibLoad: Maximum number = 12 ?

2001-11-16 Thread Ben Combee
"Karsten Lehnart" <[EMAIL PROTECTED]> wrote in message news:68118@palm-dev-forum... > > > Does anyone know if there is a limitation of the number of shared libraries > to load with SysLibLoad and if so where to find some documents about that? > It seems that the maximum number of loadable shared l

Re: tTTL Resource?

2001-11-16 Thread Richard Bell
Take a look at the header file to find out which resources are in conflict. - Original Message - From: "Ralph Krausse" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Friday, November 16, 2001 9:32 AM Subject: tTTL Resource? I can't find info on this resource an

Problem downloading > 10K payload using INet library (modified INetLow sample)

2001-11-16 Thread Kamran Kundi
Hi, I have modified the INetLow sample program to make a request to URLs pointing to PRC files (usually > 20K). I am using a PalmVII device and I am experiencing strange behavior: * The speed is definitely slow but it connects and starts downloading. I am catching all INet events and I disp

RE: Constructor 1.6 bitmap bugs

2001-11-16 Thread Heather Tufts
> I wanted to create a color and a black & white bitmap that is 82 x 11 > pixels. I took a screen shot from the Emulator, used the > Windows "Paint" > program to copy a piece of the bitmap, created a constructor > bitmap using > ctrl-K, set the size, set the depth to 256 colors, used the > "Re

tTTL Resource?

2001-11-16 Thread Ralph Krausse
I can't find info on this resource and the linker is bitching cause I have it and a form defined as the same ID. I can't find out what it is to change it. Thanks Ralph Krausse -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/sup

Re: Recursive function and stack

2001-11-16 Thread Richard Bell
What you should do is use a non-recursive implementation of the tree navigation similar to the following code: DirListS * Stack[50]; Int16 AtStack; DirListS * AtDirList; AtStack=-1; AtDirList = Head; While (AtDirList->child != NULL && AtDirList->next !=Null && AtStack > -1) { // process AtDirL

Re: .prc naming in Info/Delete vs. Icon

2001-11-16 Thread Chris DiPierro
> What you wan't isn't possible with the standard launcher. It always > favors the icon name (as specified either by Constructor or your > APPLICATIONICONNAME resource). If its not there, it uses the database > name as a fallback, but you can't have both visible. Ok, no problem, just thought it

gdb "Too many break points" problem

2001-11-16 Thread Matt West
Hello I've been using gcc/prc-tools/gdb + pilrc happily for ages. But recently, I've been unable to debug my program properly. When I use gdb, it complains about "Too many break points, break point not installed". At first I thought it was because I'd fiddled with the makefile. I've gone back

Re: Recursive function and stack

2001-11-16 Thread Joe Programmer
--- Max Bian wrote: > > I am trying to do the evil things again > ... > My question is, how to figure out how much > stack is needed for each recursion in PalmOS? > Is that just the sum of all parameters > passed, all value returned and all local > variables? I don't know enough about the com

SysLibLoad: Maximum number = 12 ?

2001-11-16 Thread Karsten Lehnart
Does anyone know if there is a limitation of the number of shared libraries to load with SysLibLoad and if so where to find some documents about that? It seems that the maximum number of loadable shared libs is 12. Karsten Lehnart (Using Palm OS 3.5) -- For information on using the Palm

Re: Bad Port

2001-11-16 Thread Mike Montalvo
Forget it, I see 3.5 doesn't support "serPortCradleRS232Port". Using "serPortCradlePort" seems to work though. -Mike "Mike Montalvo" <[EMAIL PROTECTED]> wrote in message news:68110@palm-dev-forum... > > Why would I get a "Bad Port" error when trying to open the serial port on a > IIIc runni

Synchronizing table with DB

2001-11-16 Thread Todd Cary
After doing a sort of the records, I am not sure how to display the re-records the records in teh new order and how to re-sync the Repeat Buttons. Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://

Recursive function and stack

2001-11-16 Thread Max Bian
Hi. I am trying to do the evil things again--I need to build a list structure and then my function need to search through it for certain node. The node structure is like this: typedef struct DirListS{ UInt16 index; struct DirListS *child; struct DirListS *next; Boolean isDir;

Problem with VFSDirEntryEnumerate in TRGPro device

2001-11-16 Thread jaikant shukla
> Hi All Can any body help me for VFS API in TRGPro > > I am using VFSDirEntryEnumerate API to get the > directory listing of card. > > This works fine with other devices. > > In TRGPro I am enumerating a directory for files and > sub directories. This gives the list of all files > but >

Bad Port

2001-11-16 Thread Mike Montalvo
Why would I get a "Bad Port" error when trying to open the serial port on a IIIc running 3.5.0 using the following code: err = SrmOpen (serPortCradleRS232Port, 9600 , &gSerialRefNum); Thanks, -Mike -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://w

Serial port in 4.0 and ? about 3.5.3 update

2001-11-16 Thread Mike Montalvo
Just for the archives, the old serial manager does not work in Sony's running 4.0. You must use the new serial manager. Can anyone tell me what changes were made to the serial manager in the 3.5.3 update? Thanks, Mike -- For information on using the Palm Developer Forums, or to unsubscribe,

Suppress "Beam Receive" confirmation dialog

2001-11-16 Thread Christian Decker
Hi, For days I have tried to suppress the confirmation alert, which comes up after receiving a beamed application/addresses/etc. It says that I have to confirm explicitly that I want to add the received data. This I want to avoid with an 'automatic OK'. Based on the BeamAlertHack (http://www.gizao

RE: prc-tools on www.palmos.com

2001-11-16 Thread Linke, Andreas
> From: John Marshall <[EMAIL PROTECTED]> > ... > Perhaps someone from Palm can explain how it aids new developers for > http://www.palmos.com/dev/tech/tools/gcc/ still to contain > prc-tools 2.0, > which is approximately two years old, buggy, and superseded > by the current > versions at http:/

Re: Epoc and symbianos

2001-11-16 Thread Shaikh Khurram Saghir
The Psion Series 5mx, Revo etc. were all based on EPOC Release 5 (ER5). The Ericsson R380 uses an entirely different GUI (the Ericsson Component Kit), along with a Unicode version of EPOC R5, also called as ER5u. ER5u has in turn evolved into the Generic Technology in Symbian OS Version 6.0, which

Epoc and symbianos

2001-11-16 Thread murali mohan vylur
How are Epoc and SymbianOS related? Are they one and the same or different ? _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- For information on using the Palm Developer Forums, or to unsubscribe, pl

Re: Conduit??

2001-11-16 Thread Jim Cooper
> I have to learn how to write a conduit now. > Should I use Java or C/C++. You don't have to use either. You can use Delphi (either using native components or COM), VB, or anything else that supports COM. Cheers, Jim Cooper _ Jim Cooper [EM

Re: TCP/IP file download

2001-11-16 Thread Jim Cooper
> I would like to download a PDB file directly onto my PDA via the internet. There are some libraries at www.astawireless.com that may help. Cheers, Jim Cooper _ Jim Cooper [EMAIL PROTECTED] Tabdee Ltd http://www.tabdee.ltd.uk TurboSync

Re: Mobilink Synchronize

2001-11-16 Thread Darren Franklin
This may not help but you said '...developed an App...'. Assuming you installed some sort of IDE for this, then it is possible that DLL's supporting the talking to your MS SQL Server are not installed on the other machines. If you are using ADO for talking to SQL, then these need to be installed

Re: screen refreshig messes up menu when selected

2001-11-16 Thread Ron Nicholson
To make it less "hackish", just get, save somewhere and then use the bounds Rect of your regular output window to compare against; this will work even if the main window is 320x320 and/or etc. Ron Nicholson Hotpaw -Original Message excerpt- Evan Wise wr