which coding is stored sms in local pda when peer coding ways is selected

2003-09-22 Thread Andy yuan
thank you for your answer! //initial receive sms struct Err err,error; UInt16 gTelRefNum; TelAppID gTelAppID; TelSmsMultiPartExtensionType extensionType; TelSmsExtensionType ext; TelSmsDateTimeType gTeldatetime; TelSmsGetAvailableStorageType m_Stores; UInt16 m_Index; TelSmsDeliveryMessageType m_

RE: SysNotifyRegister

2003-09-22 Thread LionScribe
use SysCurAppDatabase LionScribe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Eric Blanpied Sent: Monday, September 22, 2003 12:58 PM To: Palm Developer Forum Subject: SysNotifyRegister I'm another new-to-palm coder, looking for a bit of advice. Probably

RE: Shared libraries with resources : is it possible?

2003-09-22 Thread LionScribe
But you seem to forget that shared libraries are meant for use for other developers. They might have more resources. Therefore I suggested rather using resources in the 700's which I believe are vary rare. LionScribe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Beha

Re: PilRC Designer

2003-09-22 Thread Alan Ingleby
"Ben Combee" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > BTW, you may want to avoid DENSITY 1/2... starting in PilRC 3.0, you should > use DENSITY 72/108/144, where the number is the actual density number used > in the Palm OS SDK headers. Because PilRC can't parse decimal points

RE: PRC Database Version

2003-09-22 Thread Keith Rollin
You'd have to parse up the PRC file (making use of the documented PRC file format) and look for the 'tver'(1) or 'tver'(1000) resource. Once you find that, the contents are a string with the version number. -- Keith > -Original Message- > From: Régis Daniel de Oliveira [mailto:[EMAIL P

PRC Database Version

2003-09-22 Thread Régis Daniel de Oliveira
Does anybody know how can i get the version (App version, the same that we can see on the Information Menu of the Palm's Laucher app) of a PRC file? Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/suppor

Need advice on how to debug simulator crash when running gremlins

2003-09-22 Thread David M. Lasker
My application causes PalmSim to crash when running gremlins. Yes, I know the bug is in my app, not in PalmSim. When I stop gremlins at the event just before the crash, I can see that my app is all screwed up. I am pulling out my hair trying to debug this. Unfortunately the problem does not occur

Re: Merge 2 prc with Palm OS 68K linker

2003-09-22 Thread Ben Combee
At 09:01 PM 9/22/2003, Regis St-Gelais wrote: Begin Quote from www.palmoswerks.com The Palm OS 68K linker provides valid output file data to the IDE, so you can chain targets to do interesting things where you merge the resources from different builds together to make your PRC files. For example, y

Re: PilRC Designer Updates

2003-09-22 Thread Ben Combee
At 08:44 PM 9/22/2003, Regis St-Gelais wrote: Where can we get PilRC Designer updates? The one comming with CW9 is 2.0.6.0 Falch web site talks about a version 2.1.2.0 Is metrowerks offering the updates or we have to go throught falch? There is a link on falch to get version 2.1.2.0 but the downloa

Re: RE: PDB Header Dates, Att: Keith

2003-09-22 Thread Layne Lund
- Original Message - From: Oscar De León <[EMAIL PROTECTED]> Date: Monday, September 22, 2003 12:19 pm Subject: RE: PDB Header Dates, Att: Keith > My app will run also in Unix/Linux, do you know the behavior here? > (I am not sure if HotSync exists for this OS). Yes, there are sync too

Re: SysNotifyRegister

2003-09-22 Thread Chris Faherty
On Monday 22 September 2003 04:03 pm, Eric Blanpied wrote: > if(cmdPBP->notify->notifyType == sysNotifyTimeChangeEvent) { > > When I try and use this in codewarrior I get an error saying that it's not > a struct/union/whatvever. Do I need to cast it? What type would I be > casting it to? Or pe

RE: PDB Header Dates, Att: Keith

2003-09-22 Thread Keith Rollin
At 3:19 PM -0400 9/22/03, Oscar De León wrote: Do You mean that the base date is OS dependent (I guess HotSync dependent)? Can this be taken as a rule? The word "typically" is like allways, but not allways. I couched my reply vaguely, since I no longer remember the conditions under which each base

Re: SysNotifyRegister

2003-09-22 Thread Eric Blanpied
That looks like just the thing. Thanks. Next question: in the docs about writing a notification handler, there's a sample of how to check the notification type when you get the sysAppLaunchCmdNotify. if(cmdPBP->notify->notifyType == sysNotifyTimeChangeEvent) { When I try and use this in code

Re: bool support in CW.

2003-09-22 Thread Brad Figler
Ben, The only thing I could find came from palmtypes.h // Include the following typedefs if types.h wasn't read. #if __DEFINE_TYPES_ #ifdef __MWERKS__ #if !__option(bool) #ifndef true #define true

RE: PDB Header Dates, Att: Keith

2003-09-22 Thread Oscar De León
Hi Keith, thanks for your answer. I am using Windows. Your answer makes sense, but: Do You mean that the base date is OS dependent (I guess HotSync dependent)? Can this be taken as a rule? The word "typically" is like allways, but not allways. My app will run also in Unix/Linux, do you know the b

Re: Web Clippings Net 1273 Error

2003-09-22 Thread Chris Faherty
On Sunday 21 September 2003 11:28 am, Ben Combee wrote: > You do realize that the Treo 300 doesn't some with Web Clipping or INetLib > support, and that there is no legal way to install that onto the device, > because Handspring chose not to include those components in their OS > build, right? You

Merge 2 prc with Palm OS 68K linker

2003-09-22 Thread Regis St-Gelais
Begin Quote from www.palmoswerks.com The Palm OS 68K linker provides valid output file data to the IDE, so you can chain targets to do interesting things where you merge the resources from different builds together to make your PRC files. For example, you could have a main program build target, the

PilRC Designer Updates

2003-09-22 Thread Regis St-Gelais
Where can we get PilRC Designer updates? The one comming with CW9 is 2.0.6.0 Falch web site talks about a version 2.1.2.0 Is metrowerks offering the updates or we have to go throught falch? There is a link on falch to get version 2.1.2.0 but the download button gives a "page not found". http://ww

320 x 320 High Density on Tungsten W

2003-09-22 Thread David Cook
I am developing an application specifically for the Tungsten W. The application runs at 320 x 320 x 16 bits. (Note, I'm using pilrc/gcc on OS X) I have a 320 x 320 x 24 bit BMP file in my resource. Constructor shows the BMP properly. When I load the bmp to the screen The first few lines (p

Re: Limite of Constructor 1.9

2003-09-22 Thread Regis St-Gelais
-- "Ben Combee" <[EMAIL PROTECTED]> a écrit dans le message de news:[EMAIL PROTECTED] > > At 03:15 PM 9/17/2003, Regis St-Gelais wrote: > > > > You extend this technique to avoid the runtime load and separate file > > > > by using the PRC Merge capabilities of the Palm OS 68K linker... take > > > >

Re: PDB Header Dates

2003-09-22 Thread Keith Rollin
At 9:50 AM -0400 9/22/03, Oscar De León wrote: Have someone tips for retrieving the right dates values from the PDB Header (Create, Modify, Backup). The number of seconds stored in my PDBs converted to years give me just 33 years from 1904-01-01. Dumping the database in an hex editor, the val

Re: SysNotifyRegister

2003-09-22 Thread Michael Friedrich
Hallo, try: UInt16 card; LocalID databaseId; Err error = SysCurAppDatabase(&card, &databaseId); Gruesse, Michael Friedrich "Eric Blanpied" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > > I'm another new-to-palm coder, looking for a bit of advice. Probably just > the fir

Version on a PRC database

2003-09-22 Thread Régis Daniel de Oliveira
Hy all! How can I get the version of my application? I defined it using a version resource, but i don't found nothing about retrieve this value. Any idea? Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/

Re: Shared libraries with resources : is it possible?

2003-09-22 Thread Matthew Darkstorm Bevan
> Be careful with the above 9000 space. PilRC's default auto ID generation > code starts at and counts down. With PilRC 2.9p10-CW and later, you > can use "RESETAUTOID" to change the range of auto ID's generated by the > tool. For small apps, this may not be an issue, but I'd probably stay

SysNotifyRegister

2003-09-22 Thread Eric Blanpied
I'm another new-to-palm coder, looking for a bit of advice. Probably just the first bit... I need to register for the sleep request notification, and I'm wondering what the best way to get my app's cardNo and dbID for SysNotifyRegister. The only thing I've found so far is DmGetNextDatabaseByTypeC

Re: Printin from Palm in Okidata

2003-09-22 Thread dmazzini
Thanks Dave for your guide, We are printing successfully from our app to an Epson LX300 Plus, using: 9600 bps 8 bits data 1 bits stop, 0 bits parity, The problem is that we cannot print to Okidata Microline 320 turbo, with the SAME settings. Any ideas ? Anybody succesfully using this printer ?

Re: Can it send and receive Chinese SMS with telephony SMS library?

2003-09-22 Thread Ken Krugler
thank you for your answer! sorry,I am use telephony sms for sending and receiveing chinese sms, but it's disordered coding with all coding mode(five kinds) /* kTelSms8BitsEncoding 0 8-bit encoding. kTelSmsBitsASCIIEncoding 1 ANSI X3.4 encoding. kTelSmsIA5Encoding 2 CCITT T.50 encoding. kTelSmsIS91E

PDB Header Dates

2003-09-22 Thread Oscar De León
Hi, Have someone tips for retrieving the right dates values from the PDB Header (Create, Modify, Backup). The number of seconds stored in my PDBs converted to years give me just 33 years from 1904-01-01. Dumping the database in an hex editor, the values for the dates fields are: Creation: 3

Re: Strange Multi-segment Linker Problems

2003-09-22 Thread Neil Whitworth
Thanks Ben, that fixed it. Ben Combee wrote: At 12:35 PM 9/22/2003, Neil Whitworth wrote: I'm getting a strange problem in a multi segment application. Link Error : MainForm.cpp 'std::list>::~list()' 16-bit code referance to 'operator delete(void*)' is out of range. MainForm.cpp is in the 4th

Re: build-prc.exe error!!

2003-09-22 Thread John Marshall
On Sat, Sep 20, 2003 at 03:21:31AM +0800, Mohammad Afshari wrote: > I'm kinda dying here, beacuse i cant get my build-prc.exe going. [...] > "the procedure entry point __getreent cuold not be located in the dynamic > link library cygwin1.dll" This is not a build-prc problem. It is a Cygwin proble

Re: Closing Tips on OS5

2003-09-22 Thread Ben Combee
At 12:37 PM 9/22/2003, Steve Sabram wrote: Alan Ingleby wrote: "Steve Sabram" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I'm in the middle of writing a fairly large PalmOS app (~300K) and I am noticing that when I bring up tips and a dialog on top of another dialog, the backgroun

Re: Strange Multi-segment Linker Problems

2003-09-22 Thread Ben Combee
At 12:35 PM 9/22/2003, Neil Whitworth wrote: I'm getting a strange problem in a multi segment application. Link Error : MainForm.cpp 'std::list>::~list()' 16-bit code referance to 'operator delete(void*)' is out of range. MainForm.cpp is in the 4th segment, and from what I understand 'operator

Re: Closing Tips on OS5

2003-09-22 Thread Steve Sabram
Alan Ingleby wrote: "Steve Sabram" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I'm in the middle of writing a fairly large PalmOS app (~300K) and I am noticing that when I bring up tips and a dialog on top of another dialog, the background is not being saved of the parent dialog

Strange Multi-segment Linker Problems

2003-09-22 Thread Neil Whitworth
I'm getting a strange problem in a multi segment application. Link Error : MainForm.cpp 'std::list>::~list()' 16-bit code referance to 'operator delete(void*)' is out of range. MainForm.cpp is in the 4th segment, and from what I understand 'operator delete(void*)' is in the PalmOSRuntime_2i_A4A5

Strange Error

2003-09-22 Thread Deepak TVS
Hi all, I am writing a AACPlayer. This player uses an ArmLibrary written by me. When I select a file and play, it starts playing the file but suddenly the following error comes up "Emul68KCommon.c, Line 1683: Entry already in use." Can anyone tell me why this error is coming. Thanks & Regar

IR Exchange Manager - accepting any file extension

2003-09-22 Thread Akhilesh Singh
Hi, I wanted to write an IR application (exchange manager) that would accept any type of file and save it on the vfs. In Exchange Manager I need to specify the extension (or MIME type) then only I'll get the file. Is it possible to get all the files? Or if it is not possible then can I get all th

Re: bool support in CW.

2003-09-22 Thread Ben Combee
At 12:12 AM 9/20/2003, Brad Figler wrote: How come I get an implicit arithmetic conversion warning from 'int' to 'bool' for the followoing line of code? bool result = ( 1 == 1 ) ? true:false; I have bool support enabled in the preferences panel. Verify that you aren't using a header file that #d

Re: Limite of Constructor 1.9

2003-09-22 Thread Ben Combee
At 03:15 PM 9/17/2003, Regis St-Gelais wrote: > > You extend this technique to avoid the runtime load and separate file > > by using the PRC Merge capabilities of the Palm OS 68K linker... take > > the two targets that you've setup, say "Foo1.prc" and "Foo2.prc", then > > add the two PRC files to a

Re: MemPtrNew for a class doesn't call the contructor

2003-09-22 Thread Ben Combee
At 01:17 AM 9/17/2003, Eric Potter wrote: On Tue, 16 Sep 2003 14:22:29 -0700, Dave Carrigan <[EMAIL PROTECTED]> wrote: > >On Tue, Sep 16, 2003 at 04:10:33PM -0500, Eric Potter wrote: >> When I try and use the new operator, I get a Link Error saying, " >> 'operator new(unsigned long)' referenced fro

Re: Multisegment Project: Getting Fatal Alert

2003-09-22 Thread Ben Combee
linker warning saying "PalRez warning: output resourse size is greater than -64k size limit: 'data1'". Sounds like a pretty good-sized beast. I have never seen that 64k warning that you cite, but it looks pretty self-explanatory to me. You have too many resources in your project. You'll have t

Re: Development Software recommendation?

2003-09-22 Thread Ben Combee
At 06:08 PM 9/18/2003, Aaron Ardiri wrote: if you are not interested in writing ARM code, you can stick with CodeWarrior 8 on mac and just update your SDK. Actually, I'm note that on-device-debugging won't work for Palm OS 5 (ARM-based) devices using CW for Palm OS V8. If you need to debug apps o

Re: CW and Simulator

2003-09-22 Thread Ben Combee
At 03:35 AM 9/19/2003, N wrote: I am trying to debug my project in CW 9 using simulator but always getting error "Connect Attempt Fail. Try again." I followed the steps described in: ftp://ftp.metrowerks.com/pub/docs/Targets/PalmOS_v9/Manuals/Targeting_Palm_OS.pdf You do realize that that book is

Re: Web Clippings Net 1273 Error

2003-09-22 Thread Ben Combee
At 08:11 PM 9/16/2003, Tony Vitale wrote: I'm developing an App for the Treo 300 (Palm OS 3.5) and I keep getting the Net 1273 error when the app tries to connect to an external site. I know that I can do that tricky counter-clockwise circle, Easter egg popping, tap the wand 3 times trick to chang

Re: 2 rcp files in one project

2003-09-22 Thread Ben Combee
At 01:16 AM 9/17/2003, Eric Potter wrote: Is it possible to have use 2 rcp files in one project? If so, is there any thing special I need to do to access bitmaps in the seconardy rcp file? You should be able to use multiple RCP files with no problem, as long as they don't define resources with ove

Re: ExgDBWrite data stream format and naming?

2003-09-22 Thread Ben Combee
At 05:58 PM 9/16/2003, Luc Le Blanc wrote: Is the data stream format used by ExgDBWrite published? My app has to beam either a whole DB or a subset of it. Even in the latter case, I must send the AppInfoBlock along with the selected records. If I could emulate ExgDBWrite when beaming a subset of t

Re: probleme with Rsrc2Rcp 2.19

2003-09-22 Thread Ben Combee
At 09:06 PM 9/16/2003, Dave Lasker wrote: There is a later (April 2003) version on http://sourceforge.net/projects/rsrc2rcp It is a PERL script, not an executable. It still isn't perfect...it crashes for me on some of the built-in apps. It's readme file says: "At the moment, only the following reso

Re: Tiny fonts

2003-09-22 Thread Ben Combee
At 03:36 PM 9/16/2003, Richard Coutts wrote: Codewarrior 8.2 & Constructor 1.8 I need a tiny font for my application. I just read up on custom fonts in The Bible and have a couple of questions. As far as I can tell, the smallest font native to the Palm is the stdFont. I'd like something much sm

Re: MemPtrNew for a class doesn't call the contructor

2003-09-22 Thread Ben Combee
At 07:56 PM 9/16/2003, Dave Carrigan wrote: On Tue, Sep 16, 2003 at 12:54:49PM -0500, Eric Potter wrote: > Is there a was to get MemPtrNew to call the contructor when you craete > a new class? Use the new operator; that's what it's for. Just to clarify -- the standard implementation of operator new

Re: menus question

2003-09-22 Thread Ben Combee
At 04:47 PM 9/16/2003, George VS wrote: Hi group, Is there a way to handle a menu select event from an item on the menubar? Suppose I have this RCP definition: MENU ID MainMenu BEGIN PULLDOWN "Puldown1" BEGIN ... END/*cannot declare ID*/ MENUITEM "ItemOnTheBar1" ID

Re: Shared libraries with resources : is it possible?

2003-09-22 Thread Ben Combee
At 01:50 AM 9/16/2003, Matthew Darkstorm Bevan wrote: Yes, and yes. My Common/UI library does exactly this to provide standard about dialogs, VFS open and save dialogs, help display, and more. The library even includes application icons for itself. You have to worry about mapping over someone el

Re: PilRC Designer

2003-09-22 Thread Ben Combee
At 05:28 AM 9/16/2003, Alan Ingleby wrote: What's the latest version for use with CW9 series? I've got 2.1.3.0, but it doesn't understand the density tag for a bitmap, and doesn't like you putting transparency RGB values in the bitmap. eg: BITMAPFAMILYEX ID MainBannerBitmapFamily BEGIN BITMAP

Re: basic question

2003-09-22 Thread Ben Combee
At 07:51 PM 9/15/2003, Dave Lippincott wrote: Labels are single line only. Either use two labels or a multi-line field set to read only. Actually, labels can be multiple lines. This has been supported for a very long time, and both PilRC and Constructor-based resource support this notation. --

Re: basic question

2003-09-22 Thread Ben Combee
At 05:47 PM 9/15/2003, Pablo Martin Vera wrote: This is very very simple question but I´m new on this and I don´t know how to do it. I´m designing my forms using ther PILRC editor in codewarrior. I added a Label with some text and I want that text to appear in two lines, wich carcter shoul I enter

Re: Development Tools for Tungsten C

2003-09-22 Thread Ben Combee
At 03:14 PM 9/15/2003, Mike Haberle wrote: I can not determine if CodeWarrior 9 supports targeting apps for the Tungsten C - any help? If not what is the IDE of choice? The Tungsten C was produced after V9 was developed, so it isn't listed in our documentation. However, CodeWarrior for Palm OS V

Make an application pop up temporarily

2003-09-22 Thread L.M. Fridael
Hi, Can anyone explain in short, or point me to documentation, on how to make an application pop up temporarily, like the clock on the M125 and M130? Thanks -Laurens -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forum

How to proceed. Make a dummy app?

2003-09-22 Thread Louis Wildschut
Hi all, I'm new to this so please have mercy on me. A short history: We have Windows based address and appointment Apps. I had to make a conduit to sync the addresses and the appointments to the palm. An the conduit works. but when i use the 'date' creator ID to sync the Palm Desktop does not

Re: Sony and Updating Clies

2003-09-22 Thread Ben Combee
At 10:18 PM 9/14/2003, Matthew Darkstorm Bevan wrote: Howdy! I was wondering if anybody knew if Sony would ever update their PalmOS 5 devices to later versions of the OS? For example, I have one of the first Sony ARM handhelds (NX70V/U) running 5.0. I would like to upgrade to 5.3 when it is fina