Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29242 Discussions

Problem with ResEdit 32bit for creating dialogue boxes in Intel Visual Fortran

cssb_intel
Beginner
810 Views
I am using Intel Visual Fortran Version10.1.011.
I have downloaded freeware ResEdit from ResEdit.net.
I am trying to create dialogue box as given in help file of the Intel Visual Fortran.

Firstly, Adding a new .rc file to project type console.
Trying to open the .rc file with the downloaded ResEdit application.
I am able to add dialogue box and other tools also.
But once I close the ResEdit Application, if I try to reopen the .rc file, getting blank page in ResEdit application.

what are the include files I need to confugure to the ResEdit application.
what are the other configurations that I need to do for ResEdit application to get full benefit out of it.

Please help me out.
0 Kudos
3 Replies
Steven_L_Intel1
Employee
810 Views
ResEdit should generate both a .rc and a .h. You will need to add both of those to your Fortran project and add a custom build step for the .rc:

  1. Add Resource.h to your project using File>Add Existing Item....

  2. Select the Resource.h file in the Solution View and the select View>Property Pages from the main menu bar.

  3. Set the Command Line option to use the deftofd tool by entering:

    deftofd resource.h resource.fd
  4. Set the Description option to Generating Fortran include file...

  5. Set the Outputs option to resource.fd.

  6. Click OK.

Can you attach here the .rc that is blanking on you?
0 Kudos
Neels
New Contributor II
810 Views
Should I be able to edit .rc files created in Visual Studio in ResEdit? I was not able to, emailed the help on its home page but have not received a reply!

Neels
0 Kudos
Steven_L_Intel1
Employee
810 Views
I was able to open WHIZZY.RC from the compiler samples with ResEdit. You do have to configure the include file paths in ResEdit to include both the Windows SDK folder and, at least for WHIZZY, the Visual C++ atlmfc folder. If you're using the VS Shell, I think this is provided but you'll have to find where on your system it is.

I added a button to the WHIZZY dialog, saved it, then opened it in VS and it looked fine.

0 Kudos
Reply