Who know why Fatal Alert?

2003-07-10 Thread idea
Hi all, I am trying to launch RealOne Player within my own application. It works flawless if I am using Palm macro AppLaunchWithCommand. But it promped me Fatal Alert if I tried to use this macro AppCallWithCommand('RNWK', sysAppLaunchCmdNormalLaunch,NULL);. Who know why? Below please find what

bus error

2003-07-10 Thread acky
Hi: everybody,i 'd need your help.i encouter bus error .i'd like to know what has caused this problem and how can i solve this problem.Can someboy explain the multisegment code for me ? -- For information on using the Palm Developer Forums, or to unsubscribe, please see

RE: SysUIAppSwitch() question

2003-07-10 Thread steve
If the user quits the app by a button SysUIAppSwitch is trigged. It closes the app and starts another. You can intercept the starting of the new app by sysNotifyAppLaunchingEvent. sysNotifyAppQuittingEvent could also be a help. Steve -Original Message- From: [EMAIL PROTECTED]

Export bmp from WIN to PALM

2003-07-10 Thread Palm
Hi All, I'm trying to export windows bitmap files (8 bit) to a palm database. I write the windows (dib) bitmap data as a data stream in the .pdb according to the palm header structure, and re - construct the bitmap structure in palm memory. When writing the bitmap header in the palm necessary

Re: Export bmp from WIN to PALM

2003-07-10 Thread Jan Slodicka
Sure - even if not in exactly same order. If the image depth is correct (16 bits) and no compression is used, then probably the color component order is wrong. Windows and Palm use different color schemes (BGR order), by I don't remember the details by heart. The best way to procede is to prepare

Who know how to switch off backlight of my Zire71 programmically?

2003-07-10 Thread idea
I tried the following 2 statements but failed. All of them just show me the brightness adjustment window only. 1. EvtEnqueueKey(vchrBacklight, 0, commandKeyMask); 2. UIBrightnessAdjust(); -- For information on using the Palm Developer Forums, or to unsubscribe, please see

how to start the mailapp collecting the mails automatically?

2003-07-10 Thread blaman
Hi all, i´d like to write a program launching the VersaMail application on a Tungsten W (PALM OS 4.x) and make the application collect the mail. if you have any suggestion, everything will help because i got no idea how to do Thx begin 666 confused.gif

Re: bus error

2003-07-10 Thread Dave Lippincott
Bus error is like a GPF on your PC. Its likely your app wrote to an invalid memory location or over bounded a variable accidentally. Look at your code in the general area of the bus error and see if you copied too many characters into a string or wrote data into an invalid pointer. Think of a

Re: Help! application extended above 64KB

2003-07-10 Thread Roger Stringer
Improving on Ralf's somewhat complex response You simply need to segment your application, ensuring the code in each segment is less than 32KB and use the Small memory model. You should then find your program gets smaller and runs a little faster. Check the archives and/or read the

Re: Sampled Stream Audio issue on OS5.2

2003-07-10 Thread Jeff Mitchell
Subject: Re: Sampled Stream Audio issue on OS5.2 From: Nicolas Pabion [EMAIL PROTECTED] Date: Wed, 9 Jul 2003 17:46:21 -0700 X-Message-Number: 33 The API is the same. The only difference is that T|T will give you the buffer size you asked while T|C and Zire tend to always return 4K. I

Re: Sampled Stream Audio issue on OS5.2

2003-07-10 Thread Aaron Ardiri
I discovered today that in the most recent OS5 SDK (DR2) there is an additional routine.. SndCreateStreamExtended, with a variable sized buffer callback. In theory that should let me specify how much data is available, and thus manage the callback rate, which should work. We'll see if it

Re: Multiple Text Records per PalmOS Record

2003-07-10 Thread NMailey . PMC
Posted by Kevin OKeefe It's probably better to use nulls to delimit strings, then you can use normal Str functions and also don't have to worry about '|' appearing within a string. I'd love to use the nulls however I'm creating the database on a Unix machine from an ascii file. I'm using a

Where can I find a fit SDK for Tungsten 5-way navigator?

2003-07-10 Thread Xing Jin
Hi, I failed to find the event definition about the 5-way navigator supported on Tungsten C device, could anyone give me hand on this? Thanks a lot, Xing Jin -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Where can I find a fit SDK for Tungsten 5-way navigator?

2003-07-10 Thread Aaron Ardiri
I failed to find the event definition about the 5-way navigator supported on Tungsten C device, could anyone give me hand on this? seeding area :) www.palmos.com --- Aaron Ardiri[EMAIL PROTECTED] CEO - CTO +46 70 656 1143

Re: Where can I find a fit SDK for Tungsten 5-way navigator?

2003-07-10 Thread Xing Jin
Thanks for your reply and I actually suffered from finding the sdk on the web you point out today. I downloaded the newest PalmOS5 RS2 SDK but there is nothing about the 5-way navigator. Any other suggestion? cheers, Xing Aaron Ardiri [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

Re: Where can I find a fit SDK for Tungsten 5-way navigator?

2003-07-10 Thread Aaron Ardiri
Thanks for your reply and I actually suffered from finding the sdk on the web you point out today. I downloaded the newest PalmOS5 RS2 SDK but there is nothing about the 5-way navigator. it is a seperate download. you need to login to get it. this means you need to sign NDA and stuff - it is

RE: Where can I find a fit SDK for Tungsten 5-way navigator?

2003-07-10 Thread steve
Look at IsFiveWayNavEvent. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Xing Jin Sent: Thursday, July 10, 2003 3:02 PM To: Palm Developer Forum Subject: Where can I find a fit SDK for Tungsten 5-way navigator? Hi, I failed to find the event

Repost: exporting file from Card w/o conduit

2003-07-10 Thread Richard Coutts
Sorry about the repost -- I'm a bit stressed about finding an answer and am not finding much information in my searches on the net and the documents (though I may be looking in the wrong places). My app needs to export files on the expansion ard to the desktop without a conduit. They're large

Re: Where can I find a fit SDK for Tungsten 5-way navigator?

2003-07-10 Thread Xing Jin
Many thanks! Finally I found it after I registered as Plugin project member. What's a strange and stupid things! regards, Xing Aaron Ardiri [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Thanks for your reply and I actually suffered from finding the sdk on the web you point out

modifying event data in OS 5

2003-07-10 Thread Karmen Smails
Hi, I am attempting to modify the data of an event within my event handler, specifically event-data.ctlRepeat.pControl. I am doing this because when a ctlRepeat event occurs, occasionally, I am calling FldNewField (which I cannot get around), and this results in the loss of the event's

Release vs. Debug Libraries

2003-07-10 Thread Dennis Giguere
Can anyone tell me the differences between the Debug and Release libraries as far as performance and functionality are concerned. I am using the serial port and was wondering if its response could be improved if I went from using the Debug libraries to the Release. Thanks. -- For information

ErrThrow in a shared library

2003-07-10 Thread Eric Potter
If I call ErrThrow in a shared library, can I catch it in main application prc? Will it work if I use the standard c++ throw instead of ErrThrow? thanks Eric -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Advice sought on design of a db of linked lists of linked lists of bitmaps?

2003-07-10 Thread Alexandre Rousseau
Hi, title says it all, though cryptically perhaps. I am writing a mini storyboarding application and am about to embark on the persistence part of the project. And I need some advice on how to structure my db(s?) for this. So far, I have structured my data as follows: - the db will contain 0,

Re: how to start the mailapp collecting the mails automatically?

2003-07-10 Thread rguevara
Hi, I want do some like download a mail and install automatically the Pdb's attached to him. I suposse what is the command SysAppLaunch(...) #define AppLaunchWithCommand(appCreator, appCmd, appCmdParams) { //Code for initialization DmGetNextDataBaseByTypeCreator(true, searchState,

multiple files in PilRC

2003-07-10 Thread Tucker, Jay
I'm using CW 9.0 and am running into a problem with my resource files. I'd like to have a separate resource file for all my strings. There are two reasons for this: (1) It makes it easy to quickly create foreign languages of the app, and (b) I can hand the file to a doc writer so that s/he can

Re: multiple files in PilRC

2003-07-10 Thread Bob Withers
I do this all the time. In fact, I have each form defined in it's own file. Perhaps PilRC is being confused because you have named the file containing your string as a .h. Try naming it Strings.rcp and change the include to this name. Bob At 05:22 PM 7/10/2003 -0400, you wrote: I'm using

Re: Tungsten-C - what happened to sysNotifyKeyboardDialogEvent?

2003-07-10 Thread Brandt Haagensen
I must be missing something...doesn't the TC simulator have the old grafitti interface and the device a keyboard? If it has a keyboard there wouldn't be a need for this event. Brandt Geoff Thompson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have posted this question

PalmDebugger

2003-07-10 Thread apple k
Hi, I'm trying to use the actual device to debug my program. However it fails for several times of attempts as connection attempt fails. I'm using CodeWarrior and set the PalmDebugger to PalmOS Device with functional COM port. For the Palm Device, it has been set to debug mode as 'Shortcut.2'.

Re: Valid character for TxtCharAttr?

2003-07-10 Thread Luc Le Blanc
Ken Krugler a écrit : Running the Gremlins on my application, I get a TextMgr.cpp, Line:727, Sign-extended char passed to TxtCharAttr warning because the Gremlin wrote a 236 (EC) character into a field onto which I later perform, for each character, a TxtGlueCharIsAlNum call, which in turn,

Re: Where can I find a fit SDK for Tungsten 5-way navigator?

2003-07-10 Thread Ben Combee
At 10:40 AM 7/10/2003, Xing Jin wrote: Many thanks! Finally I found it after I registered as Plugin project member. What's a strange and stupid things! Why is this strange and stupid? The 5-way navigator is a proprietary feature of devices from Palm Solutions Group, so it makes sense that the

Re: ErrThrow in a shared library

2003-07-10 Thread Ben Combee
At 03:06 PM 7/10/2003, Eric Potter wrote: If I call ErrThrow in a shared library, can I catch it in main application prc? Yes, this should work, but I've not tried it. Will it work if I use the standard c++ throw instead of ErrThrow? No. C++'s catch/throw are implemented using a totally

Re: multiple files in PilRC

2003-07-10 Thread Ben Combee
At 05:22 PM 7/10/2003, Tucker, Jay wrote: I'm using CW 9.0 and am running into a problem with my resource files. I'd like to have a separate resource file for all my strings. There are two reasons for this: (1) It makes it easy to quickly create foreign languages of the app, and (b) I can hand the

RE: What to do w/resource file greater than 64k?

2003-07-10 Thread Ben Combee
With that said, I am baffled. Here's the problem I'm seeing. Codewarrior 9.1 complains with the following WARNINGS: Segment 'Seg1' is greater than 64KB, it will generate an invalid PRC file. PalmRez Warning: Output resource size is greater than ~64K size limit: 'code 1' In my Segments tab,

Re: Valid character for TxtCharAttr?

2003-07-10 Thread Ben Combee
Forgive my ignorance but I don't see what type of casting I could do to prevent this sign extension. I tried: WCharw; Charc; w = ( WChar ) c; to no avail, 0xEC became 0xFFEC. So in the end I added: w = 0x00FF; w = (WChar)(unsigned char)c; will do it nicely. -- Ben Combee

Re: PalmDebugger

2003-07-10 Thread Ben Combee
At 10:53 PM 7/10/2003, apple k wrote: Hi, I'm trying to use the actual device to debug my program. However it fails for several times of attempts as connection attempt fails. I'm using CodeWarrior and set the PalmDebugger to PalmOS Device with functional COM port. For the Palm Device, it has been