<?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: Call Fortran DLL from C in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Call-Fortran-DLL-from-C/m-p/778097#M26149</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/336209"&gt;Steve Lionel (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV&gt;You're welcome. I edited the comments above to properly reflect what Intel Fortran expects.&lt;/DIV&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;For the same example, I am having problem on 64 bit platform. First I can not use win32 for fortran projectfor visual studio says that win32 compiler is not installed. so i have change the FLIB project to x64 in order to compile. however i got link error when I tried to build C_USELIB project.&lt;BR /&gt;&lt;BR /&gt;error LNK2019: unresolved extern symbol _FSUB referenced in function _main&lt;BR /&gt;&lt;BR /&gt;C_USELIB is built using win32 and i seem to be unable to change it to x64.&lt;BR /&gt;&lt;BR /&gt;i don't know what to do. &lt;BR /&gt;</description>
    <pubDate>Mon, 13 Apr 2009 18:17:54 GMT</pubDate>
    <dc:creator>kwei89</dc:creator>
    <dc:date>2009-04-13T18:17:54Z</dc:date>
    <item>
      <title>Call Fortran DLL from C</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Call-Fortran-DLL-from-C/m-p/778091#M26143</link>
      <description>&lt;DIV&gt;Hi,&lt;/DIV&gt;
&lt;DIV&gt;Can anyone give me (C newbie) a short example on how to create a Fortran DLL that I can call from C? I tried the vc-example from the Compaq website, but it does not compile. When I add to the Fortran code the line &lt;/DIV&gt;
&lt;DIV&gt;&lt;B&gt;&lt;FONT color="#008000" size="2"&gt;!DEC$ ATTRIBUTES ALIAS: "_DLL_ROUT@20"::DLL_ROUT&lt;/FONT&gt;&lt;/B&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;B&gt;&lt;FONT size="2"&gt;&lt;FONT color="#330000"&gt;and change the deefinitionline in theC code to&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;B&gt;&lt;FONT size="2"&gt;&lt;FONT color="#0000ff" size="2"&gt;extern&lt;/FONT&gt;&lt;FONT size="2"&gt; &lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;void&lt;/FONT&gt;&lt;FONT size="2"&gt; &lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;_stdcall&lt;/FONT&gt;&lt;FONT size="2"&gt; DLL_ROUT (,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;B&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;the code compile, but the application gives an application error when called. I am just so desperate. Can anyone help???&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;B&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;B&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;Thanks,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;B&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;Haje&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 May 2004 22:56:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Call-Fortran-DLL-from-C/m-p/778091#M26143</guid>
      <dc:creator>HKort</dc:creator>
      <dc:date>2004-05-06T22:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Call Fortran DLL from C</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Call-Fortran-DLL-from-C/m-p/778092#M26144</link>
      <description>&lt;DIV&gt;The example on the Compaq example does build and execute properly. I often find that when people have problems with the example, they have not copied it properly.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;What compiler are you using - Compaq or Intel?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Did you name the C source with a .c or .cpp extension?&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 May 2004 23:12:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Call-Fortran-DLL-from-C/m-p/778092#M26144</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2004-05-06T23:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Call Fortran DLL from C</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Call-Fortran-DLL-from-C/m-p/778093#M26145</link>
      <description>&lt;P&gt;Steve,&lt;/P&gt;
&lt;P&gt;the fortran compiler intel v8, the c main file is .c not .cpp. I use Visual Studio .NET 2003.&lt;/P&gt;
&lt;P&gt;Thanks, Haje&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 May 2004 23:22:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Call-Fortran-DLL-from-C/m-p/778093#M26145</guid>
      <dc:creator>HKort</dc:creator>
      <dc:date>2004-05-06T23:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Call Fortran DLL from C</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Call-Fortran-DLL-from-C/m-p/778094#M26146</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Ok. Change the C code to look like this:&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;&lt;PRE&gt;/* Main program written in C++ that calls a Fortran DLL */
#include &lt;STDIO.H&gt;
#include &lt;STRING.H&gt;

/* Declare the Fortran routine. The following items are of note:
                        
   - The "C" attribute prevents C++ name mangling  Remove it
     if the file type is .c
   - The dllimport specification is required                   
   - Fortran character arguments have a hidden length
     argument at the end of the argument list
   - Routine name must be in uppercase to match Fortran.
*/
                        
extern  __declspec(dllimport) void DLL_ROUT (
    int *INT_ARG,
    char *STR_IN,
    char *STR_OUT,
    int STR_IN_LEN,
     int STR_OUT_LEN);
                        
void main (int argc, char *argv[])
    {
    char instring[40];
    char outstring[40];
    int intarg;
                        
    strcpy(instring,"Testing...");
    intarg = 123;
    /* Call Fortran routine - pass intarg by reference,
       pass length of outstring explicitly */
    DLL_ROUT(&amp;amp;intarg,instring,outstring,strlen(instring),40);
    printf("%s
",outstring);
    }
&lt;/STRING.H&gt;&lt;/STDIO.H&gt;&lt;/PRE&gt;
&lt;P&gt;Note that I took the "C" out because the source file is C, took out the __stdcall and moved the string lengths to the end. The Fortran code doesn't need to change.&lt;/P&gt;
&lt;P&gt;Message Edited by sblionel on &lt;SPAN class="date_text"&gt;05-06-2004&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;01:26 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Message Edited by sblionel on &lt;SPAN class="date_text"&gt;05-06-2004&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;02:01 PM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2004 00:24:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Call-Fortran-DLL-from-C/m-p/778094#M26146</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2004-05-07T00:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Call Fortran DLL from C</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Call-Fortran-DLL-from-C/m-p/778095#M26147</link>
      <description>&lt;P&gt;Steve,&lt;/P&gt;
&lt;P&gt;man, you are great, that one worked! Now, I have an example to start working from. Once I have a few more issues ironed out, I can place an order for a permanent license.&lt;/P&gt;
&lt;P&gt;Haje&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 May 2004 00:39:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Call-Fortran-DLL-from-C/m-p/778095#M26147</guid>
      <dc:creator>HKort</dc:creator>
      <dc:date>2004-05-07T00:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Call Fortran DLL from C</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Call-Fortran-DLL-from-C/m-p/778096#M26148</link>
      <description>&lt;DIV&gt;You're welcome. I edited the comments above to properly reflect what Intel Fortran expects.&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 May 2004 01:02:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Call-Fortran-DLL-from-C/m-p/778096#M26148</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2004-05-07T01:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Call Fortran DLL from C</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Call-Fortran-DLL-from-C/m-p/778097#M26149</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/336209"&gt;Steve Lionel (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV&gt;You're welcome. I edited the comments above to properly reflect what Intel Fortran expects.&lt;/DIV&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;For the same example, I am having problem on 64 bit platform. First I can not use win32 for fortran projectfor visual studio says that win32 compiler is not installed. so i have change the FLIB project to x64 in order to compile. however i got link error when I tried to build C_USELIB project.&lt;BR /&gt;&lt;BR /&gt;error LNK2019: unresolved extern symbol _FSUB referenced in function _main&lt;BR /&gt;&lt;BR /&gt;C_USELIB is built using win32 and i seem to be unable to change it to x64.&lt;BR /&gt;&lt;BR /&gt;i don't know what to do. &lt;BR /&gt;</description>
      <pubDate>Mon, 13 Apr 2009 18:17:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Call-Fortran-DLL-from-C/m-p/778097#M26149</guid>
      <dc:creator>kwei89</dc:creator>
      <dc:date>2009-04-13T18:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Call Fortran DLL from C</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Call-Fortran-DLL-from-C/m-p/778098#M26150</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/422604"&gt;kwei89&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; &lt;BR /&gt;For the same example, I am having problem on 64 bit platform. First I can not use win32 for fortran projectfor visual studio says that win32 compiler is not installed. so i have change the FLIB project to x64 in order to compile. however i got link error when I tried to build C_USELIB project.&lt;BR /&gt;&lt;BR /&gt;error LNK2019: unresolved extern symbol _FSUB referenced in function _main&lt;BR /&gt;&lt;BR /&gt;C_USELIB is built using win32 and i seem to be unable to change it to x64.&lt;BR /&gt;&lt;BR /&gt;i don't know what to do. &lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;You will either need to get and install the 32bit version of the Intel compiler OR install the x64 components in Visual Studio. You cannot mix 32 bit and 64 bit objects.&lt;BR /&gt;&lt;BR /&gt;adding x64 bits to VS: First make sure your Windows is the x64 version. Then put in your VS2005 or 2008 installation CD:&lt;BR /&gt;&lt;BR /&gt;select "Change or Remove VS 2005"&lt;BR /&gt;select "Add or Remove Features"&lt;BR /&gt;&lt;BR /&gt;Expand the Visual C++ group, &lt;BR /&gt; check the box next to 'x64 Compilers and Tools'&lt;BR /&gt;&lt;BR /&gt;Add the 32bit compiler: download w_cprof_p_11.0.xxx_ia32.exe from &lt;A href="https://registrationcenter.intel.com" target="_blank"&gt;https://registrationcenter.intel.com&lt;/A&gt; and install.&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Apr 2009 21:44:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Call-Fortran-DLL-from-C/m-p/778098#M26150</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2009-04-13T21:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Call Fortran DLL from C</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Call-Fortran-DLL-from-C/m-p/778099#M26151</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/160574"&gt;Ronald Green (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/422604"&gt;kwei89&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;&lt;BR /&gt;For the same example, I am having problem on 64 bit platform. First I can not use win32 for fortran projectfor visual studio says that win32 compiler is not installed. so i have change the FLIB project to x64 in order to compile. however i got link error when I tried to build C_USELIB project.&lt;BR /&gt;&lt;BR /&gt;error LNK2019: unresolved extern symbol _FSUB referenced in function _main&lt;BR /&gt;&lt;BR /&gt;C_USELIB is built using win32 and i seem to be unable to change it to x64.&lt;BR /&gt;&lt;BR /&gt;i don't know what to do. &lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;You will either need to get and install the 32bit version of the Intel compiler OR install the x64 components in Visual Studio. You cannot mix 32 bit and 64 bit objects.&lt;BR /&gt;&lt;BR /&gt;adding x64 bits to VS: First make sure your Windows is the x64 version. Then put in your VS2005 or 2008 installation CD:&lt;BR /&gt;&lt;BR /&gt;select "Change or Remove VS 2005"&lt;BR /&gt;select "Add or Remove Features"&lt;BR /&gt;&lt;BR /&gt;Expand the Visual C++ group, &lt;BR /&gt;check the box next to 'x64 Compilers and Tools'&lt;BR /&gt;&lt;BR /&gt;Add the 32bit compiler: download w_cprof_p_11.0.xxx_ia32.exe from &lt;A href="https://registrationcenter.intel.com" target="_blank"&gt;https://registrationcenter.intel.com&lt;/A&gt; and install.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Thanks for the help. I downloaded and installedw_cprof_p_11.0.074_novsppe.exe. I was able to compile the fortran project in win32 and to build and to run the sample solutionfor win32, a huge progress. but when i try to do the same thing for 64 bits, i got a lot of link errors complaining conflicted symbols between msvcrtd and libcmtd and some unresolved symbols from libifcore.lib (see below). &lt;BR /&gt;&lt;BR /&gt;Help gain please.&lt;BR /&gt;&lt;BR /&gt;Error 1 error LNK2005: _amsg_exit already defined in MSVCRTD.lib(MSVCR80D.dll) libcmt.lib &lt;BR /&gt;Error 2 error LNK2005: exit already defined in MSVCRTD.lib(MSVCR80D.dll) libcmt.lib &lt;BR /&gt;Error 3 error LNK2005: _cexit already defined in MSVCRTD.lib(MSVCR80D.dll) libcmt.lib &lt;BR /&gt;Error 4 error LNK2005: __xi_a already defined in MSVCRTD.lib(cinitexe.obj) libcmt.lib &lt;BR /&gt;Error 5 error LNK2005: __xi_z already defined in MSVCRTD.lib(cinitexe.obj) libcmt.lib &lt;BR /&gt;Error 6 error LNK2005: __xc_a already defined in MSVCRTD.lib(cinitexe.obj) libcmt.lib &lt;BR /&gt;Error 7 error LNK2005: __xc_z already defined in MSVCRTD.lib(cinitexe.obj) libcmt.lib &lt;BR /&gt;Error 8 error LNK2005: _XcptFilter already defined in MSVCRTD.lib(MSVCR80D.dll) libcmt.lib &lt;BR /&gt;Error 9 error LNK2005: signal already defined in MSVCRTD.lib(MSVCR80D.dll) libcmt.lib &lt;BR /&gt;Error 10 error LNK2005: raise already defined in MSVCRTD.lib(MSVCR80D.dll) libcmt.lib &lt;BR /&gt;Error 11 error LNK2005: _configthreadlocale already defined in MSVCRTD.lib(MSVCR80D.dll) libcmt.lib &lt;BR /&gt;Error 12 error LNK2005: _encode_pointer already defined in MSVCRTD.lib(MSVCR80D.dll) libcmt.lib &lt;BR /&gt;Error 13 error LNK2005: _encoded_null already defined in MSVCRTD.lib(MSVCR80D.dll) libcmt.lib &lt;BR /&gt;Error 14 error LNK2005: _decode_pointer already defined in MSVCRTD.lib(MSVCR80D.dll) libcmt.lib &lt;BR /&gt;Error 15 error LNK2005: realloc already defined in MSVCRTD.lib(MSVCR80D.dll) libcmt.lib &lt;BR /&gt;Error 16 error LNK2005: __set_app_type already defined in MSVCRTD.lib(MSVCR80D.dll) libcmt.lib &lt;BR /&gt;Error 17 error LNK2005: _unlock already defined in MSVCRTD.lib(MSVCR80D.dll) libcmt.lib &lt;BR /&gt;Error 18 error LNK2005: _lock already defined in MSVCRTD.lib(MSVCR80D.dll) libcmt.lib &lt;BR /&gt;Error 19 error LNK2005: _get_osfhandle already defined in MSVCRTD.lib(MSVCR80D.dll) libcmt.lib &lt;BR /&gt;Error 20 error LNK2005: _open_osfhandle already defined in MSVCRTD.lib(MSVCR80D.dll) libcmt.lib &lt;BR /&gt;Error 21 error LNK2005: _isctype already defined in MSVCRTD.lib(MSVCR80D.dll) libcmt.lib &lt;BR /&gt;Error 22 error LNK2005: _stricmp already defined in MSVCRTD.lib(MSVCR80D.dll) libcmt.lib &lt;BR /&gt;Error 23 error LNK2005: getenv already defined in MSVCRTD.lib(MSVCR80D.dll) libcmt.lib &lt;BR /&gt;Error 24 error LNK2005: tolower already defined in MSVCRTD.lib(MSVCR80D.dll) libcmt.lib &lt;BR /&gt;Error 25 error LNK2019: unresolved external symbol _pxcptinfoptrs referenced in function GETEXCEPTIONPTRSQQ libifcore.lib &lt;BR /&gt;Error 26 error LNK2019: unresolved external symbol errno referenced in function for__open_proc libifcore.lib &lt;BR /&gt;Error 27 error LNK2001: unresolved external symbol errno libifcore.lib &lt;BR /&gt;Error 28 error LNK2019: unresolved external symbol MAIN__ referenced in function main libifcore.lib &lt;BR /&gt;Error 29 fatal error LNK1120: 3 unresolved externals D:TesterCLR_FLIBx64DebugCLR_FLIB.exe &lt;BR /&gt;</description>
      <pubDate>Tue, 14 Apr 2009 16:49:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Call-Fortran-DLL-from-C/m-p/778099#M26151</guid>
      <dc:creator>kwei89</dc:creator>
      <dc:date>2009-04-14T16:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Call Fortran DLL from C</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Call-Fortran-DLL-from-C/m-p/778100#M26152</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;Make sure that you are consistent in the types of libraries you are linking against. A message like this one,&lt;BR /&gt;&lt;BR /&gt; " tolower already defined in MSVCRTD.lib(MSVCR80D.dll) libcmt.lib"&lt;BR /&gt;&lt;BR /&gt;says to me that you are linking against both the dynamic C runtime library (MSVCRTD) and the static, multi-threaded C runtime library (libcmt).&lt;BR /&gt;&lt;BR /&gt;Look at both the C project and the Fortran project, make sure the library format matches. That is the most likely culprit.&lt;BR /&gt;&lt;BR /&gt; - Lorri</description>
      <pubDate>Wed, 15 Apr 2009 19:56:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Call-Fortran-DLL-from-C/m-p/778100#M26152</guid>
      <dc:creator>Lorri_M_Intel</dc:creator>
      <dc:date>2009-04-15T19:56:01Z</dc:date>
    </item>
  </channel>
</rss>

