Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
25 Views

Problem with resource files

Jump to solution

I wanted to change a control in a dialog I had not changed for sometime.

Since moving to IVF & Visual Studio I have been using ResEdit to edit my dialogs.

With this program I could not edit the dialog in ResEdit, therefore in IVF & Visual Studio I created a new resource and created the dialog the same as before.

When I run it I it appears as if the controls are mixed up, i.e. a button has the caption that the program is assigning to a text box.

I have a new resource.h file that looks correct, but I have an old resource.fd file.

My program incudes the lines 'include resource.fd'.

I assume the solution is to generate a new resource.fd file - how do I do this?

       

0 Kudos

Accepted Solutions
Highlighted
25 Views

Ah - see https://software.intel.com/en-us/node/535386 (Designing a Dialog Box Overview) for info on getting the deftofd tool run on your .h file.

Retired 12/31/2016

View solution in original post

0 Kudos
5 Replies
Highlighted
25 Views

If you qualify, and many do, try installing Visual Studio 2015 Community Edition and the reinstalling Intel Parallel Studio XE. You'll then have the Visual Studio resource editor available.

Retired 12/31/2016
0 Kudos
Highlighted
Beginner
25 Views

I do have the Visual Studio resource editor available - this is what I have used to recreate the dialog - the resource.h & resource.fd appear to be out of step. Is there not a simple solution?

If necessary I could try to install Visual Studio 2015 Community Edition - but I'm worried that I then find myself with more problems.

  

0 Kudos
Highlighted
26 Views

Ah - see https://software.intel.com/en-us/node/535386 (Designing a Dialog Box Overview) for info on getting the deftofd tool run on your .h file.

Retired 12/31/2016

View solution in original post

0 Kudos
Highlighted
New Contributor I
25 Views

I have the same problem on some projects and ended up manually editing the .fd file to have the same content as the .h file, just copy the added lines in the .h file, paste it in the .fd file and fix the format. Cumbersome but works fine.

0 Kudos
Highlighted
Beginner
25 Views

Steve,

Thanks, I followed the instructions and it works fine.

0 Kudos