Jump to content
Tuts 4 You
malware

how do i create dialog box using resource of win32 app

Recommended Posts

malware
Posted (edited)

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 (see edit history)

Share this post


Link to post
Share on other sites
fearless

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

Share this post


Link to post
Share on other sites
malware
Posted (edited)
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 (see edit history)

Share this post


Link to post
Share on other sites
fearless

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

Share this post


Link to post
Share on other sites
malware
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.

 

Share this post


Link to post
Share on other sites

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

×