Re: Problem using va_list,va_arg,va_end

2000-07-18 Thread Chris Percival
#include stdarg.h and add MSL directory to your system path in codewarrior, carefull though as I am not sure they are supported for the palm? In my experience they work with functions like StrVPrintF but cause problems when accessing parameters indivually. Chris Anne Srinivas [EMAIL PROTECTED]

Re: Identifying hard, soft key strokes and the power button

2000-07-18 Thread Chris Percival
Try somthing like: (this example causes the hotsync button to be ignored when this c) if ((event.eType == keyDownEvent) TxtCharIsHardKey(event.data.keyDown.modifiers, event.data.keyDown.chr) ((event.data.keyDown.chr == vchrHardCradle) || (event.data.keyDown.chr == vchrHardCradle2))) { //

Re: CPU usage and Constructor

2000-07-18 Thread Chris Percival
Mine is OK? Constructor version 1.5b5. Dave Lippincott [EMAIL PROTECTED] wrote in message news:17752@palm-dev-forum... Its an old bug that's getting older. (and tiresome) I've got the Update installed and my CPU monitor registers 100% usage when constructor is running. Win98 128MB

Re: MemSet

2000-07-18 Thread Chris Percival
Carefull with this one, if I remember rightly the commands are in a different order than what you may be used to. ie. the C runtime function 'memset'. Chris DCU [EMAIL PROTECTED] wrote in message news:17763@palm-dev-forum... is the palm function MemSet supposed to do anything? I found that

Serial Link timeout whilst debugging

2000-07-19 Thread Chris Percival
I quite often get these reported in the log window when stepping through code running on a palm device: CmdReadRemoteRegisters: error in SlkReceivePacket = Serial Link timeout. Its really anoying because when this happens the debugger no longer works. Any one else get this? Any work-arounds /

Re: Serial Link timeout whilst debugging

2000-07-19 Thread Chris Percival
I'm using NT4. I am pretty sure I have made sure its done everything before hitting step again, but you never know. I will try being patient Heather Tufts [EMAIL PROTECTED] wrote in message news:17940@palm-dev-forum... I quite often get these reported in the log window when stepping

Re: MemSet

2000-07-20 Thread Chris Percival
TED] wrote in message news:17970@palm-dev-forum... Chris Percival wrote: So what we have learn't from this is to not assume a function acts like another, just because it has the same name... What a horrid attitude. If I applied it throughout my life I'd spend a lot of wasted time question

Re: Serial Link timeout whilst debugging

2000-07-20 Thread Chris Percival
I am using CW for Palm OS release 6 and CW IDE ver 4.0.1 build 0436 if that helps... Chris Percival [EMAIL PROTECTED] wrote in message news:18083@palm-dev-forum... The file version is 1.6.1 Build 0005 and the product version is Release 6.1. Is there a newer version available? Chris

Re: Help writing Japanese apps

2000-07-21 Thread Chris Percival
Hi John / everyone, On similar lines, how does one use any other kind of font than the standard ones? I would like to use a fixed width font, but couldn't find any infomation on how to do this. I read somthing about a 'special' kind of file that you can make, and then 'add' to the resource?

Re: Help writing Japanese apps

2000-07-25 Thread Chris Percival
A KnowledgeBase article would be good, and would save space on this forum i guess! Chris Ken Krugler [EMAIL PROTECTED] wrote in message news:18408@palm-dev-forum... Hi Chris, At 12:00am -0700 00-07-22, Palm Developer Forum digest wrote: Subject: Re: Help writing Japanese apps From: "

waking device up

2000-07-26 Thread Chris Percival
I have a program which sets a function callback alarm with AlmSetProcAlarm. When that alarm goes off, it re-launches my program with a custom launch code for the purpose of poping up a dialog box if certain conditions are met. What i can't do is make the device wake up if it is asleep at this

Re: Outputting debug strings to Log window

2000-07-26 Thread Chris Percival
Yeah, it is difficult, you just have to trawl through everything available: docs, source files, example files, the net, forums etc. This is how i create/add my own events, the 0x500 is a value picked out of the air, you need to make sure the events you are creating don't have the same value as

Re: Outputting debug strings to Log window

2000-07-26 Thread Chris Percival
this then I think its wrong. -Original Message- From: Chris Percival [SMTP:[EMAIL PROTECTED]] Sent: 26 July 2000 15:10 To: Palm Developer Forum Subject: Re: Outputting debug strings to Log window Yeah, it is difficult, you just have to trawl through everything available: docs

Re: waking device up

2000-07-26 Thread Chris Percival
Never mind, i have worked somthing out... Chris Percival [EMAIL PROTECTED] wrote in message news:18799@palm-dev-forum... I have a program which sets a function callback alarm with AlmSetProcAlarm. When that alarm goes off, it re-launches my program with a custom launch code for the purpose

Re: waking device up

2000-07-27 Thread Chris Percival
Yeah, sorry. In my 'callback' function set with AlmSetProcAlarm I set another alarm to go off straight away with AlmSetAlarm, that then launches my app and wakes the device up. Chris Jason Partyka [EMAIL PROTECTED] wrote in message news:18840@palm-dev-forum... Can you tell me what it is that

Re: Programmatically perform a HotSync

2000-07-27 Thread Chris Percival
What about simulating a hotsync "keypress". i.e. put the hotsync virtual key in the pen queue? I am guessing here by the way... Bradly J. Barton [EMAIL PROTECTED] wrote in message news:18858@palm-dev-forum... What you need to do is launch the HotSync manager with either the

'code outside segment 0' / alarms

2000-07-28 Thread Chris Percival
This is taken from the Palm Knowledge base (http://oasis.palm.com/dev/kb/manuals/1780.cfm): You do not have access to global variables or code outside segment 0 (in a multi-segment application) when you respond to the launch codes (sysAppLaunchCmdAlarmTriggered and sysAppLaunchCmdDisplayAlarm).

Re: 'code outside segment 0' / alarms

2000-07-31 Thread Chris Percival
ould refer to anything other than local variables or values passed to them as parameters. NOTE: A *static* local variable is also considered "global", since it means the same to the compiler. "Chris Percival" [EMAIL PROTECTED] wrote in message news:19098@palm-dev-forum..

sysAppLaunchCmdSystemReset

2000-08-02 Thread Chris Percival
I wish to be able to do somthing in code when the plam device is reset. I understand my app will be sent a sysAppLaunchCmdSystemReset in the case of a soft reset. When I get this I wish to set some application preferences with a call like: PrefSetAppPreferences(AppCreator, AppPrefId,

Re: sysAppLaunchCmdSystemReset

2000-08-03 Thread Chris Percival
Oh OK thanks. Is this the case with all launch codes except sysAppLaunchCmdNormalLaunch? I am aware that you can't use globals for alarm launch codes. I havn't found any information on the web about this, perhaps someone could point me somewhere? Chris Holger Klawitter [EMAIL PROTECTED]

Re: Tricky Tricky

2000-08-03 Thread Chris Percival
I have just somthing similar. Set an alarm with AlmSetProcAlarm to go of 15 mins from now, in your callback function do whatever you want to do, then re-set the alarm. This will happen whether your app is running or not. If you wish to wake the thing up set another alarm with AlmSetAlarm to go

Re: sysAppLaunchCmdSystemReset

2000-08-03 Thread Chris Percival
[EMAIL PROTECTED] wrote in message news:19745@palm-dev-forum... Chris Percival wrote: Oh OK thanks. Is this the case with all launch codes except sysAppLaunchCmdNormalLaunch? I am aware that you can't use globals for alarm launch codes. I havn't found any information on the web about

Using appVersionID/appVersionAlternateID

2000-08-11 Thread Chris Percival
I am using the following code to get the application version string: h = DmGetResource(verRsc, appVersionID); if (!h) h = DmGetResource(verRsc, appVersionAlternateID); ErrFatalDisplayIf(!h, "Unable to find version string"); p = MemHandleLock(h); SetFieldText(AboutFormVersionField, p);

Re: Using appVersionID/appVersionAlternateID

2000-08-11 Thread Chris Percival
Surely people must be using this? Is there another method? Chris Percival [EMAIL PROTECTED] wrote in message news:20724@palm-dev-forum... I am using the following code to get the application version string: h = DmGetResource(verRsc, appVersionID); if (!h) h = DmGetResource(verRsc

Re: Using appVersionID/appVersionAlternateID

2000-08-22 Thread Chris Percival
-forum... At 12:00am -0700 00-08-12, Palm Developer Forum digest wrote: Subject: Using appVersionID/appVersionAlternateID From: "Chris Percival" [EMAIL PROTECTED] Date: Fri, 11 Aug 2000 09:46:44 +0100 X-Message-Number: 5 I am using the following code to get the application version st

Re: Displaying Fonts...

2000-08-23 Thread Chris Percival
This subject comes up again and again. Is is posable to do it without needing Hackmaster? What about with Codewarrior and Constructor? I am aware of the Fnt functions and FntDefineFont in particular but how do I define a custom font resource, can can i use Constructor to build it? Are ther

Re: URGENT !!!! Inet with AlmSetProcAlarm

2000-08-23 Thread Chris Percival
Did doing what I suggested not work? Chris Amit Garg [EMAIL PROTECTED] wrote in message news:21971@palm-dev-forum... I have to develop an application that does some periodic check through internet and based upon some condition sends notification to user...as this has to be in the

Re: Using appVersionID/appVersionAlternateID

2000-08-23 Thread Chris Percival
Yes, but I would need a OS3.5 ROM image... Brian Mathis [EMAIL PROTECTED] wrote in message news:21882@palm-dev-forum... On Tue, 22 Aug 2000, Chris Percival wrote: Can I bring this subject up again? Unfortunaltly I don't have an OS3.5 unit to test on so I can't determine where

Re: Codewarrior and Function Prototypes warning. Lesson learned.

2000-08-24 Thread Chris Percival
Yes, I have fallen for this one too! I can second the ALWAYS turn on the Codewarrior "Require Function Prototypes" bit. Everybody check there projects and tick that box! Chris Rick Wagner [EMAIL PROTECTED] wrote in message news:22123@palm-dev-forum... Having spent the better part of two

Re: Debugging hung apps

2000-08-25 Thread Chris Percival
I seem to remember reading somewhere (in some codewarrior docs I think) that 'stop' is just not available on some platforms, like palms. Yes, it would be very nice to have though... Richard Sewell [EMAIL PROTECTED] wrote in message news:22144@palm-dev-forum... So, when an app hangs in the

Re: Popup List Problems

2000-08-25 Thread Chris Percival
And you've linked the list to the trigger in constructor? Tim [EMAIL PROTECTED] wrote in message news:22277@palm-dev-forum... I put in the LstSetHeight() function but it still doesn't work. Do you have to put some other code, like a popSelect event, in one of the event handlers for it to

appVersionID / appVersionAlternateID

2000-08-29 Thread Chris Percival
Sorry to bring this subject up again, but is this code expected to return the application version number as set with constructor? On OS 3.2 it works but on OS 3.5 it returns what looks like the OS version (3.5.2). h = DmGetResource(verRsc, appVersionID); if (!h) h = DmGetResource(verRsc,

Re: appVersionID / appVersionAlternateID

2000-08-30 Thread Chris Percival
-forum... From: Chris Percival [mailto:[EMAIL PROTECTED]] is this code expected to return the application version number as set with constructor? On OS 3.2 it works but on OS 3.5 it returns what looks like the OS version (3.5.2). h = DmGetResource(verRsc, appVersionID); if (!h) h

Re: appVersionID / appVersionAlternateID

2000-08-30 Thread Chris Percival
It does this on all my projects even. Can anyone sugest a way of tracking this problem down? Chris Percival [EMAIL PROTECTED] wrote in message news:22586@palm-dev-forum... Sorry to bring this subject up again, but is this code expected to return the application version number as set

Re: appVersionID / appVersionAlternateID

2000-08-31 Thread Chris Percival
Thanks for all your help guys. If I use DmGet1Resource then it returns the correct resource! I haven't tested in on OS 3.5.0. I kind of knew that the resource was there because the system application info screen shows the correct version (i.e. it must find that resource). So I guess the order

Re: Simple question

2000-08-31 Thread Chris Percival
Just make wait for "RING" from the modem through the serial port, or set autoanswer and wait for the data to arrive... Chris Patrick Ouellet [EMAIL PROTECTED] wrote in message news:22866@palm-dev-forum... Is it possible to receive a phone call with the Palm Pilot. What I mean is... I need

Re: Saving preferences

2000-08-31 Thread Chris Percival
What value of form ID is being passed around? Jim Duffy [EMAIL PROTECTED] wrote in message news:22903@palm-dev-forum... Could someone please offer guidance with using Palm preferences... First, I am using the starter stationary for my app which provides for the initial statements of get

Re: How Do I control a Modem?

2000-09-28 Thread Chris Percival
What so you want to do with it? Chris Ayers Family Member [EMAIL PROTECTED] wrote in message news:25700@palm-dev-forum... I need some sample code on how to control a Palm modem. I read the MdmDial and hangup routines but I am not sure what code comes between them. Does anyone have a sample

Re: How can I stop HotSync activating when the serial port is accessed?

2000-10-20 Thread Chris Percival
Are you sure you are using a 1700 cable and not a 2700 cable? Charlie Grant [EMAIL PROTECTED] wrote in message news:27504@palm-dev-forum... I am writing an application on the Symbol SPT 1700 which communicates with an application running on a Unix server, via the Palm's serial port. When

Re: How can I stop HotSync activating when the serial port is accessed?

2000-10-20 Thread Chris Percival
is labelled "170047-000 REV.B". -Original Message----- From: Chris Percival [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: Palm Developer Forum [EMAIL PROTECTED] Date: 20 October 2000 15:40 Subject: Re: How can I stop HotSync activating when the serial port is accessed? Ar

Re: *ping*

2000-11-06 Thread Chris Percival
Thats when the work gets done! ;o) Chris Nesse, Rustin [EMAIL PROTECTED] wrote in message news:28843@palm-dev-forum... snip Some of us don't mind an occasional offline email too. -Rus It isn't only interactivity. My attempts to send mails to the list failed too. Humm well..

DmGetRecord and data size?

2001-05-02 Thread Chris Percival
is. I don't have any knowledge of whats in each record, (and I don't need to because of what I am doing with it). Thanks for your help, Chris Percival -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: DmGetRecord and data size?

2001-05-02 Thread Chris Percival
I have found the answer to my question. I can use MemHandleSize on the handle of course.. Chris Percival [EMAIL PROTECTED] wrote in message news:47869@palm-dev-forum... Is there any way I can know how big the area of data is that I get handed with a call to DmGetRecord. I can find out how

Re: Power Off --------------------------------------------------------------------------------

2001-06-19 Thread Chris Percival
Try SysSleep(false, false).. Carefull, its a system use only function. Chris Percival www.interaxis.co.uk Amit [EMAIL PROTECTED] wrote in message news:52989@palm-dev-forum... Hello Can I Programatically Power off the Palm Device ? If yes then please let me know the procedure

CR in a field?

2001-08-15 Thread Chris Percival
bashing. * Have to write code to allow scrolling. * Would have to use fixed width characters, and there isn't a fixed width font, so unless I find out how to use my own font it won't look too good. I am using Codewarrior. Any advice will be gratefully received. Chris Percival -- For information

Re: CR in a field?

2001-08-15 Thread Chris Percival
If i a string like Hello\rworld, with '\r' representing a CR char (0x0D) in between Hello and world, I would want to see World displayed. Or for a better example aaa\rb would display baa. Chris Avilla, Dane [EMAIL PROTECTED] wrote in message news:59810@palm-dev-forum... I'm a little confused

Re: Please make untitled go away!

2001-02-09 Thread Chris Percival
It does that with the version string also. I guess its a bug, but I wouldn't worry about it. It seems to have no ill effects. -- Chris Percival www.interaxis.co.uk Bradley Ward [EMAIL PROTECTED] wrote in message news:38583@palm-dev-forum... Anybody got any ideas on this weirdness? My

Re: Stepping into library code

2001-02-23 Thread Chris Percival
into a function that is in the .lib file I only get assembler. Can you explain what you mean when you say 'link your static library project with your user project, so you can get combined browser data'? -- Chris Percival www.interaxis.co.uk Ben Combee [EMAIL PROTECTED] wrote in message news:40659@palm

Stepping into library code

2001-02-25 Thread Chris Percival
Is it posable to step into a library whilst debugging and step through source code (not assembler)? I have written the main program and the library, and have both open in Codewarrior. Both are compiled with optimisations turned off. What else do I need to do? Many thanks -- Chris Percival

Re: Stepping into library code

2001-02-27 Thread Chris Percival
can't build and debug. Doing this would also cause lots of version control headaches, and kind of defeats the exersise of building a library in a separate project in the first place. There has to be an easier way? -- Chris Percival www.interaxis.co.uk Ben Combee [EMAIL PROTECTED] wrote

Re: Stepping into library code

2001-02-27 Thread Chris Percival
I have over which library target get used in the main project (as I have several library targets). -- Chris Percival www.interaxis.co.uk Ben Combee [EMAIL PROTECTED] wrote in message news:40689@palm-dev-forum... "Chris Percival" [EMAIL PROTECTED] wrote in message news:40674@palm

Re: Stepping into library code

2001-03-01 Thread Chris Percival
? Without the symbolics enabled (Enable Debugger) you will not be able to see source code in th debugger window. -- jkl - Original Message - From: "Chris Percival" [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: "Palm Developer Forum" [EMAIL PROTECTED] Sent: Tuesday,

Re: Stepping into library code

2001-03-02 Thread Chris Percival
Thanks Terry, I think this was the conclusion I was comming to. There is no 'nice' way to do it... I hope this gets addressed in some later versions of palm/codewarrior stuff. -- Chris Percival www.interaxis.co.uk Chris Percival [EMAIL PROTECTED] wrote in message news:40986@palm-dev-forum

Re: Stepping into library code

2001-03-05 Thread Chris Percival
at my self!) Yes, it is an easy way. Thanks to eveyone for their time and patience! -- Chris Percival www.interaxis.co.uk Jun-Kiat Lam [EMAIL PROTECTED] wrote in message news:41491@palm-dev-forum... Here's a repost of an email I sent that didnt seem to get through: I lost track of the original

Re: Alarms, Alarms and Alarms

2001-09-25 Thread Chris Percival
They can be tricky buggers! Why not cut out the important bits and post them here? Johnathan Smith [EMAIL PROTECTED] wrote in message news:63232@palm-dev-forum... Will I been working on this all weekend and I cant find anything I have a project in CW7 that does nothing but sets a alarm in

Re: CW9 Debugging on Tungsten W?

2003-07-17 Thread Chris Percival
Is there a work-around / fix available for this issue yet? --- In [EMAIL PROTECTED], Tom Frauenhofer [EMAIL PROTECTED] wrote: Is USB debugging supported for the Tungsten W? We've tried it, but we get timeouts when we hit a breakpoint. Just checking (and I have a serial cradle so I can

Re: CW9 Debugging on Tungsten W?

2003-07-17 Thread Chris Percival
Ok, thanks Ben, I will get myself a serial cable... --- In [EMAIL PROTECTED], Ben Combee [EMAIL PROTECTED] wrote: At 09:50 AM 7/17/2003, Chris Percival wrote: Is there a work-around / fix available for this issue yet? There will be no work-around other than using a serial cable. There's

Re: CW9 Debugging on Tungsten W?

2003-07-21 Thread Chris Percival
. The database may have been protected with DmDatabaseProtect(). Any suggestions? Chris --- In [EMAIL PROTECTED], Chris Percival [EMAIL PROTECTED] wrote: Ok, thanks Ben, I will get myself a serial cable... --- In [EMAIL PROTECTED], Ben Combee [EMAIL PROTECTED] wrote: At 09:50 AM 7/17/2003, Chris

Re: CW9 Debugging on Tungsten W?

2003-07-28 Thread Chris Percival
to debug on a Tungsten W? Anyone else? Chris Percival Software Engineer DDI: +44 (0)1249 700072 www.interaxis.co.uk Jeff Ishaq [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] -Original Message- From: Chris Percival Sent: Monday, July 21, 2003 3:26 AM Ok, I have a serial

Re: CW9 Debugging on Tungsten W?

2003-07-28 Thread Chris Percival
with this issue.. Chris Percival Software Engineer DDI: +44 (0)1249 700072 www.interaxis.co.uk Ben Combee [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At 03:52 AM 7/28/2003, Chris Percival wrote: Thanks for the reply Jeff, but I am still having problems. Actually another major

Waking up device

2003-09-05 Thread Chris Percival
Is there a way to wake the device up from sleep at a given point in code? I have always just used: LocalID id = DmFindDatabase(0, AppName); AlmSetAlarm(0, id, 0, TimGetSeconds(), 0); ie. set an alarm to go off immediately. This has always worked great for me in the past, but now I cannot use

Re: list of network services

2003-09-09 Thread Chris Percival
I too would like to know how to do this. I don't really understand how the 'Network Configurations' in the palmos docs relate to the network configurations you see on the device. It just doesn't make much sense to me. What I really need to be able to do is show the user the list of services

Re: Waking up device

2003-09-09 Thread Chris Percival
Well it just gets a little complicated if you have an alarm already set, but you need to wake the device up. It involves saving the current alarm, setting an imediate alarm to wake the device, then reseting the old alarm. Not much work really, I just hoped there was a nice wake device function I

Re: *ping*

2008-05-28 Thread Chris Percival
Thats when the work gets done! ;o) Chris Nesse, Rustin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] snip Some of us don't mind an occasional offline email too. -Rus It isn't only interactivity. My attempts to send mails to the list failed too. Humm well.. Regards

Re: How can I stop HotSync activating when the serial port is accessed?

2008-05-28 Thread Chris Percival
is labelled 170047-000 REV.B. -Original Message- From: Chris Percival [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: Palm Developer Forum palm-dev-forum@news.palmos.com Date: 20 October 2000 15:40 Subject: Re: How can I stop HotSync activating when the serial port is accessed? Are you

Re: How can I stop HotSync activating when the serial port is accessed?

2008-05-28 Thread Chris Percival
Are you sure you are using a 1700 cable and not a 2700 cable? Charlie Grant [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am writing an application on the Symbol SPT 1700 which communicates with an application running on a Unix server, via the Palm's serial port. When the Unix

Re: Saving preferences

2008-05-28 Thread Chris Percival
What value of form ID is being passed around? Jim Duffy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Could someone please offer guidance with using Palm preferences... First, I am using the starter stationary for my app which provides for the initial statements of get and set

Re: Simple question

2008-05-28 Thread Chris Percival
Just make wait for RING from the modem through the serial port, or set autoanswer and wait for the data to arrive... Chris Patrick Ouellet [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Is it possible to receive a phone call with the Palm Pilot. What I mean is... I need the Palm

Re: appVersionID / appVersionAlternateID

2008-05-28 Thread Chris Percival
Thanks for all your help guys. If I use DmGet1Resource then it returns the correct resource! I haven't tested in on OS 3.5.0. I kind of knew that the resource was there because the system application info screen shows the correct version (i.e. it must find that resource). So I guess the order

Re: appVersionID / appVersionAlternateID

2008-05-28 Thread Chris Percival
It does this on all my projects even. Can anyone sugest a way of tracking this problem down? Chris Percival [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Sorry to bring this subject up again, but is this code expected to return the application version number as set

Re: appVersionID / appVersionAlternateID

2008-05-28 Thread Chris Percival
] From: Chris Percival [mailto:[EMAIL PROTECTED] is this code expected to return the application version number as set with constructor? On OS 3.2 it works but on OS 3.5 it returns what looks like the OS version (3.5.2). h = DmGetResource(verRsc, appVersionID); if (!h) h

appVersionID / appVersionAlternateID

2008-05-28 Thread Chris Percival
Sorry to bring this subject up again, but is this code expected to return the application version number as set with constructor? On OS 3.2 it works but on OS 3.5 it returns what looks like the OS version (3.5.2). h = DmGetResource(verRsc, appVersionID); if (!h) h = DmGetResource(verRsc,

Re: Popup List Problems

2008-05-28 Thread Chris Percival
And you've linked the list to the trigger in constructor? Tim [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I put in the LstSetHeight() function but it still doesn't work. Do you have to put some other code, like a popSelect event, in one of the event handlers for it to work?

Re: Debugging hung apps

2008-05-28 Thread Chris Percival
I seem to remember reading somewhere (in some codewarrior docs I think) that 'stop' is just not available on some platforms, like palms. Yes, it would be very nice to have though... Richard Sewell [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] So, when an app hangs in the emulator,

Re: Codewarrior and Function Prototypes warning. Lesson learned.

2008-05-28 Thread Chris Percival
Yes, I have fallen for this one too! I can second the ALWAYS turn on the Codewarrior Require Function Prototypes bit. Everybody check there projects and tick that box! Chris Rick Wagner [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Having spent the better part of two days

Re: URGENT !!!! Inet with AlmSetProcAlarm

2008-05-28 Thread Chris Percival
Did doing what I suggested not work? Chris Amit Garg [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have to develop an application that does some periodic check through internet and based upon some condition sends notification to user...as this has to be in the background...the

Re: Using appVersionID/appVersionAlternateID

2008-05-28 Thread Chris Percival
Yes, but I would need a OS3.5 ROM image... Brian Mathis [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Tue, 22 Aug 2000, Chris Percival wrote: Can I bring this subject up again? Unfortunaltly I don't have an OS3.5 unit to test on so I can't determine where the resource

Re: Displaying Fonts...

2008-05-28 Thread Chris Percival
This subject comes up again and again. Is is posable to do it without needing Hackmaster? What about with Codewarrior and Constructor? I am aware of the Fnt functions and FntDefineFont in particular but how do I define a custom font resource, can can i use Constructor to build it? Are ther

Re: Using appVersionID/appVersionAlternateID

2008-05-28 Thread Chris Percival
] At 12:00am -0700 00-08-12, Palm Developer Forum digest wrote: Subject: Using appVersionID/appVersionAlternateID From: Chris Percival [EMAIL PROTECTED] Date: Fri, 11 Aug 2000 09:46:44 +0100 X-Message-Number: 5 I am using the following code to get the application version string: h

Re: How Do I control a Modem?

2008-05-29 Thread Chris Percival
What so you want to do with it? Chris Ayers Family Member [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I need some sample code on how to control a Palm modem. I read the MdmDial and hangup routines but I am not sure what code comes between them. Does anyone have a sample or

Re: sysAppLaunchCmdSystemReset

2008-05-29 Thread Chris Percival
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Chris Percival wrote: Oh OK thanks. Is this the case with all launch codes except sysAppLaunchCmdNormalLaunch? I am aware that you can't use globals for alarm launch codes. I havn't found any information on the web about

Re: sysAppLaunchCmdSystemReset

2008-05-29 Thread Chris Percival
Oh OK thanks. Is this the case with all launch codes except sysAppLaunchCmdNormalLaunch? I am aware that you can't use globals for alarm launch codes. I havn't found any information on the web about this, perhaps someone could point me somewhere? Chris Holger Klawitter [EMAIL PROTECTED] wrote

Re: Tricky Tricky

2008-05-29 Thread Chris Percival
I have just somthing similar. Set an alarm with AlmSetProcAlarm to go of 15 mins from now, in your callback function do whatever you want to do, then re-set the alarm. This will happen whether your app is running or not. If you wish to wake the thing up set another alarm with AlmSetAlarm to go

sysAppLaunchCmdSystemReset

2008-05-29 Thread Chris Percival
I wish to be able to do somthing in code when the plam device is reset. I understand my app will be sent a sysAppLaunchCmdSystemReset in the case of a soft reset. When I get this I wish to set some application preferences with a call like: PrefSetAppPreferences(AppCreator, AppPrefId,

Re: Linking Problem with Static library for Palm

2008-05-29 Thread Chris Percival
Is everything C or C++ here? Nitin FOR Palm [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have made a static library (.lib) for Palm using MW Code Warrior. Now when i add this .lib (which contains implementations of some functions of mine) in another project and try to link it

Re: 'code outside segment 0' / alarms

2008-05-29 Thread Chris Percival
as parameters. NOTE: A *static* local variable is also considered global, since it means the same to the compiler. Chris Percival [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This is taken from the Palm Knowledge base (http://oasis.palm.com/dev/kb/manuals/1780.cfm): You do

'code outside segment 0' / alarms

2008-05-29 Thread Chris Percival
This is taken from the Palm Knowledge base (http://oasis.palm.com/dev/kb/manuals/1780.cfm): You do not have access to global variables or code outside segment 0 (in a multi-segment application) when you respond to the launch codes (sysAppLaunchCmdAlarmTriggered and sysAppLaunchCmdDisplayAlarm).

Re: Programmatically perform a HotSync

2008-05-29 Thread Chris Percival
What about simulating a hotsync keypress. i.e. put the hotsync virtual key in the pen queue? I am guessing here by the way... Bradly J. Barton [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] What you need to do is launch the HotSync manager with either the

Re: waking device up

2008-05-29 Thread Chris Percival
Yeah, sorry. In my 'callback' function set with AlmSetProcAlarm I set another alarm to go off straight away with AlmSetAlarm, that then launches my app and wakes the device up. Chris Jason Partyka [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Can you tell me what it is that you

Re: waking device up

2008-05-29 Thread Chris Percival
Never mind, i have worked somthing out... Chris Percival [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have a program which sets a function callback alarm with AlmSetProcAlarm. When that alarm goes off, it re-launches my program with a custom launch code for the purpose

Re: Outputting debug strings to Log window

2008-05-29 Thread Chris Percival
think its wrong. -Original Message- From: Chris Percival [SMTP:[EMAIL PROTECTED] Sent: 26 July 2000 15:10 To: Palm Developer Forum Subject: Re: Outputting debug strings to Log window Yeah, it is difficult, you just have to trawl through everything available: docs, source

Re: Outputting debug strings to Log window

2008-05-29 Thread Chris Percival
Yeah, it is difficult, you just have to trawl through everything available: docs, source files, example files, the net, forums etc. This is how i create/add my own events, the 0x500 is a value picked out of the air, you need to make sure the events you are creating don't have the same value as

Re: Help writing Japanese apps

2008-05-29 Thread Chris Percival
A KnowledgeBase article would be good, and would save space on this forum i guess! Chris Ken Krugler [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Chris, At 12:00am -0700 00-07-22, Palm Developer Forum digest wrote: Subject: Re: Help writing Japanese apps From: Chris

Re: Help writing Japanese apps

2008-05-29 Thread Chris Percival
Hi John / everyone, On similar lines, how does one use any other kind of font than the standard ones? I would like to use a fixed width font, but couldn't find any infomation on how to do this. I read somthing about a 'special' kind of file that you can make, and then 'add' to the resource?

Re: Serial Link timeout whilst debugging

2008-05-29 Thread Chris Percival
I am using CW for Palm OS release 6 and CW IDE ver 4.0.1 build 0436 if that helps... Chris Percival [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] The file version is 1.6.1 Build 0005 and the product version is Release 6.1. Is there a newer version available? Chris Heather Tufts

Re: MemSet

2008-05-29 Thread Chris Percival
in message news:[EMAIL PROTECTED] Chris Percival wrote: So what we have learn't from this is to not assume a function acts like another, just because it has the same name... What a horrid attitude. If I applied it throughout my life I'd spend a lot of wasted time questioning things. Joe

Re: Serial Link timeout whilst debugging

2008-05-29 Thread Chris Percival
The file version is 1.6.1 Build 0005 and the product version is Release 6.1. Is there a newer version available? Chris Heather Tufts [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm using NT4. I am pretty sure I have made sure its done everything before hitting step again,

Re: Serial Link timeout whilst debugging

2008-05-29 Thread Chris Percival
I'm using NT4. I am pretty sure I have made sure its done everything before hitting step again, but you never know. I will try being patient Heather Tufts [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I quite often get these reported in the log window when stepping through

Re: MemSet

2008-05-29 Thread Chris Percival
Carefull with this one, if I remember rightly the commands are in a different order than what you may be used to. ie. the C runtime function 'memset'. Chris DCU [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] is the palm function MemSet supposed to do anything? I found that it did

Re: CPU usage and Constructor

2008-05-29 Thread Chris Percival
Mine is OK? Constructor version 1.5b5. Dave Lippincott [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Its an old bug that's getting older. (and tiresome) I've got the Update installed and my CPU monitor registers 100% usage when constructor is running. Win98 128MB -

  1   2   >