Re: Dynamic List Creation - pitfall and solution

2003-01-19 Thread David McNab
On Sun, 2003-01-19 at 20:43, Aaron Ardiri wrote: > > // manually set attribs or list won't appear on form > > listP->attr.usable = 1; > > listP->attr.visible = 1; > > listP->attr.enabled = 1; > > whatever happened to calling the API LstDrawList(listP) ? Not practicable with the situation

Re: Dynamic List Creation - pitfall and solution

2003-01-19 Thread Aaron Ardiri
> > whatever happened to calling the API LstDrawList(listP) ? > > Not practicable with the situation in which I'm programming. of course it is, if you actually create the list so the item is enabled, and usable. > > as for the usable and enabled attributes - they should never be > > set to fal

Re: CW precompiled headers

2003-01-19 Thread Ben Combee
At 22:51 2003-1-18 -0800, you wrote: I've been on eScribe, and I still don't get it. How do I use precompiled headers? (From what I understand, they are basically put at the top of every compiled file.) I think you are confusing prefix files with precompiled headers. A precompiled header is b

Re: Dynamic List Creation - pitfall and solution

2003-01-19 Thread David McNab
On Sun, 2003-01-19 at 21:53, Aaron Ardiri wrote: > > > whatever happened to calling the API LstDrawList(listP) ? > > > > Not practicable with the situation in which I'm programming. > > of course it is, if you actually create the list so the item > is enabled, and usable. But how do you do this

Re: Dynamic List Creation - pitfall and solution

2003-01-19 Thread Aaron Ardiri
> > of course it is, if you actually create the list so the item > > is enabled, and usable. > > But how do you do this? > When creating the list from a resource, yes, it's easy to do. > But I'm not creating from a resource - I'm building the list from > scratch. > > I can't find anything in the

Re: Dynamic List Creation - pitfall and solution

2003-01-19 Thread Aaron Ardiri
> If I'm missing the obvious, please indulge me and point it out. check FrmShowObject() - that should make your list visible and enabled. --- Aaron Ardiri [EMAIL PROTECTED] CEO - CTO +46 70 656 1143 Mobile Wizardry

Re: Dynamic List Creation - pitfall and solution

2003-01-19 Thread David McNab
On Sun, 2003-01-19 at 23:49, Aaron Ardiri wrote: > > If I'm missing the obvious, please indulge me and point it out. > > check FrmShowObject() - that should make your list visible and enabled. Tried that - no good. Anyway, my code is full of things (like dynamic creation) that are requiring Palm

Re: Dynamic List Creation - pitfall and solution

2003-01-19 Thread Aaron Ardiri
> > > If I'm missing the obvious, please indulge me and point it out. > > > > check FrmShowObject() - that should make your list visible and enabled. > > Tried that - no good. > > Anyway, my code is full of things (like dynamic creation) that are > requiring PalmOS 3.0 and later. the docs say F

PalmComInstaller Update

2003-01-19 Thread Dennis Sourvanos
Although I run the updated version of PalmComInstaller on a clean machine along with my program, my program does not find the dlls. I get the message "Cannot create ActiveX components". Is it necessary to reboot the machine? Must I do something extra, like programatically register ComDirect.dll

Re: Dynamic List Creation - pitfall and solution - similar problem

2003-01-19 Thread venkimohanraj <[EMAIL PROTECTED]>
Hi guys, I have a similar problem, Iam not able to create a dynamic popup list. I was able to create a dynamic list but Iam not clear about popup list. The LstNewList says that if I give the triggerID, then both my list and trigger control are created. So I dont have to explicitly create a tri

CW8 and OS-5 serial debug...

2003-01-19 Thread Jeff Diamond
Does anyone know if Codewarrior 8 is capable of debugging an application running on OS-5 via a serial adapter? - Jeff -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Arrows UP and DOWN in REPEAT BUTTON

2003-01-19 Thread RĂ©gis Daniel de Oliveira
How can I set the arrows UP and DOWN in a REPEAR BUTTON by code? This arrows is like that ones that appears on the PhoneBook app when the list has more than 1 page of itens. Thanks! PS.: In CW, the Arrows is show in the Character Map of the constructor; font Symbol 7 Thanks! -- For informati

List multiple database categories

2003-01-19 Thread Rui Pinheiro
Hi! Is it possible to search for more than a category at once? For example, use DmSeekRecordInCategory and/or DmQueryNextInCategory to list all the contacts except those in the QuickList? Thanks in advance! B Z __ Do you Yahoo!? Yahoo! Mail Plus

Popup list memory errors

2003-01-19 Thread Peter Wu
I have a form with about 30 UI elements on it, including three popup lists. The app was working fine with no memory leaks, passing the 1 million Gremlin test, etc. I tried to add a fourth popup list to the form and started getting bus errors requiring a soft reset on the emulator whenever I tap one

Re: CW precompiled headers

2003-01-19 Thread Todd Walk
Ben Combee <[EMAIL PROTECTED]> wrote in news:109677@palm-dev-forum: > > At 22:51 2003-1-18 -0800, you wrote: > >>I made a file called "Config.pch". I added this file to >>BuildHeaders.mcp. I built that project to make "Config" >>(using #pragma precompile_target "Config" in Config.pch). >>I the

Local variable does not appear in CW debugger window

2003-01-19 Thread David Beers
I'm debugging an app that borrows a good deal of code from the SDK samples and having a curious problem. When I step through to what appears to be the offending function I notice that one of the local variables declared in the function doesn't display in the debugger window. All the others are th

way to shut off "Form must be full width"?

2003-01-19 Thread Richard Coutts
I have a hack that requires a non-modal form to be less than the full-width of the screen. It works fine, but my gremlin is flagging it with the error "App (X.X) called SysFatalAlert with the message: "Form.c, Line: 806, Form must be full width". Can someone tell me how to shut off this test? ~

Re: Moving PDB from 1 palm to another palm? HELP!!

2003-01-19 Thread Anthony Ng
What if the m100 and m105 is in two different locations? I was hoping to pass the data through the internet. Did someone ever do that before?? Please let me know. The data is created by a custom application. I konw i can write a conduit and parse the data and stuff? However, is there a simple

Re: way to shut off "Form must be full width"?

2003-01-19 Thread Chris Antos
Someone else asked the same question in the past 7 days -- search for it in the recent posts. There were several replies that contained important information about it. "Richard Coutts" <[EMAIL PROTECTED]> wrote in message news:109729@palm-dev-forum... > > I have a hack that requires a non-modal

Re: Local variable does not appear in CW debugger window

2003-01-19 Thread Chris Antos
Compiler optimization. Try turning off compiler optimizations. "David Beers" <[EMAIL PROTECTED]> wrote in message news:109725@palm-dev-forum... > > I'm debugging an app that borrows a good deal of code from the SDK samples > and having a curious problem. When I step through to what appears to be

Re: Moving PDB from 1 palm to another palm? HELP!!

2003-01-19 Thread Oliver
> What if the m100 and m105 is in two different > locations? Fedex one to a location near the other ;-) > I was hoping to pass the data through the > internet. Did someone ever do that before?? > Please let me know. The data is created by a > custom application. I konw i can write a >

Re: way to shut off "Form must be full width"?

2003-01-19 Thread Oliver
> Someone else asked the same question in the past 7 days Actually, that was Rich himself: http://www.escribe.com/computing/pcpqa/m69117.html (or at least someone using his email address ). Rich, if you missed Ben's answer -- check out the archives in above's escribe thread. Oliver _

Re: Popup list memory errors

2003-01-19 Thread Oliver
> If I remove the fourth popup trigger, > all the problems go away. > Is there a maximum number of UI elements for one form I don't know the answer to that but you could easily test that theory: What happens if you remove one of the widgets that were there before and leave the fourth (new) popup

Re: Memory leaks

2003-01-19 Thread Keith Rollin
At 8:12 PM +0100 1/18/03, Stephan Veigl wrote: Hi Eric Some of them I really have no idea about since I don't recognize anything on the stack. (I've attached a log file). It's your job to do the clean up. There's a good article and samples that may help you at: http://www.fifthgate.org/article

Re: Moving PDB from 1 palm to another palm? HELP!!

2003-01-19 Thread Anthony Ng
It says: Invalid handheld file deleted: when i try to hotsync with my palm!! I would think that it will work, but it seem it doesn't? Do you know what I am doing wrong? - Original Message - From: "Oliver" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Sunday, J

Re: Local variable does not appear in CW debugger window *FIXED*

2003-01-19 Thread David Beers
Chris Antos wrote: > Compiler optimization. > Try turning off compiler optimizations. That did it, thanks! Never fiddled with those before. By copying one of the SDK example projects to start my own project I failed to notice that I adopted the setting for full optimization. "David Beers" <[EMAI

Re: Moving PDB from 1 palm to another palm? HELP!!

2003-01-19 Thread Chris Antos
Let's back up a step, then. What database is this, exactly? Is it a database created by an app you wrote? If yes, then probably your app actually has a bug that causes it to generate an invalid database. It's possible for an app to call certain Dm functions and accidentally make the database inva

Re: Moving PDB from 1 palm to another palm? HELP!!

2003-01-19 Thread Anthony Ng
It is a custom database created by my app. My app is customly written to collect certain type of data. Can you be specific on what kind of dm functions that could accidentally make the database invalid? I create the database using DmCreateDatabase(1, "databasename",0,0,0); Could it be that my da

Re: Mac POSE Problems

2003-01-19 Thread Scott Gruby
In article <109644@palm-dev-forum>, Stuart Eichert <[EMAIL PROTECTED]> wrote: > On Sat, Jan 18, 2003 at 08:00:20AM +, Sean Charles wrote: > > > The only thing I carbonize regularly is toast for breakfast. The > > Soda-Stream broke from over-use. > > Speaking of Carbon and serial ports (not

where can I get the SDK for 5-way navigator code.

2003-01-19 Thread jacky_sun
Dear All, Where can I get the SDK for 5-way Navigator of Tungsten T? How to use it? Many Thanks. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: way to shut off "Form must be full width"?

2003-01-19 Thread Richard Coutts
> > Someone else asked the same question in the past 7 > days > > Actually, that was Rich himself: > > http://www.escribe.com/computing/pcpqa/m69117.html > > (or at least someone using his email address ). > > Rich, if you missed Ben's answer -- check out the > archives in above's escribe thread. >

Re: Moving PDB from 1 palm to another palm? HELP!!

2003-01-19 Thread Chris Antos
> Can you be specific on what kind of dm functions that > could accidentally make the database invalid? That's a pretty open-ended question! One that I ran into myself, is that if you have a resource DB then there must be no duplicate resource IDs, or else the resource DB can't be installed via H

Re: where can I get the SDK for 5-way navigator code.

2003-01-19 Thread Oliver
> Where can I get the SDK for 5-way Navigator > of Tungsten T? This is quickly becoming the #1 FAQ in this group, it seems. Let me ask you this -- where did you look for it so far? ;-) Oliver __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affor

where can I get the SDK for 5-way navigator code?

2003-01-19 Thread jacky_sun
Dear All, Where can I get the SDK for 5-way Navigator of Tungsten T? How to use it and how to implement the 5-way Navigator Control Support? Many Thanks. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Local variable does not appear in CW debugger window

2003-01-19 Thread Ben Combee
At 15:41 2003-1-19 -0700, you wrote: I'm debugging an app that borrows a good deal of code from the SDK samples and having a curious problem. When I step through to what appears to be the offending function I notice that one of the local variables declared in the function doesn't display in the d

Re: CW8 and OS-5 serial debug...

2003-01-19 Thread Ben Combee
At 14:11 2003-1-19 -0500, you wrote: Does anyone know if Codewarrior 8 is capable of debugging an application running on OS-5 via a serial adapter? It can make an attempt, but it will have problems stepping on OS 5 devices due to a bug in the 68K emulation on the device that affects the debugge

Executable AppInfo Block

2003-01-19 Thread Luc
Hey Everyone, Does anyone here know how the version and icon data is stored in a PRC file? I'm assuming its buried in the appInfo block, but I've been unable to find any specific information about this. I know there is a 2 byte version value in the database header, but what I'm after is the actu

Getting the data as quick as possible

2003-01-19 Thread Dan Patrutiu
Hello... My question right now is : I have a database in the storage heap, the data is in a specific format (my format, but this is not relevant for the question). I use 32 bits integers. I have a routine that reads a WORD(16 bits)value and increases the data pointer with 2, and a

Re: Executable AppInfo Block

2003-01-19 Thread Ben Combee
At 20:00 2003-1-20 +1300, you wrote: Hey Everyone, Does anyone here know how the version and icon data is stored in a PRC file? Yes. I'm assuming its buried in the appInfo block, but I've been unable to find any specific information about this. Nope. The version info is stored in two place

Re: Getting the data as quick as possible

2003-01-19 Thread Chris Antos
I don't know the answer to your question offhand. But I know an easy way for you to find out the answer yourself. Try it each way, in a loop of 40,000 iterations or so, and time it. Whichever one is faster ... is faster! :-) That's the surest way to obtain an answer and have high confidence in i

Re: Local variable does not appear in CW debugger window

2003-01-19 Thread Sean Charles
Once upon a time, a VAX debugger informed me 'Variable has been optimized away' when I tried to print it. Have you got any level of optimization turned on? Inside the loop the value of flags is constant, it smells like not only has the compiler unrolled some of the loop it's unloaded some of

Re: Getting the data as quick as possible

2003-01-19 Thread Dan Patrutiu
I know I can do this thing, but let's say I'm interested in the technical details too. So if one of them is faster, I would really like an explanation in the terms of the Dragonball processor's details. So if somebody knows this, I am very curious. Else, I will time the routines and close my eyes :