<?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 Re: IVF resource defines missing? in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800841#M37590</link>
    <description>&lt;DIV&gt;The VS.NET repair option didn't recover the .fd functionality. I would appreciate your registry hack to fix this.&lt;/DIV&gt;
&lt;DIV&gt;TIA&lt;/DIV&gt;</description>
    <pubDate>Sun, 19 Sep 2004 23:54:30 GMT</pubDate>
    <dc:creator>Paul_Curtis</dc:creator>
    <dc:date>2004-09-19T23:54:30Z</dc:date>
    <item>
      <title>IVF resource defines missing?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800839#M37588</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;CVF's integration with DevStudio includes automatic generation of locres.fd and resource.fd files when the resource compiler (or whatever it is) processes dialog setup information.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Is this missing from IVF/VS.NET? The VS resource editor seems to provide equivalent services to DevStudio's (better property pages, actually), but apparently only generates locres.h and resource.h standard C header files.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Obviously it's not difficult to create a small program to read the .h files and produce the equivalent .fd files, invoked by an external batch command, but it would be nice (indeed, expected) to have this done automatically as part of the IVF integration with VS.&lt;/DIV&gt;</description>
      <pubDate>Sun, 19 Sep 2004 06:05:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800839#M37588</guid>
      <dc:creator>Paul_Curtis</dc:creator>
      <dc:date>2004-09-19T06:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: IVF resource defines missing?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800840#M37589</link>
      <description>It is supposed to work.  I have seen a case where a registry entry for VS.NET got corrupted and caused the step of generating the Fortran version of resources to be skipped.  Doing a "repair" on the VS.NET install seemed to fix it.  If you need more help, let me know , and I'll dig up the exact registry settings that need changing.</description>
      <pubDate>Sun, 19 Sep 2004 07:34:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800840#M37589</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2004-09-19T07:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: IVF resource defines missing?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800841#M37590</link>
      <description>&lt;DIV&gt;The VS.NET repair option didn't recover the .fd functionality. I would appreciate your registry hack to fix this.&lt;/DIV&gt;
&lt;DIV&gt;TIA&lt;/DIV&gt;</description>
      <pubDate>Sun, 19 Sep 2004 23:54:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800841#M37590</guid>
      <dc:creator>Paul_Curtis</dc:creator>
      <dc:date>2004-09-19T23:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: IVF resource defines missing?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800842#M37591</link>
      <description>&lt;DIV&gt;Here's what worked for another customer.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Delete registry entry&lt;FONT size="3"&gt; HKEY_CLASSES_ROOT.rc&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="3"&gt;Do the Repair of VS.NET&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 20 Sep 2004 22:49:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800842#M37591</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2004-09-20T22:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: IVF resource defines missing?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800843#M37592</link>
      <description>&lt;DIV&gt;The resource.fd is not generated for me too.&lt;/DIV&gt;
&lt;DIV&gt;Has the removal of the registry key followed by the repair of VS.NET solved the problemfor "Paul-Curtis"?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Guus&lt;/DIV&gt;</description>
      <pubDate>Thu, 07 Oct 2004 21:33:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800843#M37592</guid>
      <dc:creator>nijhuis</dc:creator>
      <dc:date>2004-10-07T21:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: IVF resource defines missing?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800844#M37593</link>
      <description>&lt;DIV&gt;Go to your "resource.h"-&amp;gt;Right click-&amp;gt;Properties. You should get:&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Command Line: deftofd "$(InputPath)" "$(InputDir)$(InputName).fd"&lt;/DIV&gt;
&lt;DIV&gt;Outputs: $(InputDir)$(InputName).fd&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Do you?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;FWIW, my HKCR/.rc branch looks like (contents of exported .reg file:)&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV style="BORDER-RIGHT: black 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: black 1px solid; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; BORDER-LEFT: black 1px solid; PADDING-TOP: 10px; BORDER-BOTTOM: black 1px solid"&gt;&lt;SPAN class="text_smallest"&gt;Code:&lt;/SPAN&gt;&lt;PRE&gt;Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT.rc]
"Content Type"="text/plain"
@="rcfile"

[HKEY_CLASSES_ROOT.rcOpenWithList]

[HKEY_CLASSES_ROOT.rcOpenWithListdevenv.exe]
@=""

&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Jugoslav&lt;/DIV&gt;</description>
      <pubDate>Thu, 07 Oct 2004 22:13:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800844#M37593</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2004-10-07T22:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: IVF resource defines missing?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800845#M37594</link>
      <description>&lt;DIV&gt;Also, here arecontents of &lt;EM&gt;HKCR/rcfile&lt;/EM&gt; key:&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV style="BORDER-RIGHT: black 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: black 1px solid; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; BORDER-LEFT: black 1px solid; PADDING-TOP: 10px; BORDER-BOTTOM: black 1px solid"&gt;&lt;SPAN class="text_smallest"&gt;Code:&lt;/SPAN&gt;&lt;PRE&gt;Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT
cfile]
"AlwaysShowExt"=""
@="Resource Script"

[HKEY_CLASSES_ROOT
cfileDefaultIcon]
@="C:Program FilesMicrosoft Visual Studio .NETVc7vcpackagesresedit.dll,-27000"

[HKEY_CLASSES_ROOT
cfileshell]

[HKEY_CLASSES_ROOT
cfileshellOpen]

[HKEY_CLASSES_ROOT
cfileshellOpencommand]
@=""C:Program FilesMicrosoft Visual Studio .NETCommon7IDEdevenv.exe" /dde"

[HKEY_CLASSES_ROOT
cfileshellOpenddeexec]
@="Open("%1")"

[HKEY_CLASSES_ROOT
cfileshellOpenddeexecapplication]
@="devenv"

[HKEY_CLASSES_ROOT
cfileshellOpenddeexec	opic]
@="system"&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 07 Oct 2004 22:17:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800845#M37594</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2004-10-07T22:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: IVF resource defines missing?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800846#M37595</link>
      <description>&lt;DIV&gt;Jugoslav,&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;You suggest with your question about the properties of the resource.h, that this file is in the list of files in the Visual Studio, but it is not there.&lt;/DIV&gt;
&lt;DIV&gt;Only the resource.rc file is there.&lt;/DIV&gt;
&lt;DIV&gt;Is that the problem? Should it be there when it is generated by compiling the resource.rc?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Guus&lt;/DIV&gt;</description>
      <pubDate>Thu, 07 Oct 2004 23:03:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800846#M37595</guid>
      <dc:creator>nijhuis</dc:creator>
      <dc:date>2004-10-07T23:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: IVF resource defines missing?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800847#M37596</link>
      <description>&lt;DIV&gt;The registry (Windows XP) contains the following information on .rc:&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV style="BORDER-RIGHT: black 1px solid; PADDING-RIGHT: 10px; BORDER-TOP: black 1px solid; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; BORDER-LEFT: black 1px solid; PADDING-TOP: 10px; BORDER-BOTTOM: black 1px solid"&gt;&lt;SPAN class="text_smallest"&gt;Code:&lt;/SPAN&gt;&lt;PRE&gt;Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT.rc]
"PerceivedType"="text"
"Content Type"="text/plain"
@="VisualStudio.rc.7.1"

[HKEY_CLASSES_ROOT.rcOpenWithList]

[HKEY_CLASSES_ROOT.rcOpenWithListdevenv.exe]
@=""

[HKEY_CLASSES_ROOT.rcOpenWithProgids]
"VisualStudio.rc.7.1"=""

[HKEY_CLASSES_ROOT.rcPersistentHandler]
@="{5e941d80-bf96-11cd-b579-08002b30bfeb}"
&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thus, no .rcfile &lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Guus&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 07 Oct 2004 23:29:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800847#M37596</guid>
      <dc:creator>nijhuis</dc:creator>
      <dc:date>2004-10-07T23:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: IVF resource defines missing?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800848#M37597</link>
      <description>&lt;DIV&gt;Yes, I believe resource.h &lt;STRONG&gt;should &lt;/STRONG&gt;be included into project. Steve should confirm that, but, taking into account the way IVF8 (I think) treats these files, it looks logical to me.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;The registry information about file associations works like this:&lt;/DIV&gt;
&lt;DIV&gt;- under ".ext" key (".rc" in this case), first &lt;DEFAULT&gt;item "points" to another key under HKEY_CLASSES_ROOT. In your case, it's "VisualStudio.rc.7.1", in mine, it's "rcfile".&lt;/DEFAULT&gt;&lt;/DIV&gt;
&lt;DIV&gt;- that "pointed to" key contains information about registered application, which should be similar to mine.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I don't know why there is difference -- probably because my installation history dates back to DVF 5.0, and subsequent installations of various Visual Studios just fixed the file association instead of creating all key structure.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Jugoslav&lt;/DIV&gt;</description>
      <pubDate>Fri, 08 Oct 2004 14:19:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800848#M37597</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2004-10-08T14:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: IVF resource defines missing?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800849#M37598</link>
      <description>&lt;DIV&gt;Jugoslav,&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;It appears that the registry information besides the name "&lt;EM&gt;rcfile" &lt;/EM&gt;vs. &lt;EM&gt;"VisualStudio.rc.7.1 " &lt;/EM&gt;is the same.&lt;/DIV&gt;
&lt;DIV&gt;I included the "resource.h" in the project. It is automatically positioned under the Header Files. The properties as you stated, were not set, so I add that properties. But when the commandline for resource.h will be activated? I change the resources, but only resource.h changed correctly, but no resource.fd is generated.&lt;/DIV&gt;
&lt;DIV&gt;The next question is, why the resource.h is not automatically included in the project. If I remember well, in CVF it was also not included in the project. But there it works correctly. I ported the CVF project with the internal tool of IVF, but that tool take no actions to produce resource.h, nor resource.fd.&lt;/DIV&gt;
&lt;DIV&gt;But besides this last problem my main problem remains: How resource.fd will be generated?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;By the way: One hour after sending this message I'm out of office until monday. So furtherreplies of me afterthat timeare adjourned.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Guus&lt;/DIV&gt;</description>
      <pubDate>Fri, 08 Oct 2004 16:23:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800849#M37598</guid>
      <dc:creator>nijhuis</dc:creator>
      <dc:date>2004-10-08T16:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: IVF resource defines missing?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800850#M37599</link>
      <description>&lt;DIV&gt;The h-&amp;gt;fd translation occurs as the first part of build step. &lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I've just played a bit with it, and it appears that&lt;/DIV&gt;
&lt;DIV&gt;- AppWizard generated code correctly sets properties of "resource.h"&lt;/DIV&gt;
&lt;DIV&gt;- If you import the project from CVF, it also correctly sets properties of "resource.h" (at least, provided it's included in the project)&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;However, &lt;STRONG&gt;if&lt;/STRONG&gt; you add .rc file manually, later, you have to add the resource.h file yourself as well, and manually specify the build rule in its "Properties". Here it is again:&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;deftofd "$(InputPath)" "$(InputDir)$(InputName).fd"&lt;/DIV&gt;
&lt;DIV&gt;Generating Fortran include file...&lt;/DIV&gt;
&lt;DIV&gt;$(InputDir)$(InputName).fd&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;The string "Generating Fortran include file..." should appear in your output window and in buildlog.txt -- does it? Since you get "Tool returned an error code", you probably do -- doesBuildLog.txt tell anything more useful?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Jugoslav&lt;/DIV&gt;</description>
      <pubDate>Fri, 08 Oct 2004 17:11:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800850#M37599</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2004-10-08T17:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: IVF resource defines missing?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800851#M37600</link>
      <description>&lt;DIV&gt;The properties of resource.h are indeed set.&lt;/DIV&gt;
&lt;DIV&gt;But the build does &lt;STRONG&gt;not &lt;/STRONG&gt;say "Generating Fortran include file", while the resource.h is changed.&lt;/DIV&gt;
&lt;DIV&gt;The Buildlog.txt telles no more useful things.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Guus&lt;/DIV&gt;</description>
      <pubDate>Fri, 08 Oct 2004 17:24:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800851#M37600</guid>
      <dc:creator>nijhuis</dc:creator>
      <dc:date>2004-10-08T17:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: IVF resource defines missing?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800852#M37601</link>
      <description>&lt;DIV&gt;Hmm... sounds like a dependency checker problem?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Here's a small solution I generated from scratch (added dependencies &amp;amp; build rules manually). Does it build correctly for you?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Jugoslav&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 08 Oct 2004 18:35:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800852#M37601</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2004-10-08T18:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: IVF resource defines missing?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800853#M37602</link>
      <description>&lt;P&gt;Ordinarily, include files of any kind do not need to be included in the project. However, VS.NET has an unfortunate way of handling such things, and I'll have to say that I don't know with any level of certainty what you should do here. I will say that the projects I have worked with that had resource files did not have the .h file listed among the project files.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2004 19:34:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800853#M37602</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2004-10-08T19:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: IVF resource defines missing?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800854#M37603</link>
      <description>&lt;DIV&gt;&lt;EM&gt;I will say that the projects I have worked with that had resource files did not have the .h file listed among the project files.&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;Hmmm... then, it doesn't work for me either. I've just:&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;* created a new empty windows app&lt;/DIV&gt;
&lt;DIV&gt;* created new .rc file &amp;amp; included it in the project&lt;/DIV&gt;
&lt;DIV&gt;* included resource.fd in the source. It &lt;STRONG&gt;cannot &lt;/STRONG&gt;be found. Not that I expected it to work.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;As I see it, IVF's AppWizard and CVF-&amp;gt;IVF project converter specify custom build rule for .h files, invoking deftofd. Thus, no .h file in the project means no .fd file generated. &lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;On the other hand, in CVF (where integration was better), the .h to .fd file translation used to be implementedduring &lt;STRONG&gt;saving &lt;/STRONG&gt;.rc file (lemme check... yes). I don't know how you did it, but it worked nicely. I sort of wasn't expecting that to work the same way in IVF (with lower degree of VS integration).&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Now, is it &lt;EM&gt;supposed&lt;/EM&gt; to work the same way in IVF, or is the custom build rule the only way? (I still can't figure out what's the source of Guus's problem though).&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Jugoslav&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 08 Oct 2004 19:51:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800854#M37603</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2004-10-08T19:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: IVF resource defines missing?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800855#M37604</link>
      <description>&lt;DIV&gt;I recall in CVF that it wasn't always enough to add the .rc to the project, one had to use the Insert Resource menu to do it. I never did quite figure out what worked and what didn't.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;But I can tell you that I have a project I've been working on where all I did was add the .rc to the project and it works. There is no custom build step. resource.h is created by the IDE's resource editor and is not a result of compiling the resource file.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;You can see how it's supposed to work by using the project wizard to create a new dialog-based Windows application and then building the project. FIrst, deftofd gets run to create the .f90 version of the resource file, then rc is called to compile the resource file. No custom build steps.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I don't know how all this magic works...&lt;/DIV&gt;</description>
      <pubDate>Fri, 08 Oct 2004 20:17:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800855#M37604</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2004-10-08T20:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: IVF resource defines missing?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800856#M37605</link>
      <description>&lt;DIV&gt;But note that we're talking about &lt;STRONG&gt;.fd, &lt;/STRONG&gt;not .h. You alwayscould have whatever.rc accompanied by resource.h, and resource.h has &lt;STRONG&gt;always &lt;/STRONG&gt;(in both VS6 and VS.NET)been produced automatically, which is handled by VS itself. The problem is if you need resource&lt;STRONG&gt;.fd&lt;/STRONG&gt; as well -- CVF folks somehow hooked that saving mechanism, automagically creating .fd on .rc save. IVF folks (yes, I know, mostly the very same folks), instead used custom build step invoking deftofd.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;By the way, I managed to reproduce Guus's problem. Don't ask me how :-). And I reproduced it &lt;STRONG&gt;once &lt;/STRONG&gt;(I added resource.h manually and set up the custom build properties for it). It would not build (missing resource.fd). Then, I fiddled with order of files in .vfproj file, saved it and it built fine. I retrieved the changes in .vfproj back, deleted .suo file, and it &lt;STRONG&gt;again&lt;/STRONG&gt; built fine. ??? &lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;A phase of the moon problem?.. I'll work on it...&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Jugoslav&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 08 Oct 2004 21:00:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800856#M37605</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2004-10-08T21:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: IVF resource defines missing?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800857#M37606</link>
      <description>&lt;DIV&gt;There is no "custom build step", at least not one that is visible in the project. The Fortran project manager does know to run deftofd if it needs to. What I don't fully understand is exactly what the mechanism is and what can go wrong. I do know how to fix it (in most cases), though.&lt;/DIV&gt;</description>
      <pubDate>Fri, 08 Oct 2004 21:03:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800857#M37606</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2004-10-08T21:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: IVF resource defines missing?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800858#M37607</link>
      <description>&lt;DIV&gt;Sorry for being dense, but why then IVF AppWizard (at least in case of Win32 Apps) generates skeleton code with resource.h explicitly included in the project, and build rule specified for it in its property page? (Note: "Custom build" step in application property pages &lt;STRONG&gt;is &lt;/STRONG&gt;empty -- I'm talking about individual property page of resource.h).&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;To summarize, this is how it works for me:&lt;/DIV&gt;
&lt;DIV&gt;- AppWizard does include resource.h in the project, and resource.fd is generated OK&lt;/DIV&gt;
&lt;DIV&gt;- If I convert a CVF project with resource.h included, resource.fd is generated OK.&lt;/DIV&gt;
&lt;DIV&gt;- If I convert a CVF project without resource.h included -- resource.fd is NOT generated OK.&lt;/DIV&gt;
&lt;DIV&gt;- If I add whatever.rc to a project later, resource.fd is NOT generated OK.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;When it's not generated OK, the solution is toadd "resource.h" to the project and specify the build rule for it, invoking deftofd. &lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Is it normal behaviour? I'd say yes.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;Sometimes&lt;/STRONG&gt;the last stepdoesn't work either (as it does not for Guus and did not for me, but alas I can't reproduce it). &lt;STRONG&gt;Perhaps &lt;/STRONG&gt;deleting the .suo file will work for him (I don't have a bad one anymore)?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Jugoslav&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Jugoslav&lt;/DIV&gt;</description>
      <pubDate>Fri, 08 Oct 2004 21:46:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/IVF-resource-defines-missing/m-p/800858#M37607</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2004-10-08T21:46:29Z</dc:date>
    </item>
  </channel>
</rss>

