Re: Urgent** In PRC-Tools How to increase stack size

2003-07-17 Thread N
If I take the same code to Code Warrior I get the error "Application has overflowed the stack". But if I copy following in my .r file it just works fine. type 'pref' { integer priority; longint stackSize; longint minHeapSpace; }; resource 'pref' (0) { 30, 0x8000,// 32K 0x8000,//

Re: Problem unpacking records

2003-07-17 Thread Alan Ingleby
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am having difficulty unpacking records from my palm database. some attempts it > just fails quietly, other attempts it crashes, complaining about reading from > low memory (addresses below 256). I do not see what I am doing different t

Problem unpacking records

2003-07-17 Thread david
Greetings I am having difficulty unpacking records from my palm database. some attempts it just fails quietly, other attempts it crashes, complaining about reading from low memory (addresses below 256). I do not see what I am doing different than in the example(s) in the Palm OS Bible and the N Rh

Re: Urgent** In PRC-Tools How to increase stack size

2003-07-17 Thread Alan Ingleby
AFAIK, you can't increase your stack size. Be more conservative with your RAM usage. Don't declare large objects or structures on that stack, but use the dynamic heap instead. Alan "N" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Even if I put: > > SYSAPPLICATIONPREFERENCES ID

Urgent** In PRC-Tools How to increase stack size

2003-07-17 Thread N
Even if I put: SYSAPPLICATIONPREFERENCES ID 0 PRIORITY 30 STACKSIZE 0x8000 MINHEAPSPACE 0x8000 It does not increase my stack size and I get error "stack size is about to get full" In pilrc manual it says "This resource is system reserved. " What does it mean. After I add this line in my .rcp f

Re: Resource Strings

2003-07-17 Thread Geoff Akens
> > Can anyone explain how to insert special characters (copyright, > > trademark etc.) into resource strings? I'm using PilRC, as it > > ships with CW 9.1, to create the resources for my app. > > "\231" - quote the octal value in the string. > > --- > Aaron Ardiri[EMAIL

Re: Executing application in background on Palm OS 5

2003-07-17 Thread Jim Cooper
> I believe it is quite straightforward requirements, I do not see > anything fancy. It's quite straighforward in a multi-tasking OS, but the PalmOS is not (yet) one of those as far as application developers are concerned. There may be a way of keeping the audio going, but your app won't be runn

Re: Resource Strings

2003-07-17 Thread NMailey . PMC
If you're running Windows, you should also be able to: START -> Programs -> Accessories -> Character Map >From there, you can select the character you want, copy it, and paste it into the PilRC String dialogue box.. Should work... :) Nole

RE: Palm HotSync Conectors

2003-07-17 Thread Oscar De León
Hi Sebastian thanks for your assistance! I found what I need there Regards Oscar -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nombre de Sebastian Massacane Enviado el: Miércoles, 16 de Julio de 2003 22:08 Para: Palm Developer Forum Asunto: RE: Palm HotSync Conectors

Re: Question about launching after a soft reset.

2003-07-17 Thread Brad Figler
I followed Dave's suggestions and all is well accept for the fact that when I send a SysUIAppSwitch() my program never seems to get a normal launch code. So, now I have a couple of questions. 1. Are you supposed to check for appStopEvent under normal launch conditions only? 2. Am I allowed to

Re: Resource Strings

2003-07-17 Thread Aaron Ardiri
> Can anyone explain how to insert special characters (copyright, > trademark etc.) into resource strings? I'm using PilRC, as it > ships with CW 9.1, to create the resources for my app. "\231" - quote the octal value in the string. --- Aaron Ardiri[EMAIL PROTECTED] CEO

a SysAppLaunch() launchFlag question

2003-07-17 Thread Paul Nevai
When I launch the same application from an m515 [OS 4.x] and from a Tungsten T [OS 5.x] the launchFlag is 142 and 174, resp. The difference is 0x20 which is not documented anywhere [cf. SystemMgr.h]. Can someone explain to me the meaning of the 0x20 launchFlag? BTW, it doesn't matter if I launch

Resource Strings

2003-07-17 Thread Geoff Akens
Can anyone explain how to insert special characters (copyright, trademark etc.) into resource strings? I'm using PilRC, as it ships with CW 9.1, to create the resources for my app. Thanks, Geoff Akens -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://

Avoid Exit a Program

2003-07-17 Thread Régis Daniel de Oliveira
Hello all, I'm starting to develop an aplication that should not exit when we press any of the palm's buttons, like Calc, Phone Book, ToDo, aplications, How can i do this? I'm using Falch.net Developer Studio Thanks All! Régis Daniel -- For information on using the Palm Developer Foru

problem of color translation on offscreen

2003-07-17 Thread Sangmin Lee
I created a small 8bit bitmap with a color table dynamically and it was displayed on 8bit screen successfully(with proper color translaton). However, when I tried to do the same thing with offscreen, I got a ugly image on screen. It seems to me that color translation on offscreen causes such a pr

RE: PalmOS 5.3 SDK Link Error in GlueLibrary

2003-07-17 Thread Ezekiel Sanborndeasis
There does seem to be a bug in the glue code in the DR1 seeding version go the R3 SDK. Thanks to those that have reported that to us. We will put out a fixed version in the not so far off future. As always, we do not recommend using a seeding version of the SDK (seeding meaning "not done") for y

Re: Bitmaps converted from Windows display incorrectly

2003-07-17 Thread Aaron Ardiri
> PilRC folks, you might look at the code for BMP_GetBits32bpp(). > There is a comment in the file stating "MAY BE BUGGY" and I > think it is. I believe the order it should be reading from 'pb' > should be b,g,r,a. At least, that is the order that I changed it > to and it began working. he

RE: Bitmaps converted from Windows display incorrectly

2003-07-17 Thread Eric Cloninger
Got it. Thanks to Keith Rollin for pointing me in the right direction with his sluething. PilRC folks, you might look at the code for BMP_GetBits32bpp(). There is a comment in the file stating "MAY BE BUGGY" and I think it is. I believe the order it should be reading from 'pb' should be b,g,

Bitmaps converted from Windows display incorrectly

2003-07-17 Thread Eric Cloninger
It's been a while (and a few OS releases) since I've written Palm OS code, so please forgive me if I miss the obvious. I have some photographs on my PC in JPEG format taken from a digital camera. I have a Windows app that opens the JPEG, centers the image and writes the result as a 128x128 Window

how to hide/unhide menubar from current form

2003-07-17 Thread Alexandre Rousseau
Hi all, Does anyone know how to hide the menubar from the current form (I would rather not switch forms)? Checked and couldn't find an API call for that, so wondering which sequence of calls will do the job. Thanks in advance, Alex -- For information on using the Palm Developer Forums, or to u

Re: CW9 Debugging on Tungsten W?

2003-07-17 Thread Chris Percival
Ok, thanks Ben, I will get myself a serial cable... --- In [EMAIL PROTECTED], Ben Combee <[EMAIL PROTECTED]> wrote: > At 09:50 AM 7/17/2003, Chris Percival wrote: > >Is there a work-around / fix available for this issue yet? > > There will be no work-around other than using a serial cable. Th

Re: Executing application in background on Palm OS 5

2003-07-17 Thread Alexander Galkin
My app has audio playback functionality. I need to continue playback in a background when the app exited as a result of another app being launched. I also need to detect that previous instance of my app is already running (playing audio in a background) when my app is launched. In this case I need

RE: DmCreateDatabase and cardNo

2003-07-17 Thread Jeff Ishaq
> -Original Message- > From: Laurens > Sent: Thursday, July 17, 2003 4:39 AM > > When I use DmCreateDatabase I currently pass in 0 for the > cardNo. Can I > assume that this will work on all currently available devices? I believe so, but someone can probably confirm or deny this. It se

Re: CW9 Debugging on Tungsten W?

2003-07-17 Thread Ben Combee
At 09:50 AM 7/17/2003, Chris Percival wrote: Is there a work-around / fix available for this issue yet? There will be no work-around other than using a serial cable. There's a general issue with most OS 4.1 devices and how USB debugging works on them that we can't solve. --- In [EMAIL PROTECTE

Re: CW9 Debugging on Tungsten W?

2003-07-17 Thread Chris Percival
Is there a work-around / fix available for this issue yet? --- In [EMAIL PROTECTED], Tom Frauenhofer <[EMAIL PROTECTED]> wrote: > Is USB debugging supported for the Tungsten W? We've tried it, but we get > timeouts when we hit a breakpoint. > > Just checking (and I have a serial cradle so I

Re: Socket Programming Question- Network Port Access from Cradle

2003-07-17 Thread Laurens
DHIRAJ SHETTY wrote: I want to write data to the port on the Server using Sockets from my PALM. Can i do the same with these settings. Is the same possible at all. Any help would be appreciated. For this you can run MochaPPP on the desktop. http://www.mochasoft.dk/palm.html MochaPPP only works th

Re: ScrDisplayMode()

2003-07-17 Thread Rick Reynolds
Aaron Ardiri wrote: >> I've hit this same problem. What do I do if I want to be compatible >> with OS 2.0+? That's where the real issue comes into play for me. >> The WinScreenMode function isn't available there. But >> ScrDisplayMode isn't available at compile time because I'm building >> with

Re: Dissassembler for Shared Libraries

2003-07-17 Thread Dave Lippincott
Ask the author for the necessary info. In general, if you were not given or cannot ask for the info you need to access the library, you may not have permission to use it. (of course there are always exceptions) - Original Message - From: "Alan Ingleby" <[EMAIL PROTECTED]> Newsgroups: pal

Re: Question about launching after a soft reset.

2003-07-17 Thread Dave Lippincott
Write a value to your app's preference record indicating you caused the reset. On receiving the reset message, check the preference for the flag. If the flag is there, set your app up for launch. - Original Message - From: "Brad Figler" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "

Re: Executing application in background on Palm OS 5

2003-07-17 Thread Roger Stringer
Subject: Re: Executing application in background on Palm OS 5 From: Jim Cooper <[EMAIL PROTECTED]> > I have an app that needs to have two options: Close and Exit. Actually, you don't. You need to have a look at the Palm API docs, particularly the programming companion, as to why not. The Exit opt

DmCreateDatabase and cardNo

2003-07-17 Thread Laurens
Hi, When I use DmCreateDatabase I currently pass in 0 for the cardNo. Can I assume that this will work on all currently available devices? I read somewhere that HandSprings with a Springboard expansion might have a cardNo 1, so this would be a special case. However, I see no API to list the av

Re: ScrDisplayMode()

2003-07-17 Thread Aaron Ardiri
> I've hit this same problem. What do I do if I want to be compatible with OS > 2.0+? That's where the real issue comes into play for me. The > WinScreenMode function isn't available there. But ScrDisplayMode isn't > available at compile time because I'm building with a more modern SDK. there

Re: ScrDisplayMode()

2003-07-17 Thread Markus Dresch
> I've hit this same problem. What do I do if I want to be compatible with OS > 2.0+? That's where the real issue comes into play for me. The > WinScreenMode function isn't available there. But ScrDisplayMode isn't > available at compile time because I'm building with a more modern SDK. i doub

Re: ScrDisplayMode()

2003-07-17 Thread Rick Reynolds
>> // get all possible screen depths >> if(rom_version >= OSVersion35) >>WinScreenMode(winScreenModeGetSupportedDepths, NULL, NULL, >> &scr_depth, NULL); >> else >>ScrDisplayMode(scrDisplayModeGetSupportedDepths, NULL, NULL, >> &scr_depth, NULL); >> >> Without the the ScrDisplayMode() funct

Re: Creation time for the card files

2003-07-17 Thread Jan Slodicka
P.S. I have Palm Desktop V4.1 and the problem was observed with Tungsten T/t and MMC card. - Original Message - > Hello > > I found a problem with the file dates on the card. > > The example: > I copied the file using Palm Install Tool (using standard Install To Card > conduit). Then I ac

Creation time for the card files

2003-07-17 Thread Jan Slodicka
Hello I found a problem with the file dates on the card. The example: I copied the file using Palm Install Tool (using standard Install To Card conduit). Then I accessed the created file using VFSFileGetDate() and noticed 2 problems: - The returned year was 2001 instead of 2003. - The time was sh

Socket Programming Question- Network Port Access from Cradle

2003-07-17 Thread DHIRAJ SHETTY
Hi, I have got a program (some Server program in Java which keeps waiting for input) running on a port on a Windows 98 machine on the Network. Using Socket Programming i want to connect to that port & write data to it from my Palm which I have connected to the COM PORT of another machine on the

Re: Using the Attention Manager

2003-07-17 Thread blaman
Ah. i found out the strange behaviour occurs when i access the launchcode provided AttnLaunchCodeArgsType. if i do not access the structure the reminderdialog is displayed correctly. however i need to access the structure to get the comandtype and x/y values to print the attentionmessages. Any ide

PalmOS password retrieval

2003-07-17 Thread apple k
Hi, I have posted the same topic before but i would like to do further clarification of this. As referring to http://www.escribe.com/computing/pcpqa/m35804.html We are able to retrieve the OS password by using Backdoor approach. However, the feature of debugging mode in palm if the palm is in Se

PalmOS 5.3 SDK Link Error in GlueLibrary

2003-07-17 Thread Thomas Damme
Hello Folks and PalmSource, there seems to be a problem with the new PalmOS SDK R3 DR1: When I link one of my projects I always get: "Link Error: AccessorGlue.cp "AccessorGlueTrapAvailiable" referenced from "TblGlueGetNumberOfColumns" is undefined. So if you use this function, dont install the

Re: ScrDisplayMode()

2003-07-17 Thread Aaron Ardiri
> // get all possible screen depths > if(rom_version >= OSVersion35) >WinScreenMode(winScreenModeGetSupportedDepths, NULL, NULL, &scr_depth, > NULL); > else >ScrDisplayMode(scrDisplayModeGetSupportedDepths, NULL, NULL, &scr_depth, > NULL); > > Without the the ScrDisplayMode() function it

Re: Using the Attention Manager

2003-07-17 Thread blaman
Thanks for taking the time to look at my issue. I have neither snoozed nor further insistent attentions when receiving the launchcode containing the kAttnCommandDrawDetail command. I am wondering why i receive it before it switches to the reminderlist without receiving kAttnCommandDrawList command