To Gary:

Thanks for the feedback.

Phase 2 is giving me headaches, I'm trying to
parse any resource file, but for now I think I
will just stick with resource files that were
created with ResEditor or RadAsm, because there
are many ways to write a resource file.

Unless you want to try to write the routine.


Posted on 2002-01-28 06:53:42 by Ewayne
Hi Ewayne,

Hahaha..Thanks for the challenge, but I'm afraid my time is wrapped up for a while right now..(special project at work). I'd be glad to test something out though (with other/older .rc files, etc.

However, I do agree that parsing for all types would be a never-ending nightmare. Implementation for ResEdit (and RadASM since its' similar) should suffice. Besides, you (and/or us users) could always add other formats later. And, if someone wanted to work on a particular older resource file, it would only take a few moments to design a new, similar resource in ResEdit anyway.

Posted on 2002-01-28 07:24:13 by gscundiff
it could be a very good tool, if you make it open an .res/.dll or .exe file, and loading the resources inside.

On this way, it would be a resource builder and editor, and it will be more easy to crate menus and dialogs from another files preexistents, even if they are .res or dlls.

I didn't test it yet, but is it able to open a rcdata , or manage delphi/vcl resources ?

Btw.: Indeed it is a wonderfull work you make.If it could be able to load res/exe/dll etc, it would totally replace the use of VC++ editor and several others. I prefer it should be an standalone, rather then an addin, if you could keep both it would be great.


Posted on 2002-02-27 20:14:49 by Beyond2000!
To Beyond2000!

Thanks for the feedback.

After all of the bugs are worked out. I'll work
on extracting resources from .res, .exe, and .dll

I have no idea what rcdata or delphi/vcl files
are, maybe you could send me some, so can play
with them.

I have ResEdit intergrated into AsmEdit, but it
is the same identical program as the standalone

I havn't posted the updated AsmEdit on my web site,
because I'm doing some other thinges to it.

Posted on 2002-03-01 00:09:07 by Ewayne

as soon i come home i?ll search my cds for delphi related resources, and borland vcl forms...

A rcdata, is a binary file integrated inside a resource, like an mp3, a midi; a text; ie, any file you put in a resource to be loaded in the main program as a binary data.

In case of delphi and borland, the menus and forms are disposed as a rcdata (VCL form)....

Restorator can open these types of files, as dede, or dap (delphi aplication peeper) and some others.

Also on this board, bazik and other guy (i don?t remember his name, now), wrote some tools to crate asm files for delphi and vb apps...(dfm2asm and vb2asm?? vbconverter ??)

Anyway....creating a tool that can read other forms and dialogs and applying them to masm is a wonderful tool.

Other thing, when you create a .exe/dll extractor, don?t forget to made them as general (*.* /all files), since, there are other extensions that can contain resources as well, like .wll; .ocx and others.

I was analysing the resource section in pe files last week, and got some stuff related on the web....

I?ll check it out later, and send to you.


Posted on 2002-03-01 07:30:15 by Beyond2000!

Also on this board, bazik and other guy (i don?t remember his name, now), wrote some tools to crate asm files for delphi and vb apps...(dfm2asm and vb2asm?? vbconverter ??)

zConvert frm2asm :) - ("Projects" section)
Posted on 2002-03-01 07:45:35 by bazik
Hello Ewayne

Sorry for the long waiting...i had serious troubles with my machine ( i really mean serious, Lost one of the HDs, what a crap !!!)...

I?m trying to search all my data (at least the most important from the net again).

About the delphi forms, well, they were on the HD that fucked up.

I got?em here:

You can view the forms, with restorator, or peexplorer or dfmviewer, and many others.

Here is some sample files:

Best regards,

Posted on 2002-03-15 15:19:35 by Beyond2000!
To Beyond2000:

Thank you I will check it out.

You might want to go to my Web Site to get the
latest ResEdit complete package.

Posted on 2002-03-15 15:28:28 by Ewayne
Very good Ewayne, very good indeed.

ResEdit is becoming a wonderfull tool.


I?ll look again for .res files structures for you. Now i lost them, but i can find again.

About rcdata

check here

Posted on 2002-03-15 16:41:55 by Beyond2000!
I created ico control inside existing group box.
I couldn't create just ico control (cause there is no one
on toolbox) , so I first created bmp control then change style to 0011.
After that control disapear, nevertherless proprty sheet shows size and
position of the control I was fine with. I thought that maybe I need to
select it again to make it appear. After I did it the control didn't appear,
and !!!!!!!!!!! - property sheet showed different (incorrect) values.
size shrunk to 16x16 instead of 32X32 and size and position values
were changed to strange ones - some of them were too big and some were

I tried to draw icon control more than 10 times after that with different approach and always failed.
Posted on 2002-03-19 06:19:18 by The Svin
I found way out - create icon control outside of any groupbox and then move it inside groupbox, but I still consider it a very unpleasent bug.
I also can not why ResEdit always change size of my ico control to
16x16 so each time I 'm forced to replace the values manually.
Posted on 2002-03-19 06:36:12 by The Svin
To The Svin:

I'll fix the Icon problem on the next update.


Posted on 2002-03-19 07:41:00 by Ewayne
Convertion to dlg points offten produce incorrect results.
The easiest way to catch it - experiment with aligned controls
with minimum spaces between, shift from right number offten equal 1.

CONTROL "",IDC_EDIT01,"edit",0x50012000,119,9,84,12,0x00000200
CONTROL "",IDC_EDIT02,"edit",0x50010800,119,21,84,12,0x00000200
CONTROL "",IDC_EDIT03,"edit",0x50010800,119,33,84,12,0x00000200
CONTROL "",IDC_EDIT04,"edit",0x50010800,119,46,84,12,0x00000200
CONTROL "",IDC_EDIT05,"edit",0x50010800,119,58,84,12,0x00000200

IDC_EDIT04 Y position supposed to be 45 not 46 the next
control also shifted to 58 (needs to be 57)
Posted on 2002-03-21 02:59:14 by The Svin
To The Svin:

I know it's a problem and I don't like it either,
it's due to rounding when you convert from pixels
to dialog units or dialog units to pixels.

If anyone knows how to overcome it I would appreciate it.

Posted on 2002-03-21 07:13:49 by Ewayne
Resizing in disign window must be in steps = dlg point to pixel.
Posted on 2002-03-21 11:53:19 by The Svin
To The Svin:

I know how to convert pixels to dialog units and
dialog units to pixels, I have several forulas to
do that.

When I get a couple of minutes I'm going to write
the routines using floating point, maybe that will
help to eliminate the rounding problem.

Dialog box measurements are given in dialog base units.
One horizontal unit is equal to one-fourth of the
average character width for the system font.
One vertical unit is equal to one-eighth of the
average character height for the system font.

The problem is that if your not using the system
font it is not quite equal to one-fourth or
one-eighth and that is where the rounding factor
comes into play.

Posted on 2002-03-21 12:27:59 by Ewayne
I mean, that WorkShop, for example, is working dlg units in design time.
It responds to user mouse\keyboard inputs by drawing in the points at once, so that it ellimenates rounding problem 'cause instead of convertion to dlg units afterwords it keep dialog units as measure thing in design time.
Posted on 2002-03-27 08:50:06 by The Svin
To The Svin:

Good point!

I thought about using WYSIWYG, but I haven't
quite figured out how to do it yet, but I know
it would be a major rework.

I'll see what I can do.

Posted on 2002-03-27 12:50:46 by Ewayne
Keyboard resizing doesn't work with dlg window.
Is it supposed to be?
Posted on 2002-03-31 06:14:46 by The Svin
I created ListBox.
ResEdit created caption for it "IDC_LISTBOX".
Caption (as it supposed to) appeared in control.
Then I removed caption from property sheet.
Caption remained.
Then I typed another text for a caption in property sheet
The caption was still the same: "IDC_LISTBOX" :)
Posted on 2002-03-31 06:46:09 by The Svin