Re: LstSetListChoices

2003-08-14 Thread Steve K
Dave, Thank you for the advice. I am having a real hard time dealing with Memhandles and char*s. Been awhile since i'm done C programming and never played on a palm before. Anyway, you have cleared things up quite a bit with your advice, however, I am still not getting the list to load. I

Re: How to use Radio Button

2003-08-14 Thread Mark Cameron
Though it rarely happens, I disagree (somewhat) with Ben on this one. I think pushbuttons should be used in general, and that we should use the UI guidelines for Palm OS when possible. But an increasing number of apps (like ours) are targeting a user base that is not familiar with Palm OS. In

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

2003-08-14 Thread Douglas Handy
Bullshark, I think too much is made of this. A list of 500 items with an average width of 10 characters consumes 7500 bytes. Is this a big deal? It amounts to .3% of the memory available on a lowly PIII or Zira. Yes, it's true that a palm chock-full other programs and records brings the ceiling

Re: Recomnd 16-Bit editor/converter?

2003-08-14 Thread Aaron Ardiri
BITMAPFAMILYEX ID ULHome BEGIN BITMAP ULHome1bppD1.bmp BPP 1 DENSITY 1 BITMAP ULHome8bppD1.bmp BPP 8 DENSITY 1 BITMAP ULHome8bppD2.bmp BPP 8 DENSITY 2 TRANSPARENTINDEX 211 BITMAP ULHome24bppD2.bmp BPP 16 DENSITY 2 // --- barf END sounds like a bug in pilrc that ships with CWr9 :)

Re: Error while deallocating memory

2003-08-14 Thread wterreblanche
I think you problem is probably that you are performing the clean-up portion in the wrong place. It should be executed in AppStop or frmCloseEvent. What you can do is to have two global parameters declared as follows: static char **GprogramsArray static UInt16 GnumItems Then at the end of

Re: MemHandleSize - MemHandleResize

2003-08-14 Thread bullshark
On Fri, 8 Aug 2003 10:35:28 -0300, rguevara [EMAIL PROTECTED] wrote: I have some questions about those functions: MemHandleSize work over one chunk unlocked? Documentation is silent on locked vs unlocked. It should work either way, if i do: recordH = DmGetRecord(PedidosDB, NuevoIndice); and

Re: MemHandleResize

2003-08-14 Thread Dave Carrigan
On Fri, Aug 08, 2003 at 12:50:21PM -0300, rguevara wrote: more clean: i can resize one handle what was assignaded with DmGetRecord() ? Don't use MemHandleResize, use DmResizeRecord. -- Dave Carrigan Seattle, WA, USA [EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680

Re: Error while deallocating memory

2003-08-14 Thread Andres Ramirez
ok, this works for me without any problem it has to be done in 3 stages 1.- statics or globalls variables for the pointers static Char* p_strChoicesP; static Char** p_strChoicesPP; 2.- Filling the list dinamically, using the pointers, in the function that loads the List UInt16

Palm ZIRE dynamic heap size

2003-08-14 Thread HermesPalm
Hi all, can anyone tell me how much dynamic memory has a Palm Zire with only 2 MB of memory, OS 4.1 Thanks, Ciprian -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Http connection library on Palm?

2003-08-14 Thread Khaki Wizard
Hi, I need to do some HTTP connection stuff on Palm but it seems that only Palm VII support INet library. I'm wondering if there is an alternative HTTP library for all the Palm platforms built on Net library. Thanks, __ Do you Yahoo!? Yahoo! SiteBuilder -

Re: Multiplatform IDEs

2003-08-14 Thread Aaron Ardiri
we also have an emulator (not going to mention what machine) running in SHARK, boasting full speeds on *all* 4 four platforms in ARM mode. the exact details are covered by an NDA - but, we'll post info when we can *g* Sounds like that's probably Liberty yeah?? :-) actually, its not!

Re: MemHandleSize - MemHandleResize

2003-08-14 Thread rguevara
Sorry was a error recordH is equal a registroH i traducing bad... Now use DmResizeRecord and work, but not can lock the handle! -- Open WebMail Project (http://openwebmail.org) -- Original Message --- From: bullshark [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED]

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

2003-08-14 Thread bullshark
On Fri, 08 Aug 2003 14:17:36 -0400, Douglas Handy [EMAIL PROTECTED] wrote: Other programs and records has nothing to do with it. That affects the storage heap size, not the dynamic memory size. Every Palm OS has the total memory allocated by the manufacturer with a fixed allotment between

Re: Palm ZIRE dynamic heap size

2003-08-14 Thread Nicolas Pabion
IF you check the Palm SG PluggedIn FAQ, you'll see it has121KB of dynamic heap (assuming device was just hard-reset). Nicolas HermesPalm [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, can anyone tell me how much dynamic memory has a Palm Zire with only 2 MB of memory, OS

Re: Replace Substrings

2003-08-14 Thread Chris Apers
Try this one, if you optimize it, let me know : UInt16 StrReplace(Char *ioStr, UInt16 inMaxLen, const Char *inParamStr, const Char *fndParamStr) { Char *found; Boolean quit = false; UInt16 occurences = 0; UInt16 newLength; UInt16 l1 = StrLen(fndParamStr); UInt16 l2 = 0; UInt16 l3 =

Re: graphic button

2003-08-14 Thread Aaron Ardiri
You could start the color suport in your startup code. There's some examples in the archives of this list (one very good from Aaron Ardiri, a simple loop that sets the maximum color support, if I'm not wrong). you mean this? UInt32 depthsToTry[] = { 16, 8, 4, 2, 1 }; UInt32

Re: Unable to connect to Palm Device using Palm Debugger

2003-08-14 Thread apple k
I'm using Palm which version have 4.0, 4.1 and 3.5. In that case, how should i do for the next step since the palm version i used are still valid for the Debugger? --- Ben Combee [EMAIL PROTECTED] wrote: At 02:14 AM 8/7/2003, apple k wrote: Hi, I'm using CodeWarrior's Palm Debugger and try

[Newbie] Hi-rez icons

2003-08-14 Thread Pablo Montilla
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello! What is the resolution of the OS5 icons? I'm using 32x22 pixel icons, but the icons in the launcher seem to be 64x44 or something like that. Is there a way to set hi-rez icons for an app with PiLRC? Thanks, Pablo - -- The things we fear

Re: Similar Utility to palmdump

2003-08-14 Thread nmailey
Have you guys figured out how to get par to print out ascii value of a pdb stored Int? I've packed my records, as follows: typedef struct { UInt32 *orderQty; Char key[1]; } PackedOnOrder; But my Int values aren't translated to ascii? They are dumped out as '...' or something similar.

Re: code

2003-08-14 Thread Ben Combee
At 01:41 PM 8/7/2003, Pablo Martin Vera wrote: Is there any tool in codewarrior that automaticaly add new files and clases where I add a new form resource?? Nope. We had intended of getting that working in V9, but it slipped off the schedule during development. -- Ben Combee [EMAIL PROTECTED]

RE: Codewarrior Runtime Lib probs

2003-08-14 Thread Ben Combee
At 01:43 PM 8/6/2003, Mike Shubeck wrote: 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

Re: CRC check of an entire application

2003-08-14 Thread Eric Potter
When I open the app database, DmNumRecords and DmNumResources return the same value. Is this a coincidence or are resources glorified records? On Mon, 04 Aug 2003 14:29:28 -0500, Ben Combee [EMAIL PROTECTED] wrote: At 02:27 PM 8/4/2003, Eric Potter wrote: I need to do an integrity check of an

Re: Allow Numeric Fileds to Accept the Minus sign

2003-08-14 Thread José dos Santos Machado
Alan Ingleby escreveu: Régis Daniel de Oliveira [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] How can i make a numeric field accept the minus (-) field? Short answer : You can't. Use a non-numeric field, and filter the keydown events. Long answer: You can use a workaround for this.

SslLibCreate crash

2003-08-14 Thread rajan
When I make a call to SslLibCreate when the previous close of the same application did not call SslLibDestroy, it crashes. Any idea on how this crash could be avoided. regards, rajan -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: tables

2003-08-14 Thread Alan Ingleby
Except you might want to budge the line out by one pixel to avoid the table drawing function overwriting your lines. Ralf Krauss [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I think there is no special funktion... ...use TblGetBounds to calculate the rectangle of the table and

Dear Mr. Ripley

2003-08-14 Thread Dave Mottorn
I'm using DmSetDatabaseInfo to change the name of a file. It seems that sometimes it doesn't get rid of the old file. After you do your DmSetDatabaseInfo you have two identical files with different names. I'm having to delete the old one to be sure. Has anyone else noticed that? regards, Dave

pdb file

2003-08-14 Thread henry
Dear All, I would like to ask how can i get data from a pdb file which contains data in excel format. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: About CNetLibClientStream

2003-08-14 Thread gamepower111
I use the following codes to implement sock communication with server (done in VC): CNetLib nlib; nlib.Open(); CNetLibClientStream clientSock(nlib, netSocketTypeStream, netSocketProtoIPTCP, localhost,6060, ); clientSock msg; //msg = hello Char

Re: C++ virtual functions

2003-08-14 Thread Brad Figler
I am pretty sure that a vtable entry for this function will be created. This is due to the fact that once a function is declared virtual, it is always virtual in all derived classes. I don't think there is an exception for pure virtual function declarations, but I am not completely positive. I

RE: Reference numbers in shared libraries

2003-08-14 Thread Jeff Ishaq
-Original Message- From: LionScribe Sent: Thursday, August 14, 2003 12:13 PM When creating a shared library, is it possible for an internal library function to determine the current libraries reference number? Do you mean when you are writing a shared library? When a library

Re: Reference numbers in shared libraries

2003-08-14 Thread Alan Ingleby
Jeff Ishaq [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Sometimes I can't pass the refNum as a parameter, like in Application-defined functions. LionScribe I don't follow you. If your application has installed / loaded a shared library, then it must know that library's

<    1   2   3   4   5