RE: FrmDoDialog...

2004-06-04 Thread Mihai Ciornei
I have a class named CDialog with this function: (B (Bint CDialog::DoDialog() (B{ (BASSERT(m_nThisFormID!=0) (B (Bm_nRetFrmId = -1; (Bm_nActivationMode = -1; //0 goto; 1 popup (B (B//m_nReturnFormID = 0; (B//FormType* pForm =

Re: FrmDoDialog...

2004-06-04 Thread Tim Kostka
This is a guess, but maybe setting the active form to the modal dialog before FrmDoDialog and not resetting the active form after it closes is causing a problem. You could try taking out FrmSetActiveForm all together as I don't see why it has to be active before FrmDoDialog. You can still call

Emulator / Simulator for Macintosh / MacOS X?

2004-06-04 Thread Peter Spam
I'd like to get cranking on development for my Treo 600, but so far, I have to test my app inside of VirtualPC, using PalmSim (Treo600Simulator), as there doesn't appear to be anything available. Is there a MacOS solution coming down the road? Thanks, Peter -- For information on using the

Re: Rendering HTML content

2004-06-04 Thread Aaron Ardiri
Isn't the real trick here scrolling the data? It doesn't seem too hard to parse an incoming string for html or your own tags, change the pen and draw using WinDrawChars, but scrolling, particularly a pixel at a time, would be tough, wouldn't it? Are there any examples on how to do that?

Re: Emulator / Simulator for Macintosh / MacOS X?

2004-06-04 Thread Ben Combee
At 02:09 AM 6/4/2004, you wrote: I'd like to get cranking on development for my Treo 600, but so far, I have to test my app inside of VirtualPC, using PalmSim (Treo600Simulator), as there doesn't appear to be anything available. Is there a MacOS solution coming down the road? While I don't

Installing NetLib

2004-06-04 Thread zze-URIA RECIO Pedro FTRD/DMR/ISS
The netFtrNumVersion returns an error; The SysLibFind call cannot find the NetLib? Is it possible that the NetLib is not installed in my Palm 5? How can I install it? Pedro URIA-RECIO RD Engineer - France Telecom RD (FTRD/DMR/SRS) Satellite Services and Networks Laboratory 38-40 rue du Général

RE: FrmDoDialog...

2004-06-04 Thread Mihai Ciornei
But if I take out FrmSetActiveForm, the new form can't initialize an edit control (for example) and I receive a fatal alert (Index out of range - referring to the edit control ID) Mihai Ciornei -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim

VFS driver bug?

2004-06-04 Thread Jan Slodicka
Hello I just made another strange experience with the card. Somehow we manage to produce a root level directory (/xx/) that acted as a link to the card root (/). When browsing, the directory showed the identical files/subdirs as the root - among them also itself. A clear recursion and all

Re: Netlib netErrSocketClosedByRemote

2004-06-04 Thread Philip Wilder
I just did a double check this morning. I can connect to the java server socket via standard C socket to either the loopback address of 127.0.0.1 or the address seen by the rest of the world (let's say 9.26.195.168). NetLib however is still being prickly and telling me netErrSocketClosedByRemote.

Conversion function codewarrior / pocketstudio(pascal)

2004-06-04 Thread Stefano Coluccia
I've to save an image with PalmPhoto api and I've an example in codewarrior but I'm writing an application with pocketstudio. I don't be able to convert this: // CODEWARRIOR typedef struct _ImageData { UInt16 *imgH; UInt32 offset; UInt16 rowBytes; Coord width; Coord height; }ImageData;

Re: Database write causes a reset.

2004-06-04 Thread Roger Stringer
Subject: Database write causes a reset. From: Peter Hamilton-Scott [EMAIL PROTECTED] Date: Thu, 03 Jun 2004 20:06:30 +0100 Guys, below is a procedure I call in my app. It works fine until it gets to the DmWrite at which point it cause a reset. I've basically copied the code from elsewhere and

Re: FrmDoDialog...

2004-06-04 Thread Matt Graham
Mihai Ciornei wrote: But if I take out FrmSetActiveForm, the new form can't initialize an edit control (for example) and I receive a fatal alert (Index out of range - referring to the edit control ID) I've found doing modal forms in PalmOS to be a pretty big pain. I'd suggest trying to

Re: FrmDoDialog...

2004-06-04 Thread Tim Kostka
Why does your form have to be active to initialize the controls? Regardless, you may try taking that statement out to see if it fixes the problem. Comment out code until it works and then you'll find your answer. -- Tim Kostka Mihai Ciornei [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: Conversion function codewarrior / pocketstudio(pascal)

2004-06-04 Thread Adrien Regimbald
Well, my Pascal is very rusty, but.. In your declaration of the ImageData structure type, shouldn't imgH be a pointer (imgH : ^UInt16)? If it's not supposed to be a pointer, where are you storing the image between callbacks? Also, in both algorithms, the swapping seems backwards. Right now it

Re: Emulator / Simulator for Macintosh / MacOS X?

2004-06-04 Thread Peter Spam
Ok, I'll be honest ... I was wishing POSE would work wih the Treo 600 ROMs :-) Although I remember reading a while ago that if you wanted to run Treo 600 on your computer, you need to get a PC (or VirtualPC). Anyways, the reason why I'm not happy with POSS on VirtualPC is this: I can install

RE: VFS driver bug?

2004-06-04 Thread Matthew Bevan
Sadly, this is a problem with the structure of the FAT12/16 format. The way the FAT (file allocation table) uses pointers to clusters allows for multiple 'links' to files or folders, including the root. This is an unsupported feature of the filesystem and can be used to great effect on devices

Re: Database write causes a reset.

2004-06-04 Thread Peter Hamilton-Scott
Roger I eventually got it to work. The code I presented was a scaled down version as sometimes you can have too much 'noise' when all you want to do is find a bug. I found another coding sample which was very different to the one I copied-and-pasted and tweaked and it was that which got me 90%

Re: Is it possible to use Palm 4.0 static libs in Cobalt

2004-06-04 Thread David Fedor
Is it possible to use static libraries of Palm 4.0 for PalmOS Cobalt..?? I have certain static libraries (.lib files) for Palm 4.0. There must be some problem of 68K and ARM processors. This should be fine; until you start recompiling to create ARM-native code, everything will still be 68k, and

Re: Help with debugging using palm os developer suite

2004-06-04 Thread David Fedor
I am trying to debug an application using palm os developer suite... Which version of PODS are you using? The one which was posted a few days ago? (If not, you should...) -David Fedor PalmSource, Inc. -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Installing NetLib

2004-06-04 Thread Matt Graham
zze-URIA RECIO Pedro FTRD/DMR/ISS wrote: The netFtrNumVersion returns an error; The SysLibFind call cannot find the NetLib? Is it possible that the NetLib is not installed in my Palm 5? How can I install it? A Palm V or a Palm w/ Palm OS 5? If Palm V, this might help you if you can find somewhere

Re: Installing NetLib

2004-06-04 Thread Ben Combee
At 01:11 PM 6/4/2004, you wrote: zze-URIA RECIO Pedro FTRD/DMR/ISS wrote: The netFtrNumVersion returns an error; The SysLibFind call cannot find the NetLib? Is it possible that the NetLib is not installed in my Palm 5? How can I install it? A Palm V or a Palm w/ Palm OS 5? If Palm V, this might

Re: Help with debugging using palm os developer suite

2004-06-04 Thread Keith Rollin
At 11:01 AM -0700 6/4/04, David Fedor wrote: I am trying to debug an application using palm os developer suite... Which version of PODS are you using? The one which was posted a few days ago? (If not, you should...) The error Mike reported was: At 5:54 AM -0500 5/30/04, Mike Greenberg wrote:

Do Simulators work in the Mac with VirtualPC

2004-06-04 Thread Angus Ng
Does anyone know if PalmOS 5 simulators would run properly with VirtualPC (Windows 2000 or Windows XP Pro) on MacOS 10.3, while debugging from CodeWarrior 9.3 also running within Virtual PC? Angus -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Installing NetLib

2004-06-04 Thread Laurens
zze-URIA RECIO Pedro FTRD/DMR/ISS wrote: The netFtrNumVersion returns an error; The SysLibFind call cannot find the NetLib? Is it possible that the NetLib is not installed in my Palm 5? Like Ben already said, NetLib should be available on all Palm OS 3.0+ devices. The library's name is Net.lib.

Floating point math support in PODS v1.0 alpha

2004-06-04 Thread Robert Hildinger
I'm trying to compile a PNOlet in PODS v1.0 alpha for an OS 5 target, and I'm having trouble with floating point support. The linker comes back with messages like the following: palink: error: (LINK0033) undefined symbol: (from NativeCode/ARMC1000/PNOMain.o) FlpDoubleToInt32 palink: error:

Re: Floating point math support in PODS v1.0 alpha

2004-06-04 Thread Ben Combee
At 04:28 PM 6/4/2004, you wrote: Are there no libraries included with PODS that provide the core math operators for double/floats, or have I just totally missed it? Yes, this is a limitation of PODS 1.0 alpha. We don't have FP support for PNOs now, but we are working on a solution for the

Re: Floating point math support in PODS v1.0 alpha

2004-06-04 Thread Robert Hildinger
Ben Combee [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At 04:28 PM 6/4/2004, you wrote: Are there no libraries included with PODS that provide the core math operators for double/floats, or have I just totally missed it? Yes, this is a limitation of PODS 1.0 alpha. We don't have

Re: Do Simulators work in the Mac with VirtualPC

2004-06-04 Thread jimrandomh
Angus Ng wrote: Does anyone know if PalmOS 5 simulators would run properly with VirtualPC (Windows 2000 or Windows XP Pro) on MacOS 10.3, while debugging from CodeWarrior 9.3 also running within Virtual PC? VirtualPC creates virtualized hardware, so that from the software's perspective it's the

0xFFFFFFF0 (68k) on Stack?

2004-06-04 Thread Keighley, Glenn
Does anyone know the significance of seeing 0xFFF0 (68k) on the call stack? I'm seeing this close to several crashes in an application and wondered if it was an indicator for any particular kind of error? Glenn [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or

Re: 0xFFFFFFF0 (68k) on Stack?

2004-06-04 Thread Ben Combee
At 05:30 PM 6/4/2004, you wrote: Does anyone know the significance of seeing 0xFFF0 (68k) on the call stack? I'm seeing this close to several crashes in an application and wondered if it was an indicator for any particular kind of error? This usually means that there's a call through PACE (the

Re: Floating point math support in PODS v1.0 alpha

2004-06-04 Thread Ben Combee
At 04:59 PM 6/4/2004, you wrote: Ben Combee [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At 04:28 PM 6/4/2004, you wrote: Are there no libraries included with PODS that provide the core math operators for double/floats, or have I just totally missed it? Yes, this is a limitation

Odd address problem with ErrTry

2004-06-04 Thread Eric Potter
I found a bug in my code, where in certian senarios, when i get to an ErrTry, it throws the following error: i:\banzai\arm\core\emul68k\src\emul68kcommon.c, Line:562, Odd address In most casses, the line of code executes fine, but I one case it blows up. I researched the archive and found some

ExgDBRead Trouble

2004-06-04 Thread Bradly J. Barton
I am having trouble using ExgDBRead... When I make the call (below), the error that is returned is dmNotValidRecord: sTempFilefile; file.fname = fname; file.curPos = 0; err = ExgDBRead(MyReadDBProc, MyDelDBProc, file, pDBID, 0, needReset, true); Here is the

Re: Emulator / Simulator for Macintosh / MacOS X?

2004-06-04 Thread Chris Tutty
From: Peter Spam [EMAIL PROTECTED] This means each build iteration is preceded by a hard reset Tap your stylus Very frustrating :-) I recall Ben mentioning a method to by-pass that welcome process. Can't remember what it was but the message will be in the forum archive. That'll at

Re: Emulator / Simulator for Macintosh / MacOS X?

2004-06-04 Thread Ben Combee
At 07:40 PM 6/4/2004, you wrote: From: Peter Spam [EMAIL PROTECTED] This means each build iteration is preceded by a hard reset Tap your stylus Very frustrating :-) I recall Ben mentioning a method to by-pass that welcome process. Can't remember what it was but the message will be in the