Re: Error while deallocating memory

2003-08-08 Thread Steve K
Boris, Although I do not have a solution for you, I too am attempting the same type of list manipulation. I have taken your code as an example, however am running into problems. My code is similar to yours, however, I am not reading the info from a DB instead it is hard coded. You said that

RE: Codewarrior Runtime Lib probs

2003-08-08 Thread Mike Shubeck
Maybe your target type is wrong. For the Project Type I have Palm OS Application (Target Type renamed to project type in 9?). Thats what it should be right? And just to try to throw out some more clues, on the 68k Target page I have Standard Mode (A5-relative data). -- For information on

Re: Soft Reset Application Launch

2003-08-08 Thread Brad Figler
I had the same problem. To get around this, during the sysAppLaunchCmdSystemReset, I set my app to the default application (see system preference - prefDefaultAppCreator ) and then reset it back to the default during the normal launch. The reason I set it back to the default is that I only want

Tungsten C debug mode

2003-08-08 Thread Ken
Hi, I have been trying to use the Tungsten C in debug mode (shortcut ..2). I have been using CW8 but I can also use CW9. 1. Does the USB port work for debugging (CW8 or CW9)? 2. I have tried several methods to put the Tungsten C to do the shortcut ..2 but it does not seem to work? Thanks, Ken

RE: Breakpoint stopping code, But I removed it!

2003-08-08 Thread Randall Pulsifer
-Original Message- Subject: Re: Breakpoint stopping code, But I removed it! At 06:44 PM 8/3/2003, Randall Pulsifer wrote: Anyone have any tips on how to remove a breakpoint that just won't quit? snip Only odd thing - it doesn't stop with the solid blue arrow,

MemHandleResize

2003-08-08 Thread rguevara
more clean: i can resize one handle what was assignaded with DmGetRecord() ? -- Open WebMail Project (http://openwebmail.org) -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: How to use Radio Button

2003-08-08 Thread Aaron Ardiri
We have a survey app. Many people simply expect radio buttons, and won't accept pushbuttons as an alternative. So I finally gave in and used gadgets to implement this, and that opened me up to a whole new world of Palm UI programming. use checkboxes - specifying the 'group' on each

Re: Tungsten C debug mode

2003-08-08 Thread Ben Combee
At 08:53 AM 8/7/2003, Ken wrote: Hi, I have been trying to use the Tungsten C in debug mode (shortcut ..2). I have been using CW8 but I can also use CW9. 1. Does the USB port work for debugging (CW8 or CW9)? Yes, but only from V9. 2. I have tried several methods to put the Tungsten C to do the

Re: LstSetListChoices

2003-08-08 Thread bullshark
On Thu, 7 Aug 2003 23:46:16 -0700, Steve K [EMAIL PROTECTED] wrote: I have read many a posts on this question, however, none seem to be working for me. I have attempted to simplify this with no results. I am no longer getting fatal exceptions, however nothing is happening. What is the key

Re: How to use Radio Button

2003-08-08 Thread Aaron Ardiri
Aaron, that's a good idea in general. But our users are a bit hung up on the round thing, since that's what they're used to for web and PC surveys. It's a visual cue to interviewers and respondents. After 3 years of hearing the complaints, I finally gave in. :) you know that the [ ] an

DmAttachRecord with MemHandleNew

2003-08-08 Thread Todd Niec
Is it possible to use DmAttachRecord with memory that was allocated with MemHandleNew()? The documentation doesn't say you can't, but it seems like I get weird behavior if I try this. thanks todd, niec -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: prc-tools question

2003-08-08 Thread John Marshall
On Fri, 08 Aug 2003 08:04:29 -0500, Mark Slagell [EMAIL PROTECTED] wrote: # palmdev-prep Checking SDKs in /opt/palmdev sdk-4 headers in 'include', libraries in 'lib' [...] When GCC is given no -palmos options, SDK '4' will be used by default [...] Next 'make' had the same no genuine

Re: Strange issue

2003-08-08 Thread Alan Ingleby
Engi [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] In fact, my value column have textTableItem style when there is no note and textWithNoteTableItem style when there is a note. In this case, the note indicator is shown by the system. Unfortunately, I never change the font in my

Codewarrio stack usage with temporaries

2003-08-08 Thread Todd Niec
How does code warrior handle stack usage for unamed temporary variables? I have a procedure that creates lots of unnamed temporary variables as a result of conversion operators. I can see that, in terms of constructors and destructors, these temporaries are being created and destroyed as the

Re: Mapping software w/ external interface?

2003-08-08 Thread Sebastian Cancinos
Brian, I don't quite understand your request. I made a mapping software that takes coordinates form a GPS via Serial connection. I could give you some pointers on that. But what do you mean with 'external programm'? Sebas --- Brian Smith [EMAIL PROTECTED] wrote: Kind of a niche question, but

Re: LstSetListChoices

2003-08-08 Thread Dave Carrigan
On Thu, Aug 07, 2003 at 11:46:16PM -0700, Steve K wrote: I have read many a posts on this question, however, none seem to be working for me. I have attempted to simplify this with no results. I am no longer getting fatal exceptions, however nothing is happening. What is the key ingredient

Re: LstSetListChoices

2003-08-08 Thread Steve K
I thought about that and have tried that, still nothing. I also tried commenting out the MemHandleFree line to see if it would crash... which it isn't doing either. So after calling this function, I get no error, and no data showing up in the list. I am at a total loss as to what is going on.

Re: LstGetSelectionText() - Memory Allocation ?!?!

2003-08-08 Thread Ben Combee
Ah, but you see, incremental search is available only for popup lists (I'm not sure what the rationale is for that restriction), and you can't roll your own for those, because there's no means to intercept List events... Popup lists have their own modal event loops, which means they have a

Re: LstSetListChoices

2003-08-08 Thread Steve K
I think I should also note that I am using this list with a pop-up list. Not sure if that makes a difference or not, but thought I would mention it. tia, Steve K Steve K [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Dave, Thank you for the advice. I am having a real hard time

Re: LstGetSelectionText() - Memory Allocation ?!?!

2003-08-08 Thread kcorey
On Tue, 2003-08-05 at 10:43, bullshark wrote: 2) Allocate an array from dynamic memory for the strings and copy all the strings into memory. That's the ticket. 'Dynamic'. Copy is what you do when you draw. The difference is that with a LstSetListChoices you have access to the list after you

Re: Palm ZIRE dynamic heap size

2003-08-08 Thread Douglas Handy
Bullshark, can anyone tell me how much dynamic memory has a Palm Zire with only 2 MB of memory, OS 4.1 No. Available memory depends on memory use. It's not a fixed number. Wrong. It is a number fixed by the manufacturer. Adding applications or database records has *no* affect on the number.

sizeof

2003-08-08 Thread Engi
Hi, Is someone could explain me this : sizeof(DateType) = 2 sizeof(Char) = 1 typedef struct { DateType date; Char value; } stACTIONS; sizeof(stACTIONS) = 4 ??? Why sizeof(stACTIONS) is not 3 ? Engi -- For information on using the Palm Developer Forums, or to unsubscribe, please see