Re: What is the string constant length for rcp files?

2003-08-24 Thread Chris Tutty
From: "Ben Combee" <[EMAIL PROTECTED]> > At 01:43 AM 8/24/2003, Chris Tutty wrote: > >I'd like to check the defined limits but can't locate a definitive doc > >for the rcp format anywhere. From my memory of the last time-wasting > >search PalmSource waves vaguely towards Apple's on-line documentat

Re: export classes from libraries..

2003-08-24 Thread Chris Tutty
From: "AnilkumarB" <[EMAIL PROTECTED]> > No,Actually my library's name is "starter.lib" its not a standard for app . > Hah, serves me right for not reading more carefully. > StarterLibMain is the only function in the starterLibrary.I have just called > this function in a button event handler > Thi

resource 'code' #1 is missing

2003-08-24 Thread Christian Gaudin
Dear Alls I use the projet sample "HelloWorld", and i have a pproblem of compilation with 'cod #1 is missing" The result of the compilation is : --- Starting to build target "Clean, All"... Cleaning up build directory Building Resource File HelloWorld.rcp PilRC v2.9 Copyright

Help on 'AppLaunchWithCommand'

2003-08-24 Thread omadawn
Hi, I am trying to use the command 'AppLaunchWithCommand', but when i specify my appCreator, which is the creator ID of the application, the system could not find the application. This is when i typed when i compiled my prog. build-prc hello1.prc Setup Hel1 *.grc *.bin Can i confirm that i spec

Re: Pocket Smalltalk for T C?

2003-08-24 Thread kcorey
On Sun, 2003-08-24 at 15:13, Paul Folbrecht wrote: > So, is PST a decent choice for a development tool? > Of course the C has an XScale proc and 320x320 16-bit display, > and I want to be able to take advantage of it's hardware. > > But, I've read that you cannot do above 160x160 with PST. I want

Pocket Smalltalk for T C?

2003-08-24 Thread Paul Folbrecht
Please bear with me- I'm a Palm newbie (Java developer by trade with 10 years software experience). So, is PST a decent choice for a development tool? Of course the C has an XScale proc and 320x320 16-bit display, and I want to be able to take advantage of it's hardware. But, I've read that you c

Re: memory leaks vs. unallocated chunks

2003-08-24 Thread wterreblanche
I decided to dig up my program again and make a very simple project to illustrate what I have done. It also fills a list dynamically, but there are no memory leaks resulting from this code. You can easily copy this code just as it is into a small project and try it out. I have not really comp

Re: problem capturing power on/off

2003-08-24 Thread Bob Withers
You can register to be notified when this happens: UInt32 value; err = FtrGet(sysFtrCreator, sysFtrNumNotifyMgrVersion, &value); Boolean notificationMgrPresent = (errNone == err && value); if (notificationMgrPresent) { UInt16 nCard; LocalID local

problem capturing power on/off

2003-08-24 Thread Steffen Hausmann
Hi, I need to know whether the Palm was turned off and on again while a program is running. Therefore I wait until the 'key down event' occurs. if (event->eType == keyDownEvent) { if (event->data.keyDown.chr == vchrPowerOff) { ... } } This works fine, but if the

CodeWarrior 9 feature?

2003-08-24 Thread Ralph Curtis
I think I read somewhere that 9.x was going to support access to code segments other than the first segment for app launch codes beyond sysAppLaunchCmdNormalLaunch. Is that true or is it BS? If true, is it in the current CW release? If not in current release, has anyone heard when this feature wi

Re: const data = garbage data... help :(

2003-08-24 Thread Flex
I wiped out the source and moved to resources but this is not a clean way. I'll remake it and send a reproduction at your mail. Thanks "Ben Combee" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > >Update: yep, I know what's wrong - the array in memory is at 00422870 while > >I'm

Re: What is the control event type for the "Up" and "Down" buttons? (Newbie trying to RTFM)

2003-08-24 Thread Ralph Curtis
"Fred Zappert" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hi, > > I have an application with a scrolling list of data. Rather than always > forcing the user to click on the up and down arrows in the list window, I'd > like to also enable the rocker switches. > > Thanks, > Fre

How to get IDs from Popup?

2003-08-24 Thread kcorey
Is there a new legal way to get the internal object ID's of a popup trigger? Getting a pointer to a trigger, and then referring to popupP->controlID and popupP->listID actually work, for the time being, but the emulator with a debug rom complains that that's not going to be legal forever, so I'd l

Re: What is the string constant length for rcp files?

2003-08-24 Thread Ben Combee
At 01:43 AM 8/24/2003, Chris Tutty wrote: Hi, I've just run into an "unterminated constant" error when dropping large chunks of text into a rcp-format resource file. I'd like to check the defined limits but can't locate a definitive doc for the rcp format anywhere. From my memory of the last time

RE: export classes from libraries..

2003-08-24 Thread AnilkumarB
Hi chris, Thanx for the reply. >>OK, standard for an app, nothing to do with your static library. >>You're missing: >>- compile the static library project to create the .lib file. This contains >>the compiled source for your functions in a form that's ready for >>linking. >>add the .lib file to

What is the string constant length for rcp files?

2003-08-24 Thread Chris Tutty
Hi, I've just run into an "unterminated constant" error when dropping large chunks of text into a rcp-format resource file. I'd like to check the defined limits but can't locate a definitive doc for the rcp format anywhere. From my memory of the last time-wasting search PalmSource waves vaguely

Re: export classes from libraries??

2003-08-24 Thread Chris Tutty
From: "AnilkumarB" <[EMAIL PROTECTED]> > I had written my first static libraray in palm OS.I am trying to use it > in the application. > > 1. I hav included the starter.lib in the application's libraries section. > OK, standard for an app, nothing to do with your static library. > 2. I refer

What is the control event type for the "Up" and "Down" buttons? (Newbie trying to RTFM)

2003-08-24 Thread Fred Zappert
Hi, I have an application with a scrolling list of data. Rather than always forcing the user to click on the up and down arrows in the list window, I'd like to also enable the rocker switches. Thanks, Fred. -- For information on using the Palm Developer Forums, or to unsubscribe, please see

export classes from libraries??

2003-08-24 Thread AnilkumarB
Hi evrybdy, I had written my first static libraray in palm OS.I am trying to use it in the application. 1. I hav included the starter.lib in the application's libraries section. 2. I refered the lib src folder in the userpath section , i even included the .h file in the palm application

Re: Lists and Scrollbars

2003-08-24 Thread kcorey
On Sat, 2003-08-23 at 21:37, Toshiro wrote: > I'm trying to bind a ScrollBar object to a List object (with a dynamic number > of items) and it works, but I don't know how to disable the built-in scroll > arrows from appearing (I mean the arrows that automatically appear in a List > object when y

Re: how to keep TblGrabFocus from highlighting entire cell?

2003-08-24 Thread Dave Lasker
The solution is to call TblSetColumnEditIndicator(tableP, editDataColumn, false); I guess this wasn't needed in the Address app since the 2nd column of all rows had a style of textTableItem. However, in my table, some rows were customTableItem which appears to have changed the default for masking

bitmaps in tables

2003-08-24 Thread Toshiro
Is it possible to include bitmaps in tables? I want to create a 2 column table, 1 with a bitmap and 1 with a text field. ADSL para estar en internet las 24 horas a máxima velocidad y sin ocupar el teléfono. --- http://ww

RE: Strings and databases

2003-08-24 Thread Randall Pulsifer
Error alert! Because this is copyrighted software, I changed some of the variable names before posting it and in doing so, inadvertently swapped the source and dest in the DmWrite statement. The line should be: err = DmWrite (LockedCatchRecord, 0, ThisCatchRec, CatchRecLen); Also, in looking at t

Re: .bss full?

2003-08-24 Thread John Marshall
On Thu, 21 Aug 2003, Khaki Wizard <[EMAIL PROTECTED]> wrote: > /usr/m68k-palmos/bin/ld: region datares is full > (xx section .bss) [...] > Why is .bss full? It is the datares region that is full, and this fact has been detected when an item in .bss was pushed out past the limit. But these fac

Re: Strange problem with multi-section

2003-08-24 Thread John Marshall
On Thu, 21 Aug 2003, Khaki Wizard <[EMAIL PROTECTED]> wrote: >John Marshall wrote: >> These are messages from build-prc, not m68k-palmos-g++. >> Congratulations; this diagnostic is not easy to produce. > > Actually it is the output of obj-res. Ah. Well, that would be the *easy* way to produce thi

Lists and Scrollbars

2003-08-24 Thread Toshiro
I'm trying to bind a ScrollBar object to a List object (with a dynamic number of items) and it works, but I don't know how to disable the built-in scroll arrows from appearing (I mean the arrows that automatically appear in a List object when you have more items than the maximum visible) Anybod