[Gambas-user] frx busting code
Rob
sourceforge-raindog2 at ...94...
Thu Jan 20 07:34:54 CET 2005
OK, I took another stab at busting open some .frx files tonight.
Frx files are the binary resource files accompanying VB .frm
files, most often containing icons and other pictures. The net
result is, I have
- a perl script that'll burst an frx file into a bunch of .dat
files (you can use the file command to tell what kind of file
each is)
- a static Gambas function that, given a frm file and an offset
into the accompanying frx file and a directory in which to dump
the result, will extract one specific file from an frx.
(Pictures are stored in .frm files as frxname.frx:FFFF where
FFFF is the offset in hex.)
I have about 20 .frx files locally from an assortment of old
VB5/VB6 projects, and the above code seems pretty reliable so
far. Please send me .frx files that it barfs on, along with the
accompanying .frm file. I don't have VB locally but at this
point I don't think I really need it.
I am working on porting my old perl frm2form to gambas 1.9.x
using gb.pcre, but that's as far as I go for tonight ;)
Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CExtractFrx.class
Type: application/x-java
Size: 1653 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20050120/cecd117b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: burstfrx
Type: application/octet-stream
Size: 350 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20050120/cecd117b/attachment.obj>
More information about the User
mailing list