Re: Incorrect PRC file ?

2004-12-28 Thread Ken Krugler
With PRC explorer (v1.0.19.1), I clearly see the 24 bitmaps that I 
declared in my app. They are named Tbmp 9 to Tbmp 32. They can be 
displayed => ok.

I have 2 additional Tbmps, named Tbmp 1 and Tbmp 2.
Tbmp 1 : when I click on it, I get message "TBitmap parsing error - 
unknown version", and it displays "Resource size 72292 bytes"
Tbmp 2 : when I click on it, I get another message "TBitmap parsing 
error - wrong size", and it displays "Resource size 19266 bytes"
Wild guess - these aren't actually bitmaps, but rather code/data. I 
don't know anything about CaslSoft, though, so I couldn't guess at 
how this might be happening.

-- Ken
--
Ken Krugler
TransPac Software, Inc.

+1 530-470-9200
--
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/


RE: Incorrect PRC file ?

2004-12-28 Thread Eric Cloninger
Will do. 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Regis Nicolas
> Sent: Tuesday, December 28, 2004 3:21 AM
> To: Palm Developer Forum
> Subject: RE: Incorrect PRC file ?
> 
> Please send me the PRC with the faulting bitmaps (you can 
> strip the rest of the resources if you want with PRCExplorer) 
> so I can fix PRCExplorer.
> 
> Cordially,
> 
> ---
> Régis NICOLAS
> Engineering Director, Montpellier Site
> PalmSource Europe - a PalmSource, Inc. subsidiary 
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Eric Andre
> Sent: Monday, December 27, 2004 2:28 PM
> To: Palm Developer Forum
> Subject: Re: Incorrect PRC file ?
> 
> With PRC explorer (v1.0.19.1), I clearly see the 24 bitmaps 
> that I declared in my app. They are named Tbmp 9 to Tbmp 32. 
> They can be displayed => ok.
> 
> I have 2 additional Tbmps, named Tbmp 1 and Tbmp 2.
> Tbmp 1 : when I click on it, I get message "TBitmap parsing 
> error - unknown version", and it displays "Resource size 72292 bytes"
> Tbmp 2 : when I click on it, I get another message "TBitmap 
> parsing error - wrong size", and it displays "Resource size 
> 19266 bytes"
> 
> For both, I cannot see what is inside. 
> Thks a lot for your help.
> Eric
> --
> For information on using the Palm Developer Forums, or to 
> unsubscribe, please see http://www.palmos.com/dev/support/forums/
> 
> --
> For information on using the Palm Developer Forums, or to 
> unsubscribe, please see http://www.palmos.com/dev/support/forums/
> 

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/


RE: Incorrect PRC file ?

2004-12-28 Thread Regis Nicolas
Please send me the PRC with the faulting bitmaps (you can strip the rest of the 
resources if you want with PRCExplorer) so I can fix PRCExplorer.

Cordially,

---
Régis NICOLAS
Engineering Director, Montpellier Site
PalmSource Europe - a PalmSource, Inc. subsidiary
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Andre
Sent: Monday, December 27, 2004 2:28 PM
To: Palm Developer Forum
Subject: Re: Incorrect PRC file ?

With PRC explorer (v1.0.19.1), I clearly see the 24 bitmaps that I declared in 
my app. They are named Tbmp 9 to Tbmp 32. They can be displayed => ok.

I have 2 additional Tbmps, named Tbmp 1 and Tbmp 2.
Tbmp 1 : when I click on it, I get message "TBitmap parsing error - unknown 
version", and it displays "Resource size 72292 bytes"
Tbmp 2 : when I click on it, I get another message "TBitmap parsing error - 
wrong size", and it displays "Resource size 19266 bytes"

For both, I cannot see what is inside. 
Thks a lot for your help.
Eric
-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/


RE: Incorrect PRC file ?

2004-12-27 Thread Eric Cloninger
If your image is too large inside the PRC, it will not transfer.  A 72K
bitmap is not allowed and Hotsync will choke trying to transfer it.  I'm
surprised that your development tool doesn't pick up on this problem
earlier.  

In your project settings, do you have compression turned on for the
bitmaps?  I don't use Casl, so I don't know how this works, but there
are several compression settings that you can use for Palm bitmaps.
Perhaps you can turn one of them on.  If it is already compressed, you
will have to cut the image down or some programming method to get the
image(s) to draw.

As for the 19K bitmap, it's likely that you have an incorrect bitmap
header.  Palm bitmaps have a fairly rigid structure that doesn't take
kindly to invalid values.

If you want to email me directly, I can look at the bitmaps using my
tools.  Send me the PRC file you are compiling in a zip file.  Don't
reply to this list or your email will bounce from the attachment.

Eric dot cloninger at palmsource dot com

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Steven Fisher
> Sent: Monday, December 27, 2004 4:27 PM
> To: Palm Developer Forum
> Subject: Re: Incorrect PRC file ?
> 
> Eric Andre wrote:
> > With PRC explorer (v1.0.19.1), I clearly see the 24 bitmaps 
> that I declared in my app. They are named Tbmp 9 to Tbmp 32. 
> They can be displayed => ok.
> > 
> > I have 2 additional Tbmps, named Tbmp 1 and Tbmp 2.
> > Tbmp 1 : when I click on it, I get message "TBitmap parsing 
> error - unknown version", and it displays "Resource size 72292 bytes"
> > Tbmp 2 : when I click on it, I get another message "TBitmap 
> parsing error - wrong size", and it displays "Resource size 
> 19266 bytes"
> > 
> > For both, I cannot see what is inside. 
> > Thks a lot for your help.
> > Eric
> 
> Are you using Codewarrior?
> 
> I don't know if this is the problem, but check that you don't 
> have any zero-size segments. That used to cause all sorts of 
> screwey problems.
> 
> --
> For information on using the Palm Developer Forums, or to 
> unsubscribe, please see http://www.palmos.com/dev/support/forums/
> 

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/


Re: Incorrect PRC file ?

2004-12-27 Thread Steven Fisher
Eric Andre wrote:
With PRC explorer (v1.0.19.1), I clearly see the 24 bitmaps that I declared in my 
app. They are named Tbmp 9 to Tbmp 32. They can be displayed => ok.
I have 2 additional Tbmps, named Tbmp 1 and Tbmp 2.
Tbmp 1 : when I click on it, I get message "TBitmap parsing error - unknown version", and 
it displays "Resource size 72292 bytes"
Tbmp 2 : when I click on it, I get another message "TBitmap parsing error - wrong size", 
and it displays "Resource size 19266 bytes"
For both, I cannot see what is inside. 
Thks a lot for your help.
Eric
Are you using Codewarrior?
I don't know if this is the problem, but check that you don't have any 
zero-size segments. That used to cause all sorts of screwey problems.

--
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/


Re: Incorrect PRC file ?

2004-12-27 Thread Eric Andre
With PRC explorer (v1.0.19.1), I clearly see the 24 bitmaps that I declared in 
my app. They are named Tbmp 9 to Tbmp 32. They can be displayed => ok.

I have 2 additional Tbmps, named Tbmp 1 and Tbmp 2.
Tbmp 1 : when I click on it, I get message "TBitmap parsing error - unknown 
version", and it displays "Resource size 72292 bytes"
Tbmp 2 : when I click on it, I get another message "TBitmap parsing error - 
wrong size", and it displays "Resource size 19266 bytes"

For both, I cannot see what is inside. 
Thks a lot for your help.
Eric
-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/


Re: Incorrect PRC file ?

2004-12-27 Thread Henk Jonas
Eric Andre wrote:
Thks for your replies.
We develop with CaslSoft. All our code segments are 30Kb max.
But indeed file Tbmp0001 is 73Kb.
We do not know what it is. When editing it (we're not expert), it seems it 
contains all constants of our app.
We do not know how to break this file into smaller pieces.
Any idea ?
Eric
Tbmp0001 sounds like an Bitmap file. Use prc-explorer to see the content.
Regards
Henk
--
-
  Henk Jonas
  Palm OS Â certified developer
  [EMAIL PROTECTED]   www.metaviewsoft.de
-
--
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/


Re: Incorrect PRC file ?

2004-12-26 Thread Eric Andre
Thks for your replies.
We develop with CaslSoft. All our code segments are 30Kb max.
But indeed file Tbmp0001 is 73Kb.
We do not know what it is. When editing it (we're not expert), it seems it 
contains all constants of our app.
We do not know how to break this file into smaller pieces.
Any idea ?
Eric
-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/


Re: Incorrect PRC file ?

2004-12-25 Thread Chris Apers
This is because you have a resource bigger than 64000B
Check your resource items and segments size to know where
is the problem.


- Original Message - 
From: "ANDRE Eric" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" 
Sent: Saturday, December 25, 2004 10:47 AM
Subject: Incorrect PRC file ?


> Hi group,
> when loading my PRC on palm-T5, hotsync considers PRC as incorrect and
removes it from the device (message in hotsync log).
>
> when loading a PRC in palm os emulator, I get error "skipped resource tbmp
..".
>
> Did s/one already exprience it ?
> bitmap problem ?
>
> Thks a lot in adv for your help.
> Eric
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/


Re: Incorrect PRC file ?

2004-12-25 Thread Henk Jonas
ANDRE Eric wrote:
Hi group,
when loading my PRC on palm-T5, hotsync considers PRC as incorrect and removes 
it from the device (message in hotsync log).
when loading a PRC in palm os emulator, I get error "skipped resource tbmp ...".
Did s/one already exprience it ?
bitmap problem ?
Thks a lot in adv for your help.
Eric
check the resource sizes. use zlib to make it smaller or split it in 
several records.

--
-
  Henk Jonas
  Palm OS Â certified developer
  [EMAIL PROTECTED]   www.metaviewsoft.de
-
--
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/


Incorrect PRC file ?

2004-12-25 Thread ANDRE Eric
Hi group,
when loading my PRC on palm-T5, hotsync considers PRC as incorrect and removes 
it from the device (message in hotsync log).

when loading a PRC in palm os emulator, I get error "skipped resource tbmp ...".

Did s/one already exprience it ?
bitmap problem ?

Thks a lot in adv for your help.
Eric
-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/