Jump to content
Tuts 4 You

how do i create dialog box using resource of win32 app


malware

Recommended Posts

I am looking for tutorial series or book of creating dialog in resource section. how do i create dialog box ?

I am reverse engineering using resource hacker. I found the program i am reversing  has dialog box item.

what is the raw  resource source code of the following dialog -reference attached image?

comodo1.png

Edited by malware
Link to comment

That is the "raw resource source code" for a dialog with a title "Comodo Client - Security" which has three controls.

The dialog would be compiled from a resource script file (*.rc) to a resource file (*.res) and linked into the exe. The res file is equivalent of and obj file.

The resource compiler (rc.exe) found in visual studio packages (and others sources) is what compiles the resource script.

Visual studio has a builtin resource editor to be able to create dialogs with controls on them.

There are other resource editors available that does the same, some with more features or easier to use

A quick search for resource editors shows: http://www.resedit.net/ or a stand alone version of the resource editor built into RadASM IDE: https://www.softpedia.com/get/Programming/File-Editors/KetilO-Resource-Editor.shtml

Link to comment
18 minutes ago, fearless said:

That is the "raw resource source code" for a dialog with a title "Comodo Client - Security" which has three controls.

The dialog would be compiled from a resource script file (*.rc) to a resource file (*.res) and linked into the exe. The res file is equivalent of and obj file.

The resource compiler (rc.exe) found in visual studio packages (and others sources) is what compiles the resource script.

Visual studio has a builtin resource editor to be able to create dialogs with controls on them.

There are other resource editors available that does the same, some with more features or easier to use

A quick search for resource editors shows: http://www.resedit.net/ or a stand alone version of the resource editor built into RadASM IDE: https://www.softpedia.com/get/Programming/File-Editors/KetilO-Resource-Editor.shtml

http://www.winprog.org/tutorial/dialogs.html

question : how do i add resource ? is using add resource using visual studio ?

Edited by malware
Link to comment
5 minutes ago, fearless said:

Add resource using a resource editor, the one in visual studio would work as will the others I mentioned above.

Thanks a lot.

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...