<?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: From command prompt how do I link in DLL in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845825#M63794</link>
    <description>&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;I have changed my settings as below but still get the &lt;STRONG&gt;&lt;FONT size="4"&gt;dforrtd.dll &lt;/FONT&gt;&lt;/STRONG&gt;error. &lt;/P&gt;
&lt;P&gt;The only DLL which is being produced is in the /DEBUG directory I dont get a "release" version in the parent directory.&lt;/P&gt;
&lt;P&gt;I don't understand how to createa release version other than doing this --- Help please!!&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366ff"&gt;In project /settings/ fortran [general] I set Debug to &lt;STRONG&gt;None&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366ff"&gt;project /settings/link [general] generate debug info [off]&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366ff"&gt;Tools options / debug - everything off &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 16 Dec 2003 18:32:48 GMT</pubDate>
    <dc:creator>dfstrottersfan</dc:creator>
    <dc:date>2003-12-16T18:32:48Z</dc:date>
    <item>
      <title>From command prompt how do I link in DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845820#M63789</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I have created a DLL for use in another application. I am trying to test the functions in the dll by creating an exe with a simple call to the functions.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I cannot work out how to link in the dll I know it is documented somewhere but where?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;e.g.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;f77 fred.for fred1.for/dll:fred&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;f77 mymainprog /exe=mainprog /lib????:fred.dll&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;can you 'add' to an existing dll&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Sorry I am a VMS user; windows is a bit alien to me.as yet.....&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;thanks &lt;/DIV&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;====================================&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I decided that I would try from the visual workbench - I created a DLL project with a few simple functions in it. I seemed to succeed but when I use the .DLL in the CA OpenRoad application I am trying to create it comes up with the error in the attached .jpeg &lt;/P&gt;
&lt;P&gt;unable to find dforrtd.dll &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I cannot find this DLL anywhere on my PC....&lt;/P&gt;&lt;P&gt;Message Edited by dfstrottersfan on &lt;SPAN class="date_text"&gt;12-15-2003&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;05:49 AM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2003 23:55:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845820#M63789</guid>
      <dc:creator>dfstrottersfan</dc:creator>
      <dc:date>2003-12-12T23:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: From command prompt how do I link in DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845821#M63790</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;When you created the DLL, there should have also been a .LIB created. The easiest way to "link" against a DLL is to link against the .LIB.&lt;/P&gt;
&lt;P&gt;In other words,&lt;/P&gt;
&lt;DIV&gt;f77 fred.for fred1.for/dll:fred&lt;/DIV&gt;
&lt;DIV&gt; should have created both fred.dll and fred.lib&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Your command to create the exe that uses fred would be:&lt;/DIV&gt;
&lt;DIV&gt;f77 mymainprog /exe=mainprog fred.lib&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Now, about your other question:&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt; "can you 'add' to an existing dll"&lt;/DIV&gt;
&lt;DIV&gt;Ah ... I'm not sure exactly what you're asking, but let me guess you want to be able to simply add to the .dll in the same way you can add to object libraries on VMS. Sorry, it doesn't work that way ;-) DLLs are more like shareable images than object libraries. To add to them you need to recreate them.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Hopefully this helps!&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt; - Lorri&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Message Edited by Lorri_menard on &lt;SPAN class="date_text"&gt;12-12-2003&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;09:35 AM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Dec 2003 01:33:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845821#M63790</guid>
      <dc:creator>Lorri_M_Intel</dc:creator>
      <dc:date>2003-12-13T01:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: From command prompt how do I link in DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845822#M63791</link>
      <description>&lt;DIV&gt;Adding to Lorri's advice - there is a chapter in the Programmer's Guide on creating and using DLLs. It is somewhat more involved than just saying /dll on the command line - you have to add directives to "export" your routines, similar to the options file you use on VMS to create a shareable image.&lt;/DIV&gt;</description>
      <pubDate>Sat, 13 Dec 2003 01:51:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845822#M63791</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2003-12-13T01:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: From command prompt how do I link in DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845823#M63792</link>
      <description>&lt;DIV&gt;
&lt;P&gt;I decided that I would try from the visual workbench - I created a DLL project with a few simple functions in it. I seemed to succeed but when I use the .DLL in the CA OpenRoad application I am trying to create it comes up with the error in the attached .jpeg &lt;/P&gt;
&lt;P&gt;unable to find dforrtd.dll &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I cannot find this DLL anywhere on my PC....&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 15 Dec 2003 21:52:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845823#M63792</guid>
      <dc:creator>dfstrottersfan</dc:creator>
      <dc:date>2003-12-15T21:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: From command prompt how do I link in DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845824#M63793</link>
      <description>&lt;DIV&gt;If your DLL is looking for dformtd.dll, that means you built the DLL in a "debug configuration", which cannot be redistributed to other PCs. Select a "release" configuration and build that instead.&lt;/DIV&gt;</description>
      <pubDate>Tue, 16 Dec 2003 00:45:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845824#M63793</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2003-12-16T00:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: From command prompt how do I link in DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845825#M63794</link>
      <description>&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;I have changed my settings as below but still get the &lt;STRONG&gt;&lt;FONT size="4"&gt;dforrtd.dll &lt;/FONT&gt;&lt;/STRONG&gt;error. &lt;/P&gt;
&lt;P&gt;The only DLL which is being produced is in the /DEBUG directory I dont get a "release" version in the parent directory.&lt;/P&gt;
&lt;P&gt;I don't understand how to createa release version other than doing this --- Help please!!&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366ff"&gt;In project /settings/ fortran [general] I set Debug to &lt;STRONG&gt;None&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366ff"&gt;project /settings/link [general] generate debug info [off]&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366ff"&gt;Tools options / debug - everything off &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 16 Dec 2003 18:32:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845825#M63794</guid>
      <dc:creator>dfstrottersfan</dc:creator>
      <dc:date>2003-12-16T18:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: From command prompt how do I link in DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845826#M63795</link>
      <description>&lt;P&gt;Sorry - found the release configuration button - all I have to do now is work out how to "export" the functions into the DLL - I suspect I have to use &lt;/P&gt;
&lt;P&gt;!DEC$ ATTRIBUTES DLLEXPORT::fred&lt;/P&gt;
&lt;P&gt;Gosh why didn't DEC give the PC world VMS -- its so much better &lt;/P&gt;
&lt;P&gt;thanks......&lt;BR /&gt;&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 16 Dec 2003 18:55:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845826#M63795</guid>
      <dc:creator>dfstrottersfan</dc:creator>
      <dc:date>2003-12-16T18:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: From command prompt how do I link in DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845827#M63796</link>
      <description>&lt;P&gt;I found this on the internet (its nearly correct ) It works&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.canaimasoft.com/f90VB/OnlineManuals/UserManual/TH_60.htm" target="_blank"&gt;http://www.canaimasoft.com/f90VB/OnlineManuals/UserManual/TH_60.htm&lt;/A&gt;&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 16 Dec 2003 19:41:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845827#M63796</guid>
      <dc:creator>dfstrottersfan</dc:creator>
      <dc:date>2003-12-16T19:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: From command prompt how do I link in DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845828#M63797</link>
      <description>I like VMS too, but you'd have a similar issue there - the need of a linker options file to specify the routines to make "universal" so that they are visible from the shareable image.
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 16 Dec 2003 23:58:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845828#M63797</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2003-12-16T23:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: From command prompt how do I link in DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845829#M63798</link>
      <description>&lt;DIV&gt;Just back to this :---- &lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Does anyone know how to input a whole list of files (approx100) into the compiler (to create a DLL). I cannot use the visual environment because some of the files are preprocessed to fortranby an INGRES preprocessor..&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;this works .....&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;f77 /dll /dll:list.dll fred.for fred1.for&lt;/STRONG&gt;&lt;FONT color="#0000ff"&gt;! creates a dll called fred.dll &lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I have tried this and it does&lt;STRONG&gt; not &lt;/STRONG&gt;work &lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;f77 /dll /dll:list.dll &lt;FILES.LIS&gt;&lt;/FILES.LIS&gt;&lt;/STRONG&gt;&lt;FONT color="#3300ff"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;! files.lis contains a list of files &lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;e.g. &lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;type files.lis&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;fred.for&lt;/DIV&gt;
&lt;DIV&gt;fred1.for&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Jan 2004 17:21:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845829#M63798</guid>
      <dc:creator>dfstrottersfan</dc:creator>
      <dc:date>2004-01-06T17:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: From command prompt how do I link in DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845830#M63799</link>
      <description>&lt;DIV&gt;in previous thread I said that &lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;f77 /dll /dll:list.dll fred.for fred1.for &lt;/STRONG&gt;&lt;FONT color="#3300ff"&gt;worked&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;it doesn't but &lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;f77fred.for fred1.for /dll /dll:list.dll &lt;/STRONG&gt;&lt;FONT color="#0000ff"&gt;does&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color="#0000ff"&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color="#0000ff"&gt;still cannot work how to feed a list of files into the compiler&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Jan 2004 18:57:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845830#M63799</guid>
      <dc:creator>dfstrottersfan</dc:creator>
      <dc:date>2004-01-06T18:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: From command prompt how do I link in DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845831#M63800</link>
      <description>&lt;P&gt;You might try using a wildcard specification in your command, like &lt;STRONG&gt;f77fred*.for /dll /dll:list.dll&lt;/STRONG&gt;, if all your Fortran file names begin with &lt;STRONG&gt;fred&lt;/STRONG&gt;. I seem to remember another thread in this forum in which someone said that this worked even though it's not documented.&lt;/P&gt;
&lt;P&gt;Mike D.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jan 2004 21:05:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845831#M63800</guid>
      <dc:creator>durisinm</dc:creator>
      <dc:date>2004-01-06T21:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: From command prompt how do I link in DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845832#M63801</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;P align="left"&gt;Thanks - that worked - I actually tried it before I read your POST - thinking maybe this will work - bizzare !!!&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I now have a different issue with the following error messages &lt;/P&gt;
&lt;P&gt;obj11DE.tmp : error LNK2001: unresolved external symbol _IIsqInit&lt;BR /&gt;obj11DE.tmp : error LNK2001: unresolved external symbol _IIsqMods&lt;BR /&gt;obj11DE.tmp : error LNK2001: unresolved external symbol _IIslen&lt;BR /&gt;obj11DE.tmp : error LNK2001: unresolved external symbol _IIxwritio&lt;BR /&gt;obj11DE.tmp : error LNK2001: unresolved external symbol _IIretinit&lt;BR /&gt;obj11DE.tmp : error LNK2001: unresolved external symbol _IInextget&lt;BR /&gt;obj11DE.tmp : error LNK2001: unresolved external symbol _IIxgetdomio&lt;BR /&gt;obj11DE.tmp : error LNK2001: unresolved external symbol _IIsqFlush&lt;BR /&gt;obj11DE.tmp : error LNK2001: unresolved external symbol _IIgetdomio&lt;BR /&gt;obj11DE.tmp : error LNK2001: unresolved external symbol _IIxputdomio&lt;BR /&gt;obj11DE.tmp : error LNK2001: unresolved external symbol _IIputdomio&lt;BR /&gt;obj11DE.tmp : error LNK2001: unresolved external symbol _IIsyncup&lt;/P&gt;
&lt;DIV&gt;I know that these modules are in E:IngresIIingreslibingres.lib&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;this is the command line I am using (not wrapped as below) - how can I "link" in this library ..... thanks&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV align="left"&gt;&lt;STRONG&gt;f77 *.for -D_WIN32=1 -&lt;/STRONG&gt;&lt;STRONG&gt;D_X86_=1 /name:as_is /iface:nomixed_str_len_arg /iface:cref/libs:static /dll /dll:fred.dll&lt;/STRONG&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 07 Jan 2004 23:38:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845832#M63801</guid>
      <dc:creator>dfstrottersfan</dc:creator>
      <dc:date>2004-01-07T23:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: From command prompt how do I link in DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845833#M63802</link>
      <description>&lt;P&gt;I worked out how to add a library using the LIBenv variable and library name&lt;/P&gt;
&lt;P&gt;I got this &lt;/P&gt;
&lt;P&gt;/&lt;FONT color="#3300ff"&gt;out:fred.dll&lt;BR /&gt;/dll&lt;BR /&gt; Creating library fred.lib and object fred.exp&lt;BR /&gt;LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other libs; us&lt;BR /&gt;e /NODEFAULTLIB:library&lt;BR /&gt;obj12A4.tmp : error LNK2001: unresolved external symbol _SQEEZE_P_GEN&lt;BR /&gt;obj12A4.tmp : error LNK2001: unresolved external symbol _IIxwritio&lt;BR /&gt;obj12A4.tmp : error LNK2001: unresolved external symbol _IIxgetdomio&lt;BR /&gt;obj12A4.tmp : error LNK2001: unresolved external symbol _IIxputdomio&lt;BR /&gt;fred.dll : fatal error LNK1120: 4 unresolved externals&lt;/FONT&gt;&lt;/P&gt;
&lt;DIV&gt;but when I use the NODEFAULTLIB switch I get &lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;(it is not wrapped on the command line)&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color="#3300ff"&gt;E:ALLANALLANF~1&amp;gt;f77 *.for -D_WIN32=1 -D_X86_=1 /name:as_is /iface:nomixed_st&lt;BR /&gt;r_len_arg /iface:cref/libs:static /dll /dll:fred.dll /NODEFAULTLIB ingres.l&lt;BR /&gt;ib&lt;BR /&gt;f77: error&lt;/FONT&gt;: &lt;FONT color="#ff6666"&gt;Negation of '/NODEFAULTLIB' switch not allowed&lt;/FONT&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;and adding a name did not help&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3300ff"&gt;E:ALLANALLANF~1&amp;gt;f77 *.for -D_WIN32=1 -D_X86_=1 /name:as_is /iface:nomixed_st&lt;BR /&gt;r_len_arg /iface:cref/libs:static /dll /dll:fred.dll /NODEFAULTLIB:MSVCRT i&lt;BR /&gt;ngres.lib&lt;BR /&gt;f77: error: &lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;Negation of '/NODEFAULTLIB:MSVCRT' switch not allowed&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Can anyone help ?&lt;/P&gt;
&lt;P&gt;Thanks Allan B&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2004 00:53:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845833#M63802</guid>
      <dc:creator>dfstrottersfan</dc:creator>
      <dc:date>2004-01-08T00:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: From command prompt how do I link in DLL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845834#M63803</link>
      <description>&lt;DIV&gt;You have to precede /nodefaultlib:libname with /link, but this is usually the wrong solution to this problem. You need to make sure that all the libraries are built with the same setting for the language libraries.&lt;/DIV&gt;</description>
      <pubDate>Thu, 08 Jan 2004 01:04:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/From-command-prompt-how-do-I-link-in-DLL/m-p/845834#M63803</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2004-01-08T01:04:47Z</dc:date>
    </item>
  </channel>
</rss>

