Re: Lengthy Exit Time

2002-05-16 Thread Matt Disher
Hrms.. Rebuilding the runtime libs made this go away ;) Now I'm totally confused. I don't have 3000 calls to anything in the profile anymore... -- Matt Disher [EMAIL PROTECTED] > From: Ben Combee <[EMAIL PROTECTED]> > Organization: Metrowerks > Reply-To: "Palm Developer Forum" <[EMAIL PROTE

Re: Lengthy Exit Time

2002-05-16 Thread Matt Disher
Yes expanded mode. My most recent discovery is this: on Palm Vx running 3.3 virtually NO delay Palm Vx running 4.1 about a 4 second delay on my 505 and Sony it's nearly 8 seconds from the time tap the home button to when i see the launcher. This has me curious about my color globals and stuff

Re: serial connection with m515

2002-05-16 Thread Ben Combee
In article <86433@palm-dev-forum>, [EMAIL PROTECTED] says... > I am new, so please don't laugh ... I haven't been able to debug to the > device. The emulator works great, but there seems to be a problem > connecting to the device. I have a Palm 515 and am trying to debug in > CodeWarrior 8. I was

Re: Lengthy Exit Time

2002-05-16 Thread Ben Combee
In article <86432@palm-dev-forum>, [EMAIL PROTECTED] says... > > I posted a while back and never got a response, so I shelved my problem for > now in hopes that it would mainfest itself differently or perhaps just go > away (wishful thinking). > > I now need to fix this. > > Basically my App ta

Limiting Popup Width

2002-05-16 Thread Wade Guthrie
I need to learn how to confine the size of a popup trigger. I've got a popup trigger on my form to the left of another GUI object. When the user selects an item off the list that goes with the trigger, I use CtlSetLabel to modify the trigger. If the selection is too big, I'd like to truncate it

Problem about sleep mode

2002-05-16 Thread Jason Wei
Dear all: I am a newbie in Palm OS programming. And I have a question to ask all experts. My problems is as follows. For some reason, I need to prevent Palm OS to go to sleep mode. Therefore, I register the sysNotifySleepRequestEvent and increase deferSleep when AP receive the sysAppLaunchCmdNo

Problem with NetLibSettingGet

2002-05-16 Thread Nihar Desai
Hi fellas I didnt get a reply to my last question. Hope I get it this time. I have to get the IP address of the host so i use NetLibSettingGet(..."HostName"... ) to get the host name and then NetLibGetHostByName() to get the host IP address. But NetLibSettingGet() gives an error which when displ

Re: Logging of Palm events

2002-05-16 Thread Chris Tutty
From: "Brad Myers" <[EMAIL PROTECTED]> > Does anyone know of a hack or other application that we can use for > doing detailed logging of the use of other applications? I need > millisecond timings of when and where each input event was. If it > included information about what application was runni

Re: Lengthy Exit Time & offscreen Windows

2002-05-16 Thread Matt Disher
OK, more info. I tried what Keith suggested and well, yes, the log fills up quickly and still makes little to no sense. I can't really tell when my app has left. Setting that asside, I'd done the brute force process of elimination. Started by commenting out my AppStop function line by line, or

Re: Pre Form Setup

2002-05-16 Thread Joe
--- Matt Disher <[EMAIL PROTECTED]> wrote: > In order to get through anything with debug roms I have > to move my FrmDrawForm in front of these tasks, which > normally I wouldn't do. > > my frmP comes from FrmGetActiveForm, so I thought this > was legit ? You can't reliably write to the scree

Re: Locating globals

2002-05-16 Thread Joe
--- Keith Rollin <[EMAIL PROTECTED]> wrote: > I'd use the Palm OS Emulator, so that when the access to the global > was made, you'd get a dialog offering to dump you in the debugger > right at the point the access was made. Thanks, Keith. Obviously, I omitted an important detail from my initia

Re: serial connection with m515

2002-05-16 Thread Dave Lippincott
Pose is real. Pose with a debug ROM will find more problems than debugging on the unit. - Original Message - From: "Fritzsching Michelle" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, May 16, 2002 5:02 PM Subject: Re: serial connection with m515 > T

Re: Lengthy Exit Time

2002-05-16 Thread Matt Disher
thanks, keith I'll give that a try. BTW here was my original post which probably didn't give enough info to interest anyone :0 http://groups.yahoo.com/group/palm-dev-forum/message/71711 By nothing happening POST my application AppExit function, I mean that I have NOT Altered anything from the S

Pre Form Setup

2002-05-16 Thread Matt Disher
O-Tay, What's the proper way to set up things like form title, etc, before the FrmDrawForm(frmP); call so that Debug roms don't bitch ? basically I don't want the those changes (like drawing/hiding stuff, drawing fancy lines, setting titles, to be seen by the user) In order to get through anythi

Re: Locating globals

2002-05-16 Thread Keith Rollin
At 1:45 PM -0700 5/16/02, Joe wrote: >This is kind of an open-ended question: > >If you had CW7 and the source code to an app that attempts to set a >global (somewhere in a huge blob of code you don't want to wade >through) so it crahes when it receives a custom launch code, what do >you think wou

Re: Lengthy Exit Time

2002-05-16 Thread Keith Rollin
At 3:43 PM -0400 5/16/02, Matt Disher wrote: >I posted a while back and never got a response I don't see any previous posting from you on this. "Drag and Drop Sample code" is the only posting I see you originating. >Basically my App takes for ever and a day to exit and get back to the >Launche

Re: palm database attributes

2002-05-16 Thread Keith Monahan
Joe, Thanks for the quick reply. It sure appears to me though that programmers should not messing around with these attributes to store arbitrary data. There might be good reasons to make changes to the attributes to cause the desired effect within the OS, but storing data is not one of them.

Re: serial connection with m515

2002-05-16 Thread Fritzsching Michelle
Thanks, but what do I do when I want to test for real? Dave Lippincott wrote: > > Unless you have some hardware you can only connect to the Palm I'd use Pose > to debug. > > - Original Message - > From: "Fritzsching Michelle" <[EMAIL PROTECTED]> > To: "Palm Developer Forum" <[EMAIL PROT

Re: Lengthy Exit Time

2002-05-16 Thread Matt Disher
Hrms, Same call chain, only the counts are higher w/o MemMgr Leak Checks turned off. functions: partial partial MemChunkFree partial SysAppExit unknown $000500A2 unknown $000507DC DmGet1Resource (2134 calls) DmFindRe

Re: NetLib Problem

2002-05-16 Thread Keith Rollin
TCP_MAXSEG is not supported by all desktop OSes (such as Windows, according to my source code comments), so if you're running this code under Poser, you might get that error code. Otherwise, you might want to clue us in to what device you're using, what version of the OS you're using, etc. --

Re: Lengthy Exit Time

2002-05-16 Thread Matt Disher
As in don't test for them ? Hrms.. I'll see if that makes the profile output different. But the delay is real, Error checking or not. -- Matt Disher [EMAIL PROTECTED] > From: Hal Mueller <[EMAIL PROTECTED]> > Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]> > Date: Thu, 16 May 2002 13:4

Re: Lengthy Exit Time

2002-05-16 Thread Matt Disher
Not real sure what debugging to a device would offer me. I've used both DebugRoms and Non-Debug Roms in Poser and the Profiling poser. It's definatly slow on exit. Tollerable on the faster devices but painful and untollerable on like say a V or Vx. I'm working through some things now. I suspe

Re: serial connection with m515

2002-05-16 Thread Dave Lippincott
Unless you have some hardware you can only connect to the Palm I'd use Pose to debug. - Original Message - From: "Fritzsching Michelle" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, May 16, 2002 3:56 PM Subject: serial connection with m515 > Hi, > >

Locating globals

2002-05-16 Thread Joe
This is kind of an open-ended question: If you had CW7 and the source code to an app that attempts to set a global (somewhere in a huge blob of code you don't want to wade through) so it crahes when it receives a custom launch code, what do you think would be the fastest way to locate the offendi

Re: Lengthy Exit Time

2002-05-16 Thread Hal Mueller
What happens if you disable "MemMgr leaks" in the POSE Debugging Preferences? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Logging of Palm events

2002-05-16 Thread Brad Myers
Does anyone know of a hack or other application that we can use for doing detailed logging of the use of other applications? I need millisecond timings of when and where each input event was. If it included information about what application was running and what Palm form and control was under the

Re: palm database attributes

2002-05-16 Thread Joe
--- Keith Monahan <[EMAIL PROTECTED]> wrote: > I've been trying to decode the attributes field of the > palm database header. > > I'm looking at > http://www.palmos.com/dev/support/docs/fileformats/Intro.html#939653 > which shows the format of the palm database header. > > It shows the offset f

Re: Lengthy Exit Time

2002-05-16 Thread Fritzsching Michelle
Have you tried debugging to a device? What does it do then? -Michelle Matt Disher wrote: > > I posted a while back and never got a response, so I shelved my problem for > now in hopes that it would mainfest itself differently or perhaps just go > away (wishful thinking). > > I now need to fix

serial connection with m515

2002-05-16 Thread Fritzsching Michelle
Hi, I am new, so please don't laugh ... I haven't been able to debug to the device. The emulator works great, but there seems to be a problem connecting to the device. I have a Palm 515 and am trying to debug in CodeWarrior 8. I was using a USB cradle to connect, but tech support at CodeWarrior t

Lengthy Exit Time

2002-05-16 Thread Matt Disher
I posted a while back and never got a response, so I shelved my problem for now in hopes that it would mainfest itself differently or perhaps just go away (wishful thinking). I now need to fix this. Basically my App takes for ever and a day to exit and get back to the Launcher. All this happens

Re: Behind-the-scenes Hotsync

2002-05-16 Thread Oliver Steinmeier
Scott, > Is there any way to program in a silent > (behind-the-scenes) hotsync into an > application on the palm. I don't think there is a (documented) way of doing a silent hotsync. You can fairly easily "simulate" the pressing of the hotsync button (enqueue an event with the appropriate chara

palm database attributes

2002-05-16 Thread Keith Monahan
Hi all, I've been trying to decode the attributes field of the palm database header. I'm looking at http://www.palmos.com/dev/support/docs/fileformats/Intro.html#939653 which shows the format of the palm database header. It shows the offset for the attributes field at 0x20, and 2 bytes in lengt

RE: Hey, IR comm gurus... help!

2002-05-16 Thread Schettino, John
Yes, you need to give time to the system for irda comms to work reliably. You can code up a nested event loop - something like: IrDiscoverReq(..); Word timeout = TimGetTicks()+SysTicksPerSecond(); // one second timeout for (;;) { EvtGetEvent(&event, SysTicksPerSecond()); // In your irda callbac

gsmAppLaunchCmdEvent: headset button not working anymore!

2002-05-16 Thread matro
hi there, I'm working on a freeware app for Treo180 (Handspring, OS3.5). core is ok (just released at palmgear, see http://www.palmgear.com/software/showsoftware.cfm?sid=79728120020514003848&prodID=41759), however I got a bug and I don't know where to look at: once installed and first run my app

NetLib Problem

2002-05-16 Thread Akhilesh Singh
Hi, I am trying to get the TCPMaxSeg using NetLibSocketOptionGet. But the call is giving me netErrParamErr error. following is the code: res = NetLibSocketOptionGet (libRefNum, socket, netSocketOptLevelTCP,

Re: Simulator uninstallable on NT4?

2002-05-16 Thread Ben Combee
In article <86396@palm-dev-forum>, [EMAIL PROTECTED] says... > > The simulator published at the PalmSource forum calls GetLongPathnameA > in Kernel32.dll. > > This Entry does not exist in Kernel32.dll prior to Win2000. > Is there an update version to the simulator where this call is replaced? Y

Re: WDBAS

2002-05-16 Thread Ben Combee
In article <86381@palm-dev-forum>, [EMAIL PROTECTED] says... > > Has anybody had any experience using Palm's new WDBAS wireless application > server? Palm has done training here at Metrowerks on the product, and its included (in a development edition) in our CodeWarrior for Palm OS, Enterprise

RE: class browser in CW R6

2002-05-16 Thread Ben Combee
In article <86371@palm-dev-forum>, [EMAIL PROTECTED] says... > > > No, this is a feature people have requested, but even as of V8, its > not > > been implemented. > > Speaking of features people have requested, do we have an ETA on V9? And > will there be support to compile ARM native code in t

Re: problem loading the app.

2002-05-16 Thread ana erdozain
Hi Joe! thanks!!! I have found my error! you are right, i was trying to access to the variable AppRefNum in PilotMain() thank you ana --- Joe <[EMAIL PROTECTED]> wrote: > > > "ana erdozain" <[EMAIL PROTECTED]> wrote in > > > > > > > > Hi!! > > > > how can i load my application in PDA with > Hots

Re: floating point conversions in prc-tools 2.pre1 not working for hacks?

2002-05-16 Thread John Marshall
On Tue, May 14, 2002 at 01:05:44AM +0200, [EMAIL PROTECTED] wrote: > the following code called from within a hack compiled with prc-tools 2.pre1 > gives me 110 (correct) from the applications screen but 368 (wrong) from the > memopad? with some applications this works but with others it doesn't. >

Re: problem loading the app.

2002-05-16 Thread Joe
> > "ana erdozain" <[EMAIL PROTECTED]> wrote in > > > > > > Hi!! > > > how can i load my application in PDA with Hotsync > > > software? > > > whenever i load it in the PDA pressing the debug > > > button and tapping "shortcut..2", when i finish a > > > Fatal Error occurs always, and i must do a h

Re: Do i need to create a pdb file?

2002-05-16 Thread Joe
--- [EMAIL PROTECTED] wrote: > > here's an > example taken from the sdk-40 examples: > ... > const UInt32 kType = 'DATA'; > const UInt32 kCreator = 'xx'; There are a few too many x's in there. (4 Chars == 32 bits) __ Do You Yahoo!? LAUNCH -

Re: Displaying a bitmap in the background

2002-05-16 Thread Aaron Ardiri
hi just a small question... Date: 14 May 2002 08:13:19 - From: murugesan saravanan <[EMAIL PROTECTED]> To: Palm Developer Forum <[EMAIL PROTECTED]> Subject: Setting a Background image in Palm Date: 15 May 2002 08:37:10 - From: murugesan saravanan <[EMAIL PROTECTED]> To: Palm Develop

Displaying a bitmap in the background

2002-05-16 Thread murugesan saravanan
Hi Guys, I have developed an application in Palm. In that i want to display a bitmap in the background. I have used WinDrawBitamp function..but it works for some bitmaps but if i use a dark coloured bitmap then it overlaps with the labels in the formCan anyone help me where i'm going wron

Simulator uninstallable on NT4?

2002-05-16 Thread Werner Poschenrieder
The simulator published at the PalmSource forum calls GetLongPathnameA in Kernel32.dll. This Entry does not exist in Kernel32.dll prior to Win2000. Is there an update version to the simulator where this call is replaced? Cheers Werner -- For information on using the Palm Developer Forums, or

Re: Message box

2002-05-16 Thread ana erdozain
hi: you can use a progress dialog! try to do that: to show the dialog #if SDK_VERSION < 35 pProgress = ( ProgressPtr ) PrgStartDialogV10( cTitle, cbProgress ); #else pProgress = ( ProgressPtr ) PrgStartDialogV31( cTitle, cbProgress ); #endif pProgress->cancel = !bShowCancel; PrgUpdateDi

Message box

2002-05-16 Thread Sylvain Fonteneau
Hello there, My program perform a lengthy operation and I would want to display a "Please wait..." message box without any buttons. This message would be deleted at the end of the operation. Can anyone help me ? _ Sylvain Fonteneau ___

RE: [PilRC] pilrc 2.9p5 available for testing

2002-05-16 Thread Regis Nicolas
Thanks Aaron. A couple of comments. In addition to Aaron, please send any compatibility issue to this list or to myself directly. The HiRes stuff is not for PalmOS 5 only but also works with HiRes 68K devices. Cordially, Regis. ---

pilrc 2.9p5 available for testing

2002-05-16 Thread Aaron Ardiri
hi pilrc 2.9 (patch 5) is available [finally] - loads of little fixes here and there, more information on what has changed specifically at: http://www.ardiri.com/index.php?redir=palm&cat=pilrc&subcat=patches most recent feature = BITMAP..EX support: --- ICONFAMILYEX BEGIN BITMAP "images/ic

Re: problem loading the app.

2002-05-16 Thread ana erdozain
Hi! i am talking about the actual device. my device is a handspring visor. i what download the application in the PDA without use the debugger. it is possible directly with hotsync? thanks --- Mark Biek <[EMAIL PROTECTED]> wrote: > Are you talking about the emulator or an actual > device? If yo

Using MS VC++ for Palm apps

2002-05-16 Thread Alex Gusev
Hi All, stupid question: is it possible to use Visual Studio for Palm development. If yes - how, maybe there is some Add-Ons or whatever? Thanks, Alex -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/