aldweb

Close I. aldweb

Close II. PC Freeware

Close III. Palm Freeware

Close IV. Palm Shareware

Close V. iziBasic Palm

Close VI. Palm Knowledge

Close VII. Pocket Computer

Close VIII. miniPortail

Special !



Mobile version of
the aldweb Site

m.aldweb.com


Neither French, nor English?

Try one of these flags then:
[de] [es] [it] [pt]
Search




Weather / Spam / www

Lyon Weather


aldweb against spam


Newsletter
To receive news about this website, consider subscribing to our Newsletter.
Subscribe
Unsubscribe
298 Subscribers
Family's web sites

Webmaster - Infos
Friends News
Visits

   visitors

   visitors online

Poll
What do you think of the new design of the aldweb Site?
 
Great !
Beautiful
Average
So ugly...
Results
forum.gifForum - iziBasic - Topic #1093

Forum - Forum
iziBasic - iziBasic


Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257

active  Topic # 1093  Creating resource file with Pilrc

11/02/2005 @ 17:54
by Lugato

Anonymous



Hi to all,

Anyone knows if is it possible to create a .rsrc with Pilrc ???

I created a xxx.prc file with many bmp´s but in iziBasic I can´t use any image

Is it possible to convert a .prc file to a .rsrc file or any other solution ???
  Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1
--------
11/02/2005 @ 19:31
by aldweb

Anonymous

visitor
Hello Lugato,

Yes, you can use PILRC to build a resource file. Then, what I don't know is if PILRC can generate a self sufficient .prc file.

I personally include the PILRC generated resource file in a PRC thanks to a HSPascal compilation of a fake source code. I get a PRC file that I then hotsync to my Palm.

At this stage, I just have to change its type to Rsrc in Bird (or RsrcEdit) and to remove the code 0 and code 1 resources (these are the fake code added by HSPascal).

Cheers

@+
aldweb
Write to aldweb   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 2
--------
12/02/2005 @ 00:47
by Leonard Zajaczkowski

Anonymous

visitor
I'm using pilrc-3.2 and it seems to work for me...

The RCP (called bmp3.rcp) file I created looks like this:

BITMAPFAMILYEX ID 7
BEGIN
BITMAP "simon7.bmp" BPP 8 DENSITY 72 TRANSPARENT 255 255 255
END

BITMAPFAMILYEX ID 8
BEGIN
BITMAP "simon8.bmp" BPP 8 DENSITY 72
END

ICON ID 1000
BEGIN
BITMAP "simon9.bmp" BPP 8 DENSITY 72 TRANSPARENT 255 255 255
END

ICON ID 1001
BEGIN
BITMAP "simon10.bmp" BPP 8 DENSITY 72 TRANSPARENT 255 255 255
END

Then I use a batch file that looks like this:

PilRC -name psimonlr.rsrc -ro -o psimonlr.rsrc.prc bmp3.rcp

The above command is all on one line...

I end up with a file called: 'psimonlr.rsrc.prc' which I hotsync and use.

The only thing that I found odd, is when I create hi-res graphics (bpp 16 density 144) I have to FORCECOMPRESS them and they are not editable on the palm.

Mind you I just started using pilrc so this is the extent of my knowledge, so far.
Write to Leonard Zajaczkowski   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 3
--------
12/02/2005 @ 06:15
by Montalvo

Anonymous

visitor
Also, find for a program called: "PIBUILDER". This one runs on Windows, and it is an editor to create resources for your application. You will need PILRC, of course, to "compile" your resources into a PRC file.

You can find this program at:
http://pibuilder.sourceforge.net/

Write to Montalvo   Post an answer  Top
active topic active   closed topic closed   Sticky Sticky   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
[]
Forum Topic  Forum 



 
^ Top ^