<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic using dialog boxes and defToFD.exe in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799119#M36811</link>
    <description>After setting up a new project my resource.fd wasnt build any more.&lt;BR /&gt;&lt;BR /&gt;Thanks for the picture of the Custom Build Step, that did the trick.&lt;BR /&gt;&lt;BR /&gt;Markus</description>
    <pubDate>Tue, 22 Nov 2011 15:47:41 GMT</pubDate>
    <dc:creator>onkelhotte</dc:creator>
    <dc:date>2011-11-22T15:47:41Z</dc:date>
    <item>
      <title>using dialog boxes and defToFD.exe</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799102#M36794</link>
      <description>Is it just me or do I have things not setup correctly?&lt;BR /&gt;&lt;BR /&gt;In order to use dialog boxes you have to get resource.h converted to resource.fd&lt;BR /&gt;&lt;BR /&gt;The documentation talks about this in "The Include (.FD and .H) files"&lt;BR /&gt;and also in "Designing a Dialog Box Overview"&lt;BR /&gt;&lt;BR /&gt;Great so far. But when I use "deftofd resource.h resource.fd" as the command line in the properties, Visual Studio can't find it, and I end up having to include the path to deftofd.exe as well.&lt;BR /&gt;Regardless of whether I use the %IFORT_COMPILERxx% environment variable or explicitly specify the path, I end up having to revise my project to reflect the current location of defToHD when I update my compiler.&lt;BR /&gt;&lt;BR /&gt;This doesn't seem correct since that is a pain and orthers must clearly be using dialog boxes in their projects.&lt;BR /&gt;&lt;BR /&gt;So what have I done wrong or what have I missed in installing IVF?&lt;BR /&gt;&lt;BR /&gt;yesterday I installed VS 2008 and then Intel ComposerXE-2011, so I'm somewhat up-to-date now.&lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
      <pubDate>Thu, 17 Feb 2011 16:33:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799102#M36794</guid>
      <dc:creator>John_B__Walter</dc:creator>
      <dc:date>2011-02-17T16:33:19Z</dc:date>
    </item>
    <item>
      <title>using dialog boxes and defToFD.exe</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799103#M36795</link>
      <description>If VS can find the compiler it should be able to find deftofd.exe, since it is in the same folder. If you find it is not, uninstall and reinstall Fortran.</description>
      <pubDate>Thu, 17 Feb 2011 17:03:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799103#M36795</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2011-02-17T17:03:47Z</dc:date>
    </item>
    <item>
      <title>using dialog boxes and defToFD.exe</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799104#M36796</link>
      <description>So color me confused.&lt;BR /&gt;What you say makes sense, Steve,but...&lt;BR /&gt;&lt;BR /&gt;I've looked at my PATH, and while the install added a bunch of ...\redist\... folders, presumably for the redistributable files, it didn't add the binary folder C:\Program Files\Intel\ComposerXE-2011\bin\ia32&lt;BR /&gt;so I don't know haw VS was finding IFORT.EXE in that folder.&lt;BR /&gt;&lt;BR /&gt;Now that I've personally and explicitly added this to my path, it finds defToFD just fine.&lt;BR /&gt;&lt;BR /&gt;I did just the default install of the compiler. Did I miss something, or was I supposed to do something differently? This has been the case when I've installed previous versions, ever since I converted from CVF.&lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
      <pubDate>Thu, 17 Feb 2011 20:59:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799104#M36796</guid>
      <dc:creator>John_B__Walter</dc:creator>
      <dc:date>2011-02-17T20:59:05Z</dc:date>
    </item>
    <item>
      <title>using dialog boxes and defToFD.exe</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799105#M36797</link>
      <description>PATH has nothing to do with it when you are using Visual Studio. It uses the folders listed under Tools &amp;gt; Options &amp;gt; Intel Visual Fortran &amp;gt; Compilers. Maybe you need to click the RESET button there.&lt;BR /&gt;&lt;BR /&gt;From the command line, you need to establish the Fortran environment using one of the shortcuts provided in the Start menu for Intel Parallel Studio XE or execute the appropriate compilervars.bat (with ia32 or intel64 argument) to set up everything.&lt;BR /&gt;&lt;BR /&gt;Please do not manually add the compiler BIN folder to the PATH system variable.</description>
      <pubDate>Thu, 17 Feb 2011 21:19:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799105#M36797</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2011-02-17T21:19:23Z</dc:date>
    </item>
    <item>
      <title>using dialog boxes and defToFD.exe</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799106#M36798</link>
      <description>&lt;P&gt;So that's fine, I shouldn't have to add an environment variable.&lt;/P&gt;&lt;P&gt;But, the executables path, the libraries path, and the includes path under Tools\options Intel Visual Fortran\compilers&lt;/P&gt;&lt;P&gt;ALL reference the environment variable IFortInstallDir&lt;/P&gt;&lt;P&gt;which I don't see on my system, and I don't see where compilervars.bat or ifortvars.bat create it either.&lt;/P&gt;&lt;P&gt;Obviously it should have been created at installation.&lt;/P&gt;&lt;P&gt;The last entry for executables is $(PATH) so that is why adding the folder to the path lets VS find defToFD&lt;/P&gt;&lt;P&gt;FURTHER I'm missing something when you refer to "using one of the shortcuts provided in the Start menu for Intel Parallel Studio XE". That gives me shortcuts for "Command Prompt" and some other links, but nothing that appears useful for this.&lt;/P&gt;&lt;P&gt;Running a .bat file in a command window usually has zero effect after the window exits, with the exception of a few commands like the DOS SUBST command, but I decided to open a DOS window using the IA-32 shortcut. I executed "compilervars.bat ia32", logged out and back in just for good measure, and ran Parallel Studio XE with no effect. There was still no definition for IFortInstallDir, and defToFD.exe was still unknown.&lt;/P&gt;&lt;P&gt;What in Blue Blazes am I missing? Am I just speaking a completely different language? What do you mean "From the command line"?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2011 22:45:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799106#M36798</guid>
      <dc:creator>John_B__Walter</dc:creator>
      <dc:date>2011-02-17T22:45:11Z</dc:date>
    </item>
    <item>
      <title>using dialog boxes and defToFD.exe</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799107#M36799</link>
      <description>That environment variable is created dynamnically by the VS integration. Running compilervars.bat as a command from VS will have no effect.&lt;BR /&gt;&lt;BR /&gt;I mentioned the shortcut only because it was unclear to me which environment you were using to build. If you are using VS, ignore that part.&lt;BR /&gt;&lt;BR /&gt;Please go to Tools &amp;gt; Options &amp;gt; Intel Visual Fortran &amp;gt; Compilers. Make sure that the selected compiler is &lt;LATEST&gt;. Click "Reset All". See if that helps.&lt;/LATEST&gt;</description>
      <pubDate>Fri, 18 Feb 2011 00:31:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799107#M36799</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2011-02-18T00:31:08Z</dc:date>
    </item>
    <item>
      <title>using dialog boxes and defToFD.exe</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799108#M36800</link>
      <description>John, I had a similar problem when I upgraded at the beginning of the year although my upgrade was only from IVF to ComposerXE (I was already and am still running VS2008). I can't recall the precise details now but I have overcome it by writing a small program that runs the deftofd conversion. I seem to have to do this manually each time I make a change to my dialog resources. Looking at the routine I wrote there seemed also to be an issue with continuation lines in the resulting fd file. Once it was created with deftofd I then modify the fd file to strip out all the continuations and concatenate to single lines. It there is a way round this Intel then I would be pleased to hear about it.</description>
      <pubDate>Fri, 18 Feb 2011 11:19:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799108#M36800</guid>
      <dc:creator>acar</dc:creator>
      <dc:date>2011-02-18T11:19:09Z</dc:date>
    </item>
    <item>
      <title>using dialog boxes and defToFD.exe</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799109#M36801</link>
      <description>If you right-click on Resource.H in solution explorer and select properties, then look under 'Configuration Properties' (left-hand pane) and find 'Custom Build Step..General', you will see if the DefToFD step is shown. Otherwise you should add it there so that every time Resource.H changes, this step is always carried out.&lt;BR /&gt;(see attached example).&lt;BR /&gt;&lt;BR /&gt;I appreciate that it must be V. annoying if this step is not made by default for every resource.h file in every project you create because of a VS integration problem.&lt;BR /&gt;&lt;BR /&gt;By the way, the othe picture shows the EXE's in the compiler binary folder. As you can see, the compiler, the linker and deftofd are all together.&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Feb 2011 12:27:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799109#M36801</guid>
      <dc:creator>anthonyrichards</dc:creator>
      <dc:date>2011-02-18T12:27:40Z</dc:date>
    </item>
    <item>
      <title>using dialog boxes and defToFD.exe</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799110#M36802</link>
      <description>Thanks for all the ideas. I've finally put it all together, so I'll sum up my problem.&lt;BR /&gt;&lt;BR /&gt;I was used to being able to go to the solution explorer and right clicking on a source file and selecting to compile it. Well, you can't do that with a .h file, unless it is in a C project.&lt;BR /&gt;&lt;BR /&gt;So Duh! in a C++ project VS wasn't looking in the right place for a fortran project executable.&lt;BR /&gt;&lt;BR /&gt;So now I've removed that C++ project from my solution (I only had it for generating the .FD from the .h) and I've added the .h to my fortran project using Project\Add existing Item, and setup the custom build step for the .h as described in the documentation.&lt;BR /&gt;&lt;BR /&gt;Even though I can't use "right click\compile" to execute it, it is automatically converted each time I build my project (assuming a rebuild or the .h has changed).&lt;BR /&gt;&lt;BR /&gt;This is good. The only thing helpful about using my C++ project strategy was that all I had to do was to add that project to each of my fortran solutions; I didn't have to add the .h and then set up the "custom build step" each time. I did have to explicitly specify the location of defToFD.exe, and that had to be revised when I upgraded my compiler version, which as I said and you can see is a pain.&lt;BR /&gt;&lt;BR /&gt;Thanks, this will be better. It would be nice if the .h type was recognized and all I had to do was to add it to my fortran project and not have to fool with the custom build step.</description>
      <pubDate>Fri, 18 Feb 2011 14:30:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799110#M36802</guid>
      <dc:creator>John_B__Walter</dc:creator>
      <dc:date>2011-02-18T14:30:02Z</dc:date>
    </item>
    <item>
      <title>using dialog boxes and defToFD.exe</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799111#M36803</link>
      <description>What about making your Fortran project dependant on the C++ project? Maybe that will trigger all the right things when you have modified the C++ project?</description>
      <pubDate>Fri, 18 Feb 2011 14:57:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799111#M36803</guid>
      <dc:creator>anthonyrichards</dc:creator>
      <dc:date>2011-02-18T14:57:10Z</dc:date>
    </item>
    <item>
      <title>using dialog boxes and defToFD.exe</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799112#M36804</link>
      <description>The .h file type is a C/C++ include file - it would be wrong for Fortran to consider this a compilable file.</description>
      <pubDate>Fri, 18 Feb 2011 15:02:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799112#M36804</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2011-02-18T15:02:40Z</dc:date>
    </item>
    <item>
      <title>using dialog boxes and defToFD.exe</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799113#M36805</link>
      <description>Thanks for that Anthony.</description>
      <pubDate>Fri, 18 Feb 2011 15:03:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799113#M36805</guid>
      <dc:creator>acar</dc:creator>
      <dc:date>2011-02-18T15:03:25Z</dc:date>
    </item>
    <item>
      <title>using dialog boxes and defToFD.exe</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799114#M36806</link>
      <description>Being able to "compile" the .h explicitly was a red herring in anycase as the .fd is not needed untill the fortran while which uses it is compiled. At that point a build of the project, rather than just a compile of the particular fortran file can be called for. That will perform the defToFD step.&lt;BR /&gt;&lt;BR /&gt;Making the fortran dependent on the C++ doesn't work because then it would try to build the fortran project before the C++ project, and also it still wouldn't find defToFD in the C++ folders.&lt;BR /&gt;&lt;BR /&gt;What I have now is the correct solution, with the .h in the fortran project.</description>
      <pubDate>Fri, 18 Feb 2011 16:18:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799114#M36806</guid>
      <dc:creator>John_B__Walter</dc:creator>
      <dc:date>2011-02-18T16:18:59Z</dc:date>
    </item>
    <item>
      <title>using dialog boxes and defToFD.exe</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799115#M36807</link>
      <description>Only problem with adding deftofd to the custom build step is that when running in debug mode the compiler thinks that the project is out of date even if the resources haven't changed. Probably too much to expect the compiler to check to see whether, after enforcing it to run deftofd, it actually needs to do this?</description>
      <pubDate>Fri, 18 Feb 2011 17:55:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799115#M36807</guid>
      <dc:creator>acar</dc:creator>
      <dc:date>2011-02-18T17:55:14Z</dc:date>
    </item>
    <item>
      <title>using dialog boxes and defToFD.exe</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799116#M36808</link>
      <description>I had to do this, too, after trying all kinds of things I made a cmd file for it. Now I'm in the habit of just doing it automatically. Only neededwhen a newcontrol is added or deleted--not needed for other design changes to the dialog.</description>
      <pubDate>Fri, 18 Feb 2011 19:17:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799116#M36808</guid>
      <dc:creator>nvaneck</dc:creator>
      <dc:date>2011-02-18T19:17:08Z</dc:date>
    </item>
    <item>
      <title>using dialog boxes and defToFD.exe</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799117#M36809</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1298056331139="63" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=452502" href="https://community.intel.com/en-us/profile/452502/" class="basic"&gt;acar&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px; background-color: #e5e5e5; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;Only problem with adding deftofd to the custom build step is that when running in debug mode the compiler thinks that the project is out of date even if the resources haven't changed. Probably too much to expect the compiler to check to see whether, after enforcing it to run deftofd, it actually needs to do this?&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV id="tiny_quote"&gt;This should not be the case.&lt;BR /&gt;Iadded the .h directly to the fortran project (not to the sources or header folder), went into the project\properties for the .h, and set them as described in the documentation.&lt;BR /&gt;THEN defToFD is only executed when the .fd is not found or the .h has changed since the .fd modification date.&lt;BR /&gt;This does not, in my experience, cause VS to complain that the solution is not up-to-date when I tell it to start the code in debug mode.&lt;BR /&gt;I have not done anything to instruct VS to run defToFD unconditionally, merely to execute it when the .FD is not up-to-date.&lt;/DIV&gt;</description>
      <pubDate>Fri, 18 Feb 2011 19:22:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799117#M36809</guid>
      <dc:creator>John_B__Walter</dc:creator>
      <dc:date>2011-02-18T19:22:31Z</dc:date>
    </item>
    <item>
      <title>using dialog boxes and defToFD.exe</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799118#M36810</link>
      <description>Yes I have reverted to this approach and yes don't need to run it for edits.</description>
      <pubDate>Tue, 01 Mar 2011 18:25:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799118#M36810</guid>
      <dc:creator>acar</dc:creator>
      <dc:date>2011-03-01T18:25:13Z</dc:date>
    </item>
    <item>
      <title>using dialog boxes and defToFD.exe</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799119#M36811</link>
      <description>After setting up a new project my resource.fd wasnt build any more.&lt;BR /&gt;&lt;BR /&gt;Thanks for the picture of the Custom Build Step, that did the trick.&lt;BR /&gt;&lt;BR /&gt;Markus</description>
      <pubDate>Tue, 22 Nov 2011 15:47:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/using-dialog-boxes-and-defToFD-exe/m-p/799119#M36811</guid>
      <dc:creator>onkelhotte</dc:creator>
      <dc:date>2011-11-22T15:47:41Z</dc:date>
    </item>
  </channel>
</rss>

