Re: graphic button

2003-08-14 Thread José dos Santos Machado
Pablo Martin Vera escreveu: i´ve created a graphic button and I assigned it two 16 color bitmap images. When I start the aplication I see the in black and white not in color. Please tell me how to solve it. You could start the color suport in your startup code. There's some examples in the

Re: How know the name fields of PDB file

2003-08-14 Thread drvirens
Please, can you explain your question in more details ? Do you wanna know the names of the fields of a PDB file ? If so, I am sorry that is not possible to do since the PDB does not store the names of fileds anyway. It stores the records as raw data. It is the programmer who has to interprete

Re: Bitmap offscreen window larger than 64KB?

2003-08-14 Thread Aaron Ardiri
Is it possible to use BmpCreate() to create a bitmap larger than 64KB, say 640x480 8bpp, and use it to build an offscreen window for double-buffer paint purpose? Or I have to draw such large dynamic BMP with WinDrawPixel() directly on the screen? BmpCreate can allocate memory chunks 64K

Re: sizeof

2003-08-14 Thread Engi
On Saturday, August 09, 2003 9:35 PM [GMT+1=CET], Carsten [EMAIL PROTECTED] wrote: most (some.. ;) compliers have the ability to define the struct alignment. Is it the case with CW ? -- For information on using the Palm Developer Forums, or to unsubscribe, please see

PalmGear StreamLync MathLib, etc.

2003-08-14 Thread Brian Smith
Since I haven't a response from PG on this yet (after a week), and there are likely others in the same boat on this list, I figured I'd ask this here as well. I have an app that is now partially dependant on MathLib. I say pertially dependant, because only one feature needs it, and the app will

RE: Recomnd 16-Bit editor/converter?

2003-08-14 Thread Randall Pulsifer
For anyone following this thread - it's nice to note that while the 24bpp version starts out (as 1/4 of the 320x320 screen) at 76K, pilrc converts it nicely to a 16bpp image and the result generated by adding a 4k 1bppD1 version, which is required to satisfy some limitation or other (is this still

Re: Strange issue

2003-08-14 Thread Engi
On Thursday, August 07, 2003 1:48 AM [GMT+1=CET], Alan Ingleby [EMAIL PROTECTED] wrote: Engi [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] When my records don't have any note, all is fine. But if I add a note, all the characters which are drawed after the note indicator are weird.

Re: new and delete in Palm

2003-08-14 Thread Dave Carrigan
On Wed, Aug 13, 2003 at 07:42:06PM -, drvirens wrote: Dave, would you please take this opportunity and let us know furhter in this direction ? I have read somewhere that palm devices dont have any MMU. Let me keep it in this way please...My understadning is that Palm OS does not

Re: How to use Radio Button

2003-08-14 Thread Ben Combee
At 02:10 AM 8/8/2003, Marianne wrote: Hello, Is there a way to use Radio Button? I found that Push Button is used instead of Radio Buttons, but I want the actual look and feel of Radio Button.. You can draw your own using gadgets. Radio buttons are not supported on Palm OS. You should use

Pilot Link Question???

2003-08-14 Thread nmailey
I've got a bunch of include files on my UNIX box, with names such as: pi-args.h, pi-cmp.h, pi-dlp.h, and many more... beginning with 'pi-' I'm guessing from what I've Googled so far that they're a part of Pilot-Link or at least a modified version of it. Does anyone have a link to the

Re: putting a CLIE into console mode

2003-08-14 Thread Eric Allen
Oh, okay. Thanks! Ben Combee [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At 10:39 AM 8/10/2003, Eric Allen wrote: How exactly do you do it? I have USBPort.dll in the bin folder, I have CodeWarrior 9, I've tried both dotdottwo and actually punching in the shortcut. Nothing

Re: pdb file

2003-08-14 Thread rguevara
exist the pdb2csv in the palm-db-tools-0.1.2 , i can convert csv to pdb, but even not can convert correctly pdb to csv , always display this message: ./pdb2csv: unable to determine database type somebody know the cause? influence much the .inf file? sorry for my bad english... -- Open WebMail

bitmap movie

2003-08-14 Thread John McDowell
I have a series of bitmaps which when run one after another form a crude movie. I put them into a loop and I would like the movie to keep running until the user taps the screen. What is the best way to break out of the loop? John Mc -- For information on using the Palm Developer Forums, or

Emulator

2003-08-14 Thread henry
Hi everybody, Could any one tell me how to hotsyc in my emulator? what config have to set? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Why are offscreen bitmaps so big?

2003-08-14 Thread kcorey
On Thu, 2003-08-14 at 16:51, kcorey wrote: Hi All, I've run into a strange thing that's killing my application on a Tungsten|T device. I've set the screen to 320x320x8. (The screen cleared and there was no error, so far so good). I then set the coordinate system to the native coordinate

Re: HotSynk trouble

2003-08-14 Thread Ben Combee
At 03:19 AM 8/14/2003, Eugene wrote: Hello, We are developing testing program on CodeWarrior 9.0. When we try to install prc file to Palm M550 it stops during HotSync operation. And it's written cleaning up on the palm screen. And then only hard reset helps. When we do this on emulator it works

no subject

2003-08-14 Thread Christian Lindemeier
Hello I tried to implement a TableLoadDataFuncType: TblSetLoadDataProcedure (table, attribColumn, drawLabel); Everything I got from it was some strange signs: ŸŸŸ I cut every piece of code out of it to elimate every possible failure source. But the result is still the same, so I think I'm

RE: Coding Standards

2003-08-14 Thread Jeff Wheeler
Jeff: 4. Tabs set to four spaces. Stuart: 4 space good, two space bad? This sounds like a religious war in the making. So I say 2 spaces for a tab and don't use tab characters. If you can cleanly fit your code into 80 columns that would also be nice (though I realize that is unlikely

Re: Bitmap offscreen window larger than 64KB?

2003-08-14 Thread Khaki Wizard
Actually I just want to create a blank bitmap for double buffer purpose, not from a resource. The pixels are generated programatically. I looked at the Palm API reference and it seems that BmpCreate can create a bitmap larger than 64K. Anybody can verify that? Thanks --- José dos Santos Machado

RE: new and delete in Palm

2003-08-14 Thread Ben Combee
At 05:34 AM 8/13/2003, Mayank Babu Rastogi, Noida wrote: Hi Chris, Thanks. Palm OS 5 API reference document doesn't talk about new and delete. Is there any additional library which provides these functions ? They aren't mentioned in the API reference as these aren't OS functions, but the

Re: Coding Standards

2003-08-14 Thread Stuart Eichert
4. Tabs set to four spaces. Jeff 4 space good, two space bad? This sounds like a religious war in the making. So I say 2 spaces for a tab and don't use tab characters. If you can cleanly fit your code into 80 columns that would also be nice (though I realize that is unlikely for Palm

OS5.2: has SysNotifyBroadcastFromInterrupt WakeupHandler been fixed ?

2003-08-14 Thread Steve Mason
Hi all. I'm stumped by a problem with OS 5.0 where the PACE environment in that OS does not support SysNotifyBroadcastFromInterrupt() and is inconsistent with a serial wakeup handler (set by SrmSetWakeupHandler). (See copy below of an FAQ taken from the PalmSource KnowledgeBase that details this

Data call notification in Telephony Manager

2003-08-14 Thread Geoff Day
I'm using a Tungsten W with GSM, I've registered for notifications using the kTelTelephonyNotification constant and all is well for incoming voice calls (I get launched with sysAppLaunchCmdNotify). However incoming data calls don't give me a notification - anyone know how I can enable that? The

Re: fill a seperated area of a form

2003-08-14 Thread Hal Mueller
You'll have to draw it yourself using the WinPaint/WinFill/WinDraw routines (Rectangle, FilledRectangle, Line), or use a bitmap. There's no high-level way to define it in terms of form functionality. H -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: new and delete in Palm

2003-08-14 Thread Dave Carrigan
On Wed, Aug 13, 2003 at 10:11:29PM -, drvirens wrote: Dave, The 64K limitation I think is an arbitrary choice. If I recall correctly, the chunk header allows up to 16M chunks, but they limit it to 64K because the hotsync protocol only supports up to 64K record sizes. Again, I

Re: Non-relocatable chunk leaked

2003-08-14 Thread Sebastian Voges
the dump from the log file is as following. any clue? thanks. 0.000: WARNING: 0.000: WARNING: Memory Leaks 0.000: WARNING: 0.000: WARNING: Begin Memory Leak Dump 0.000:

Re: Sorting Records Question (Newbie)

2003-08-14 Thread Brad Figler
Read the palmOS API reference! Under Data and Resource Manager you will find a list of functions that you can use to operate on palm databases. Look at DmInsertionSort and DmQuickSort for two sorting options. No tutorial required! ~Brad Julio Sejtman [EMAIL PROTECTED] wrote in message

Re: memory leak

2003-08-14 Thread gamepower111
Thanks a lot!! Dave Carrigan [EMAIL PROTECTED] ??:[EMAIL PROTECTED] On Thu, Aug 14, 2003 at 12:53:10AM +0100, gamepower111 wrote: In the FormHandleEvent function, i used the following codes, when the form can be closed correctly and return to the main form of the project. but if i

Re: Low Memory - (Newbie Ques)

2003-08-14 Thread nmailey
This is not such a good idea because StrAToI doesn't like NULL pointers, and if the user has never entered something into the field, then it will complain. It actually does fine thus far. But, I see where the concern is. Good practice would be to get the Ptr, check for NULL, and then assign

Re: Non-relocatable chunk leaked

2003-08-14 Thread gamepower111
From the size of the log file, it looks the leaks come from the link-list. The log file contains the following sentence: Non-relocatable chunk leaked at 0x0003C460, size = 24 Looks like you allocated the memory by MemPtrNew() [ or new if C++ ] and then forgot to de-allocate it. Would

Re: new and delete in Palm

2003-08-14 Thread Dave Carrigan
On Wed, Aug 13, 2003 at 12:57:15PM -, drvirens wrote: AFAIK, the implementation of new keyowrd on Palm is such that it always calls the MemPtrNew() API of the Memory Manager internally...so you are really given a direct physical address by the system. Since this poiner is not locked,

Fw: Re: How know the name fields of PDB file

2003-08-14 Thread drvirens
Thanks Doug for that explanation. And nice to see ya' after a long time. :-) No, things fell apart because you made the assumption the recordlist info would follow a 78 byte header. Per the Palm OS docs you need to account for the AppInfoBlock, if present, and the SortInfoBlock, if

Re: Palm Emulator

2003-08-14 Thread Steve K
I appreciate all the feedback. It runs smoothly now, and makes much more sense. Thanks, Steve Dave Carrigan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Wed, Aug 13, 2003 at 05:24:44PM -0700, Steve K wrote: In that case, I'm curious what is wrong with this code that runs

Armlets

2003-08-14 Thread Paul Johnson
Hi. I have a massive project I need to convert to palm os5. I've stubbed out all the platform dependent stuff finally, and am about to start a conversion proper. Where's the best place to learn about armlets and how to use them. Please note I know nothing about them at this point and have only

Re: Testing - Sorry

2003-08-14 Thread Viren
Thats okay. :-). I did something same yesterday afternoon. Welcome to dev-forum. -Viren -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: new and delete in Palm

2003-08-14 Thread Ben Combee
The 64K limitation I think is an arbitrary choice. If I recall correctly, the chunk header allows up to 16M chunks, but they limit it to 64K because the hotsync protocol only supports up to 64K record sizes. Palm OS 1.0 and 2.0 had memory heaps that were limited to 64K, so it wasn't actually

Graying of controls on disabling

2003-08-14 Thread Marianne
Hi, I have designed a form which has a slider control, checkbox and push buttons.. When i disable these controls, i want it to be grayed-out... Is there anyway to do this.. Thanks in advance Marianne -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Graying of controls on disabling

2003-08-14 Thread Ben Combee
At 04:48 AM 8/13/2003, Marianne wrote: Hi, I have designed a form which has a slider control, checkbox and push buttons.. When i disable these controls, i want it to be grayed-out... Is there anyway to do this.. This is non-standard Palm OS UI. There is no support in Palm OS for grayed

Re: UI internationalization?

2003-08-14 Thread Ken Krugler
I want to make my UI application internationalized . What is the procedure to start with this . Read the Localized Applications section of the Palm OS Companion documentation. From where can I get the overlay resources ? You don't need these to create a localized application. Overlays are a

Re: new and delete in Palm

2003-08-14 Thread Ben Combee
At 05:36 AM 8/13/2003, Chris Apers wrote: Don't think so, just enable C++ compiler in your project. I use them with no problem. Don't use the Enable C++ Compilation switch in CodeWarrior. CW will always build a .cpp or .c files as C++. This switch just forces it to also build .c files as C++,

Re: Low Memory - (Newbie Ques)

2003-08-14 Thread nmailey
Where are you allocating memory that your orderQtr pointer will point to. I suspect that orderQtr should really be a UInt32, not a pointer to a UInt32. The same question goes for key and desc. Unless you allocate space somewhere in memory and stick a pointer to that space into the fields,

Re: How know the name fields of PDB file

2003-08-14 Thread Thomas Damme
Hi, some CSV-PDB Converters store the field names in the AppInfoBlock of a database. Take a look at DmDatabaseInfo to retrieve the AppInfoBlock if it is there. Some FileManagers also show you, if a InfoBlock is there so check this first before you do too much work. Thomas rguevara [EMAIL

Re: Testing - Sorry

2003-08-14 Thread Julio Sejtman
Testing Sorry -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: Palm Emulator

2003-08-14 Thread Scott Johnson
From: Steve K [mailto:[EMAIL PROTECTED] Is there something wrong with setting fldAttr to NULL before calling FldGetAttributes? FieldAttrType* fldAttr = NULL; FldGetAttributes(fldP, fldAttr); Yes, that's bad. You must pass it a valid pointer to an existing FieldAttrType object which

Re: lists (how to change scrollbar look feel)

2003-08-14 Thread Dave Lippincott
Draw the list and the scroll bar. Handle the scroll bar messages and update the list manually. Its not as hard as it sounds. If your app displays a scroll bar and handles the events, you can force the list to do whatever you want. As far as not displaying the list scroll arrows, you can set

Re: new and delete in Palm

2003-08-14 Thread Paul Johnson
Nice! That's about like saying the display is limited to 160x160 because there are 52 wednesdays in 2003. Not that I'm bitter about trying to use large datasets you understand :) The 64K limitation I think is an arbitrary choice. If I recall correctly, the chunk header allows up to 16M chunks,

RE: (Newbie) Howto send and receive files??

2003-08-14 Thread Jeff Ishaq
-Original Message- From: Ricardo Marques Sent: Wednesday, August 13, 2003 8:29 AM For example, the user would go to the menu and press Send File, after which a form would appear asking which file the user would like to send and allowing to indicate it. How can I do that? That

Re: using versamail and the exchange manager

2003-08-14 Thread Manohar Chapalamadugu
I don't really know whether Versamail supports Exchange Manager. However, the best way to send an email using Exchange manager is to use the mailto URL scheme. You need to get the registered application(s) and popup a screen asking the user to select the email app. The default application (maynot

RE: new and delete in Palm

2003-08-14 Thread Keith Rollin
new and delete are not Palm OS functions, so you won't find them in the Palm OS reference. Instead, you should consult the documentation for your development system. -- Keith -Original Message- From: Mayank Babu Rastogi, Noida [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13,

Re: Any doc. about programming on Zire 71

2003-08-14 Thread L.M. Fridael
Eccles Kwong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Do anyone know, is there any document about the API for the built-in camera of Zire 71 ? You can get the Camera API docs at pluggedin.palm.com. (Registration required.) Regards -Laurens -- For information on using

Re: sending data bytes from a PALM PDA to a server using a WIFI modem/card

2003-08-14 Thread blaman
the post belongs to the communication forum, but i´ll give you my code, i was trapped by the same problem for 3 days :o| By the way, the timeout occures when the header isn´t formatted properly, i had the same problem. so here you are: void SendHTTPLogin () { NetSocketAddrINType mySockAddr;

Re: Palm ZIRE dynamic heap size

2003-08-14 Thread Ron Nicholson
On Fri, 8 Aug 2003 11:23:37, Douglas Handy wrote: [bullshark wrote:] 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. Running enabled hacks may

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

2003-08-14 Thread bullshark
On Fri, 8 Aug 2003 11:32:23 +1000, Alan Ingleby [EMAIL PROTECTED] wrote: bullshark [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Yes I am. Deallocating is: if(pListTxt != NULL) //pretty hard { memPtrFree(pListText); //huh? pListText=NULL; //?? } Sounds like you're using

Re: Low Memory - (Newbie Ques)

2003-08-14 Thread nmailey
lmao... well isn't that just swell. Hey, thanks for bringin me up to speed Dave.. I'm going to see what book I can find on the matter.. I don't know of any good books in that regards, because I cut my teeth on pointers using an obscure language for the Atari 800 called Action. It was so

RE: Alternate Row Shading

2003-08-14 Thread Roger Stringer
Subject: Alternate Row Shading From: Jim Hoeger [EMAIL PROTECTED] Date: Tue, 5 Aug 2003 22:41:50 -0400 First of all, this is my first post to this newsgroup, I've searched the Internet, bought books on Palm and C and have searched every archive I could find. I'm in the process of finishing up a

Porting Tool(s)

2003-08-14 Thread Alan Ingleby
Does anyone know if there are any porting tools for PalmOS - PocketPC? I'm not asking for info on a multi-platform development environment (SHARK, Java, Basic etc..) as these typically require rewriting most of your code. I'm interested in a C API layer that wraps PalmOS calls to equivalent

graphical button

2003-08-14 Thread Pablo Martin Vera
I´ve added a graphical button on my project but when I enter the form I can´t see it. I associate the button with a bmp image inside de pirlc editor. Anyone knows how to solve this problem?? -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: TblSetCustomDrawProcedure() - illegal implicit conversion

2003-08-14 Thread Ben Combee
At 12:05 PM 8/12/2003, [EMAIL PROTECTED] wrote: That worked, but I'm now getting this error: 'illegal implicit conversion from 'void(*) (void *, unsigned short, unsigned short, struct RectangleType *)' to 'void(*) (void *, short, short, struct RectangleType *)' First of all, I'm only sending

Re: Bitmap offscreen window larger than 64KB?

2003-08-14 Thread Aaron Ardiri
I looked at the Palm API reference and it seems that BmpCreate can create a bitmap larger than 64K. Anybody can verify that? yes. simple proof = 320x320 @ 16bpp = 204800 bytes. any OS5 device can do that *g* you say you want a 640x480 buffer - you should probably stick to the size of the

Re: Okay to use DmWrite() on ordinary memory?

2003-08-14 Thread Alan Ingleby
Keith Rollin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Is it possible to use DmWrite() on ordinary memory? I have cases where Try it and see. My suspicion is that is will probably fail, as DmWrite is Ugh, I can't believe that advice just crossed this forum! Using that

Re: The PalmOs command line accept arguments for applications?

2003-08-14 Thread Ron Nicholson
On Mon, 4 Aug 2003 09:11:23, rguevara wwrites: LocalID dbID=DmFindDatabase(0,MultiMailPROIII); SysUIAppSwitch(0 , dbID, sysAppLaunchCmdNormalLaunch, NULL); the application start correctly but i dont know if this program or others accepts arguments for the launching. On Mon, 4 Aug 2003

RE: Breakpoint stopping code, But I removed it!

2003-08-14 Thread Ben Combee
I fixed the problem - it's not the IDE, it was just coincidence that the line that I had the breakpoint on (the diffC =...) did not cause an error when you stopped on it, then continued, but failed miserably when run at full speed. The difference lies in the treatment of pointers. As far as I

RE: Replace Substrings

2003-08-14 Thread Roger Stringer
Subject: Replace Substrings From: Jim Duffy [EMAIL PROTECTED] Date: Thu, 7 Aug 2003 01:22:18 -0700 Does anyone know a way to search through a string for all instances of a substring and replace them with a different substring? For example: string1 This[CR]is a [CR] Test I need to replace all

Replace Substrings

2003-08-14 Thread Jim Duffy
Hi all, Does anyone know a way to search through a string for all instances of a substring and replace them with a different substring? For example: string1 This[CR]is a [CR] Test I need to replace all the [CR] with the '\n' newline character.. I've tried using StrStr() and TxtReplaceStr()

Re: Bitmap offscreen window larger than 64KB?

2003-08-14 Thread Khaki Wizard
Nice finding. I also searched the old archives and somebody suggests use BmpCreate to get bitmap memory as malloc, which can be larger than 64KB. All kinds of tricks! --- José dos Santos Machado [EMAIL PROTECTED] wrote: Ben Combee escreveu: Is it possible to use BmpCreate() to create a

Re: putting a CLIE into console mode

2003-08-14 Thread Ben Combee
At 10:39 AM 8/10/2003, Eric Allen wrote: How exactly do you do it? I have USBPort.dll in the bin folder, I have CodeWarrior 9, I've tried both dotdottwo and actually punching in the shortcut. Nothing worked. Is it even possible to get it to work on a CLIE? None of the CLIE devices support

Re: Mapping software w/ external interface?

2003-08-14 Thread Brian Smith
On Fri, 8 Aug 2003, Sebastian Cancinos wrote: 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'? What I'm talking about is

Re: memory leak -- but where?

2003-08-14 Thread rguevara
Hi, use Char nameP[8]=['\0','\0','\0','\0','\0','\0','\0','\0']; and close all forms in the stop application routine with FrmCloseAllForms(), generally make the leaks. -- Open WebMail Project (http://openwebmail.org) -- Original Message --- From: David Martin [EMAIL PROTECTED] To:

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

2003-08-14 Thread Alan Ingleby
I doubt they'll every add it, since the existing API is capable of doing the job. Besides that, it's possible to simulate a text callback using the existing API.. Simply use the userDataP to hold your function pointer, then you only need to write one ListDraw function (which then calls your text

Re: prc-tools question

2003-08-14 Thread Mark Slagell
Aaron Ardiri wrote: did you actually unzip the sdk's to /PalmDev and then run palmdev-prep? ie: The sdks came in RPM form too, so I just installed them as such. However after reading your reply I did run palmdev-prep and got this: # palmdev-prep Checking SDKs in

Re: Unable to connect to Palm Device using Palm Debugger

2003-08-14 Thread apple k
when i ping, the error: Ping failed with error 0x0404. Remote device not responding. The COM I have used is working for the real hotsync. Pls advise as I did close the HotSync before do the connection on the Palm Debugger. --- apple k [EMAIL PROTECTED] wrote: Hi, I'm using CodeWarrior's Palm

RE: Codewarrior Runtime Lib probs

2003-08-14 Thread Ben Combee
At 02:17 PM 8/6/2003, Mike Shubeck wrote: Is something wrong with my install? I get the same thing by simply using C++ app wizard. Try rebuiling the Build All.mcp project in your CW for Palm OS Support folder. If you've recently installed a newer Palm OS SDK, it may have given you old versions

Re: SSL-Error NoTrustedRoot

2003-08-14 Thread Flex
Make a callback and return errNone Thomas Damme [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Folks, can somebody tell me, how I can overcome the problem of sslErrVerifyNoTustedRoot in the VerifyCallbackFunc? No matter which server I try to connect to, I always get this

Similar Utility to palmdump

2003-08-14 Thread nmailey
Hey all... Anyone have any fancy-smancy UNIX utilities that dump out ONLY the records from a pdb? As in, without header info and all that fun stuff... Nole Mailey Data Conversion Specialist ProfitMaster Canada 1.800.340.4492 www.pmcanada.com [EMAIL PROTECTED] -- For information on using the

LstSetListChoices

2003-08-14 Thread Steve K
It has been a few days and I have not heard on this, so I thought I would post again. I am trying to set the choices in a list using LstSetListChoices, and know I am getting very close to getting it to work. I call my function to populate the list and I receive no error and I get no data

Application/DB Install From Web

2003-08-14 Thread Ken
Hi, I would like to know if there is a web browser for the Palm that would install an application and the associated database directly to RAM and not to a memory card? Thanks, Ken -- For information on using the Palm Developer Forums, or to unsubscribe, please see

RE: pilrc rcp files and chinese characters

2003-08-14 Thread Ken Krugler
Hi there, I'm answering this based on some slightly out-of-date pilrc source that I've got, so it might not be accurate for the latest version. }I saw that pilrc supports GB/BIG5. Now which characterset must=20 }my rcp file be in? I mean, it could be UTF-8 or BIG5 or=20 }whatever. It has to be

Multiplatform IDEs

2003-08-14 Thread Sebastian Cancinos
We are thinking about making our software available for Smartphones, wich would mean porting the projects to Symbian and PPC. The leading idea right now is using J2ME, does anyone have experience with it? Do you recomend any other enviroment? Thx Sebas __ Do you

RE: Coding Standards

2003-08-14 Thread Keith Rollin
That's close to mine. Personally, I'd have it as: void MyFunc(Char* buffer, UInt32 type) { switch(type) { case 1:// This is an example with braces. { StrCopy(buffer, One); break; } case 2:// This is an example without

Re: Okay to use DmWrite() on ordinary memory?

2003-08-14 Thread Alan Ingleby
Todd Niec [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Is it possible to use DmWrite() on ordinary memory? I have cases where buffers might be stored in ordinary memory (stack, heap, or static globals) or might be in a record in a file and I would like 1 method to write to both

Re: Displaying gif and jpg images on Palm

2003-08-14 Thread Hal Mueller
That question was asked and answered 72 hours ago here. Sheesh. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: LstSetListChoices

2003-08-14 Thread bullshark
On Fri, 8 Aug 2003 09:51:28 -0700, Dave Carrigan [EMAIL PROTECTED] wrote: On Fri, Aug 08, 2003 at 12:26:13PM -0400, bullshark wrote: static char* gPlateString = PL3/16x\0PL1/4x\0PL5/16x\0PL3/8x\0PL1/2x\0PL5/8x\0; The above doesn't work. The compiler knows that dquote strings end with \0

Re: The PalmOs command line accept arguments for applications?

2003-08-14 Thread Jim Cooper
NormalLaunch doesn't accept arguments, but some PalmOS applications support other custom launch codes which allow an argument parameter block to be passed in. Indeed, which is why I suggested he look at launch codes :-) And there are a few 3rd party utility applications which will allow

RE: Palm Emulator

2003-08-14 Thread Eric Cloninger
Steve, You are abusing pointers. Your code should read void foo() { // Verify field attributes FieldAttrType fldAttr; FldGetAttributes(fldP, fldAttr); -E -Original Message- From: Steve K [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2003 7:25 PM To: Palm

Re: Codewarrio stack usage with temporaries

2003-08-14 Thread Ben Combee
At 02:30 PM 8/8/2003, Todd Niec wrote: 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

Re: newbie question: how to read a string from a MemHandle?

2003-08-14 Thread Gearoid Murphy
correction, should be err = MemHandleResize(h, MemHandleSize(h)+(len+1)); From: Gearoid Murphy [EMAIL PROTECTED] Reply-To: Palm Developer Forum [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Subject: Re: newbie question: how to read a string from a MemHandle? Date: Thu, 07 Aug 2003

Re: TblSetCustomDrawProcedure() - illegal implicit conversion

2003-08-14 Thread Ben Combee
I don't quite understand what you mean by adjust the actual type of the function I'm passing in... The return type of MainListDrawFunction is void, and the 2nd and 3rd parameters are of type Word being UInt16. I tried casting the everything to UInt16, as well as changing Word to UInt16 with the

Re: tables

2003-08-14 Thread Ralf Krauss
I think there is no special funktion... ...use TblGetBounds to calculate the rectangle of the table and WinDrawLine for drawing the rect Ralf Pablo Martin Vera [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] I need help using tables. How can I do to display the table

Re: Sony clie TG50

2003-08-14 Thread Jonatan Fernstad
Hi all, I'd like to know ehat do you think about sony clie tg50? I'm planning to buy it and want to be sure that it's not a waste of money. This is not the correct forum for such questions. Try www.cliesource.com instead. -- For information on using the Palm Developer Forums, or to

Re: Palm Emulator

2003-08-14 Thread Ben Combee
At 07:24 PM 8/13/2003, Steve K wrote: In that case, I'm curious what is wrong with this code that runs fine on the palm handheld but is rejected by the emulator with the following error on line marked with *: Project (1.0) called SysFatalAlert with the message: Field.c, Line: 7221, NULL parameter.

Re[2]: Error while deallocating memory

2003-08-14 Thread Boris Epshteyn
Steve, You are allocating 8 byte for every string, but using only 2. May be this is why your code is crashing? -- Best regards, Boris Steve, Friday, August 8, 2003, 12:42:28 AM, you wrote: SK Boris, SK Although I do not have a solution for you, I too am attempting the same

Re: Crash after hot sync?

2003-08-14 Thread mpclubfoot
--- In [EMAIL PROTECTED], John [EMAIL PROTECTED] wrote: On 02 Jul 2003 08:05:59 +0200, Daniel Seifert [EMAIL PROTECTED] wrote: Am Mon, 2003-06-30 um 22.59 schrieb John: Hi, Have anyone ever crashed their Palm after a hot sync? I don't have any 3rd parth conduit on my desktop.

RE: Codewarrior Runtime Lib probs

2003-08-14 Thread Ben Combee
At 01:29 PM 8/6/2003, Mike Shubeck wrote: The lib has always been in the 1st segment. I did some monkeying and now I get Link Error : _RuntimeModule_: Entry Point '_InitCode_' is undefined. as well. I had to set the linker to Macintosh 68k so I could use my Constructor resources (right?) could

Re: newbie question: how to read a string from a MemHandle?

2003-08-14 Thread Gearoid Murphy
I'm not sure what you are doing wrong. As I see it to write the data to the handle you should be doing something like the following: // global MemHandle MemHandle h = NULL; // Append data to whatever is already in handle void WriteDataToHandle(Char *dataInP) { Char *strP; Err err;

Re: Please Help LstSetListChoices not working

2003-08-14 Thread Ben Combee
At 05:14 PM 8/13/2003, Steve K wrote: I tried your suggestion still I get nothing. I've tried adding a LstDrawList still get nothing. Have you stepped through with a debugger and verified that the system call that makes your list of string pointers is correctly formatting up the list? -- Ben

Re: DmAttachRecord with MemHandleNew

2003-08-14 Thread José dos Santos Machado
Todd Niec escreveu: 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. Short answer: No, you can't. Use DmNewHandle instead. -- J. Machado -- [EMAIL PROTECTED]

How to get WinDrawBitmap to handle GIF format?

2003-08-14 Thread Ray Lee
Hi! I have a gif image that I'm trying to draw inside my form but am having trouble. Doesn't WinDrawBitmap handles GIFs or is there another function that I'll need do this? Any insight would be greatly appreciated. Thanks!! Ray -- For information on using the Palm Developer Forums, or to

Codewarrior Runtime Lib probs

2003-08-14 Thread Mike Shubeck
I'm trying to move my C++ app to CW 9 and have been running into the error Link Error : _RuntimeModule_: '_Startup_' referenced from _DummyStartup_' is undefined. I currently have the project linking to MSL_C++_PalmOS_2i.lib which I believe is correct (Targeting the Palm OS platform -...- Runtime

newbie question: how to read a string from a MemHandle?

2003-08-14 Thread blaman
hi everbody, i am new to palm and its memoryhandles. I receive a string and have to store it in a MemHandle, because i resize it in a loop while receiving the data. However, i´ve got no idea how to read the data from the handle, neither a normal (char*) cast, nor a sprintf works. I´m sure it is

Re: FrmNewLabel

2003-08-14 Thread Alan Ingleby
gamepower111 [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] FrmNewLabel (frmP, 1500,labelCaption , 30,30, stdFont) ; You have to call FrmDrawForm to get the label redrawn. Or you could try hiding and then showing it again. I've heard that the dynamic UI on PalmOS is a bit

  1   2   3   4   5   >