<?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: Discussion of Intel Visual Fortran samples in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844523#M62492</link>
    <description>__imp_ means that the symbol is imported from a DLL's import library.&lt;BR /&gt;</description>
    <pubDate>Fri, 16 Nov 2007 06:27:37 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2007-11-16T06:27:37Z</dc:date>
    <item>
      <title>Discussion of Intel Visual Fortran samples</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844506#M62475</link>
      <description>&lt;P&gt;Please use this thread for discussion of and asking questions about the &lt;A href="https://community.intel.com/en-us/forums//topic/41909"&gt;samples&lt;/A&gt; I posted.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2005 23:35:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844506#M62475</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2005-12-07T23:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Discussion of Intel Visual Fortran samples</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844507#M62476</link>
      <description>&lt;P&gt;Hi Steve,&lt;/P&gt;
&lt;P&gt;I have a quick question on the following sample file:&lt;/P&gt;
&lt;P&gt;ExceptionHandlingGETEPTR&lt;/P&gt;
&lt;P&gt;When compiling the solution, I've got the following error:&lt;/P&gt;
&lt;P&gt;fatal error LNK 1104" cannot open file 'IFWIN.LIB'&lt;/P&gt;
&lt;P&gt;Please advise how to add this reference tothe C project of the solution (though it already has the dependency to the geteptr_lib). TIA&lt;/P&gt;
&lt;P&gt;-George&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 18 Feb 2006 04:59:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844507#M62476</guid>
      <dc:creator>gkchang</dc:creator>
      <dc:date>2006-02-18T04:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Discussion of Intel Visual Fortran samples</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844508#M62477</link>
      <description>Tools..Options..Projects..VC++ Directories.  To the list of Library directories add C:Program FilesIntelCompilerFortran9.0IA32Lib&lt;BR /&gt;&lt;BR /&gt;You have to do this in general when building C applications that call Fortran code.</description>
      <pubDate>Sat, 18 Feb 2006 05:01:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844508#M62477</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2006-02-18T05:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Discussion of Intel Visual Fortran samples</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844509#M62478</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;I am running Visual Studio 2005 and IVF 9.1 and have a problem with running a Fortran dll from Visual Basic. &lt;/P&gt;
&lt;P&gt;I have taken your example, which runs fine. However, if I add the following code to the fortran I get a problem: &lt;/P&gt;
&lt;P&gt;SUBROUTINE dll_rout1 () &lt;/P&gt;
&lt;P&gt;IMPLICIT NONE &lt;/P&gt;
&lt;P&gt;!DEC$ ATTRIBUTES DLLEXPORT, STDCALL :: dll_rout1 &lt;/P&gt;
&lt;P&gt;!DEC$ ATTRIBUTES ALIAS:'dll_rout1' :: dll_rout1 &lt;/P&gt;
&lt;P&gt;character(len=4) :: dd &lt;/P&gt;
&lt;P&gt;dd="aaa" &lt;/P&gt;
&lt;P&gt;RETURN &lt;/P&gt;
&lt;P&gt;END &lt;/P&gt;
&lt;P&gt;Note that I leave your code exactly intact - my code is an additional routine that is never executed. When I press the "Do it!" button in your code I get the error: &lt;/P&gt;
&lt;P&gt;"BadImageFormatException was unhandled" &lt;/P&gt;
&lt;P&gt;"An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)" &lt;/P&gt;
&lt;P&gt;What is very odd is that if I change "aaa" to "aaaa" in the above code then everything works fine! It seems to be someting to do with the presence of a string that is not the "right" length, but Fortran of course should cope with that. Any suggestions? ... I'd be very interested to know if your system reproduces this fault!&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2006 22:54:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844509#M62478</guid>
      <dc:creator>guy_houlsby</dc:creator>
      <dc:date>2006-03-16T22:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Discussion of Intel Visual Fortran samples</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844510#M62479</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;I posted a question about the samples here, and it appeared for a short while and then disappeared again. How do I get a reply? (Please be patient with a novice to this game).</description>
      <pubDate>Thu, 16 Mar 2006 23:38:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844510#M62479</guid>
      <dc:creator>guy_houlsby</dc:creator>
      <dc:date>2006-03-16T23:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Discussion of Intel Visual Fortran samples</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844511#M62480</link>
      <description>I sent you email about it.</description>
      <pubDate>Thu, 16 Mar 2006 23:52:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844511#M62480</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2006-03-16T23:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Discussion of Intel Visual Fortran samples</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844512#M62481</link>
      <description>I have tried building the 'C_calls_Fortran' solution in Debug mode and everything links OK but on "Debug...Starting New Instance" for USEDLL I get the message that MSVCRTD.DLL is not found. I searched through the Microsoft Visual Studio 2003.NET directories and couldn't find it there but I could find MSVCRTD.LIB.&lt;BR /&gt;&lt;BR /&gt;Note that the USELIB version worked fine. Note that just building USEDLL alone also has the same result as before.&lt;BR /&gt;&lt;BR /&gt;Just wondering how serious this is if I want to use USEDLL as a template for calling a FORTRAN DLL I've created?&lt;BR /&gt;Regards, Warwick</description>
      <pubDate>Wed, 29 Mar 2006 15:03:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844512#M62481</guid>
      <dc:creator>warwickb</dc:creator>
      <dc:date>2006-03-29T15:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Discussion of Intel Visual Fortran samples</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844513#M62482</link>
      <description>You're using an old version of the compiler.  As in at least a year and a half old.  If you can't get a newer one, go to the Fortran..Libraries property page and choose "Single-Threaded DLL" for "Use Run-Time Library", not "Debug Single-Threaded DLL".&lt;BR /&gt;&lt;BR /&gt;The problem was that the Fortran debug DLL libraries were linked to a non-redistributable MSVC 6 DLL.  They aren't anymore.</description>
      <pubDate>Wed, 29 Mar 2006 18:13:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844513#M62482</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2006-03-29T18:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Discussion of Intel Visual Fortran samples</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844514#M62483</link>
      <description>Hi,&lt;BR /&gt;Despite having an old compiler I have managed to get something working involving the Mixed-Language examples. Your example uses a mainline C++ program to call the FORTRAN DLL. Oracle seems to require me to call a FORTRAN routine from a C (not C++) DLL. I have tried to use the Microsoft Visual Studio wizard to create a C DLL that calls FSUB but it won't compile with the call to printf:&lt;BR /&gt;"error C3861: 'printf': identifier not found, even with argument-dependent lookup". Interestingly I had a similar problem previously but I got around it substituting " for and &amp;gt; (I think) in the #include "*.h" commands. My code is attached along with the complete error message.&lt;BR /&gt;&lt;BR /&gt;I probably should be asking ORACLE for help but others may be interested in knowing how to call a FORTRAN subroutine - or DLL - from a C DLL. I'm using Visual C++ associated with Visual Studio 2003 .NET.&lt;BR /&gt;&lt;BR /&gt;I got rid of printf and although it will compile, it won't create a .dll file:&lt;BR /&gt;"Linking...&lt;BR /&gt;Creating library Debug/C_DLL_CALLDLL.lib and object Debug/C_DLL_CALLDLL.exp&lt;BR /&gt;C_DLL_CALLDLL.obj : error LNK2019: unresolved external symbol __imp__FSUB referenced in function _CALL_FSUB&lt;BR /&gt;Debug/C_DLL_CALLDLL.dll : fatal error LNK1120: 1 unresolved externals"&lt;BR /&gt;even though I have put FDLL.lib and FDLL.dll files into the C_DLL_CALLDLL debug directory.&lt;BR /&gt;&lt;BR /&gt;Regards, Warwick.</description>
      <pubDate>Tue, 04 Apr 2006 16:45:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844514#M62483</guid>
      <dc:creator>warwickb</dc:creator>
      <dc:date>2006-04-04T16:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Discussion of Intel Visual Fortran samples</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844515#M62484</link>
      <description>There is not a real difference between C and C++ in this context, other than that if you are using C++ you must take care to avoid "name mangling".  Your printf error is caused likely by not including stdio.h.  The DLL export library must be either added to the C project or the DLL project must be a dependent of the C project.</description>
      <pubDate>Wed, 05 Apr 2006 00:03:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844515#M62484</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2006-04-05T00:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Discussion of Intel Visual Fortran samples</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844516#M62485</link>
      <description>Hi Steve&lt;BR /&gt;i tried to compile the c_calls_fortran project. i want to use fortran dll in c++ project.&lt;BR /&gt;the FDLL project compiles without any problem and makes .lib and .dll files. however USEDLL project fails with these warning and errors:&lt;BR /&gt;Warning 1 warning C4996: 'strcpy' was declared deprecated d:c_calls_fortrancmain.cpp 56 &lt;BR /&gt;Error 2 error LNK2019: unresolved external symbol __imp__FSUB referenced in function _main CMAIN.obj &lt;BR /&gt;Error 3 fatal error LNK1120: 1 unresolved externals d:C_calls_FortranUSEDLLDebugUSEDLL.exe 1 &lt;BR /&gt;&lt;BR /&gt;i use Intel Visual Fortran 9.1 integrated with Visual Studio 2005.&lt;BR /&gt;i tried to add the .lib file to USEDLL project (as i do it for using dll's in fortran) but it did not solve the problem.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Oct 2006 17:10:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844516#M62485</guid>
      <dc:creator>mhadian</dc:creator>
      <dc:date>2006-10-26T17:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Discussion of Intel Visual Fortran samples</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844517#M62486</link>
      <description>&lt;P&gt;The warning is a new thing in Visual C++ 8 (VS2005) - you can ignore it unless you want to research what new routine is to replace strcpy.&lt;/P&gt;
&lt;P&gt;I am not sure what you did for the library issue, as adding the library works for me. Try adding it to the project itself rasther than to "source files". An alternative is to name the path to the library in the Linker Input property for Additional Dependencies.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2006 21:33:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844517#M62486</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2006-10-26T21:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Discussion of Intel Visual Fortran samples</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844518#M62487</link>
      <description>&lt;P&gt;When I try to download the samples by clicking on the zipped attachement, I get a message&lt;/P&gt;
&lt;P&gt;The XML page cannot be displayed &lt;BR /&gt;Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later. &lt;BR /&gt;--------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;An invalid character was found in text content. Error processing resource 'http://softwarecommunity.intel.com/isn/Community...&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2007 23:45:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844518#M62487</guid>
      <dc:creator>vivekrao4</dc:creator>
      <dc:date>2007-02-28T23:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Discussion of Intel Visual Fortran samples</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844519#M62488</link>
      <description>Worked ok for me just now. If you still have a problem, let me know.</description>
      <pubDate>Thu, 01 Mar 2007 14:37:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844519#M62488</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2007-03-01T14:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Discussion of Intel Visual Fortran samples</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844520#M62489</link>
      <description>&lt;P&gt;I am able to download the zip file using Firefox at work and at home but am not able to download it using Internet Explorer 6.0.2900 at work, running Windows XP Pro. My problem is solved, anyway. Thanks.&lt;/P&gt;
&lt;P&gt;Vivek Rao&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2007 18:47:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844520#M62489</guid>
      <dc:creator>vivekrao4</dc:creator>
      <dc:date>2007-03-01T18:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Discussion of Intel Visual Fortran samples</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844521#M62490</link>
      <description>Steve,&lt;BR /&gt;I am trying to build a mixed language (c++ &amp;amp; FORTRAN) code that I had working about a year ago with a previous version of Intel's FORTRAN compiler (v8 I think). ( I am now using Visual Studio 2003 and Intel's FORTRAN 10.1.011). I build a FORTRAN dll and call it from c++. I can get the code to build but I get a run-time error (pop-up window) that says "The procedure entry point __cpowq could not be located in the dynamic link library libmmd.dll". So I tried to run your sample C_calls_Fortran. Visual studio had to converted the solution and projects to V10. All projects compiled fine but when I run the USEDLL code I get the same error as I get with my code. Is something wrong with my install? Did something in the projects not get converted correctly. &lt;BR /&gt;&lt;BR /&gt;I looked in the "libmmd.lib" file and I find what looks like a reference to "___cpowq". The case matches but it looks like it has an extra leading underscore. Any help would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Dan&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Nov 2007 00:15:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844521#M62490</guid>
      <dc:creator>dan_trowbridge</dc:creator>
      <dc:date>2007-11-16T00:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Discussion of Intel Visual Fortran samples</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844522#M62491</link>
      <description>Steve,&lt;BR /&gt;&lt;BR /&gt;Never mind, I found the problem. It so happens that Roxio (the CD burning code) had in its distribution a library by the same name and its directory appeared earlier in the search path than the FORTRAN compiler's library. I still don't get the triple undersore thing but since the code is working I guess I am not going to worry about it. (I also noticed some versions of routines in the .lib file that had a "_imp_" prepended to the name. I guess these are some kind of naming conventions.)&lt;BR /&gt;&lt;BR /&gt;Bottom line is that is was a problem in finding the right library and it is now fixed.&lt;BR /&gt;&lt;BR /&gt;Thanks anyway.&lt;BR /&gt;Dan&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Nov 2007 03:00:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844522#M62491</guid>
      <dc:creator>dan_trowbridge</dc:creator>
      <dc:date>2007-11-16T03:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Discussion of Intel Visual Fortran samples</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844523#M62492</link>
      <description>__imp_ means that the symbol is imported from a DLL's import library.&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Nov 2007 06:27:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844523#M62492</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2007-11-16T06:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Discussion of Intel Visual Fortran samples</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844524#M62493</link>
      <description>Hi,&lt;BR /&gt;I tried to run the FXPLORER sample. Compilation went well, but when I started the program the message can't find IFDLGnnn.DLL appeared. I searched for such files and found one, IFDLG100.DLL, located in the compiler's bin directory. I use version 10.1.011 of the compiler. Any idea of how to solve this?&lt;BR /&gt;SAE&lt;BR /&gt;</description>
      <pubDate>Sun, 18 Nov 2007 13:00:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844524#M62493</guid>
      <dc:creator>Svein-Atle_Engeseth</dc:creator>
      <dc:date>2007-11-18T13:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Discussion of Intel Visual Fortran samples</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844525#M62494</link>
      <description>Argh. Copy that DLL into the compiler's LIB folder. It is supposed to be in both but it isn't. I'll get that fixed.&lt;BR /&gt;</description>
      <pubDate>Sun, 18 Nov 2007 16:55:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Discussion-of-Intel-Visual-Fortran-samples/m-p/844525#M62494</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2007-11-18T16:55:39Z</dc:date>
    </item>
  </channel>
</rss>

