<?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 fortran dll  with library call not recognize from vb code visual studio 2019 in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/fortran-dll-with-library-call-not-recognize-from-vb-code-visual/m-p/1337280#M158397</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'm using Visual Studio 2019.&lt;/P&gt;
&lt;P&gt;I have a Vb project&amp;nbsp; that is calling a dll&amp;nbsp; in fortran that i&amp;nbsp; wrote.&lt;/P&gt;
&lt;P&gt;The fortran code is using the library LINK_FNL_SHARED.H.&lt;/P&gt;
&lt;P&gt;When i ran the vb project that is calling the dll,i received an error:"system.dllnotfoundexception".&lt;/P&gt;
&lt;P&gt;Both the vb project and fortran project are in debug mode x64.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-But when i try to mark in comment the line code: CALL RNSET(ISEED),CALL RNUN(NR,R)&lt;/P&gt;
&lt;P&gt;all is fine and the dll is recognized and the code is running!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have added the path of the library ,the dll and the linker also.&lt;/P&gt;
&lt;P&gt;I have tested and tried to create a project only in fortran using this library with no vb and the code is succesfull !&lt;/P&gt;
&lt;P&gt;What am i missing in my vb project so that it can call the fortran dll using a call to&amp;nbsp;LINK_FNL_SHARED.H lib?&lt;/P&gt;
&lt;P&gt;Please see the attached files of my code .&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Nov 2021 12:59:13 GMT</pubDate>
    <dc:creator>Carob</dc:creator>
    <dc:date>2021-11-18T12:59:13Z</dc:date>
    <item>
      <title>fortran dll  with library call not recognize from vb code visual studio 2019</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/fortran-dll-with-library-call-not-recognize-from-vb-code-visual/m-p/1337280#M158397</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'm using Visual Studio 2019.&lt;/P&gt;
&lt;P&gt;I have a Vb project&amp;nbsp; that is calling a dll&amp;nbsp; in fortran that i&amp;nbsp; wrote.&lt;/P&gt;
&lt;P&gt;The fortran code is using the library LINK_FNL_SHARED.H.&lt;/P&gt;
&lt;P&gt;When i ran the vb project that is calling the dll,i received an error:"system.dllnotfoundexception".&lt;/P&gt;
&lt;P&gt;Both the vb project and fortran project are in debug mode x64.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-But when i try to mark in comment the line code: CALL RNSET(ISEED),CALL RNUN(NR,R)&lt;/P&gt;
&lt;P&gt;all is fine and the dll is recognized and the code is running!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have added the path of the library ,the dll and the linker also.&lt;/P&gt;
&lt;P&gt;I have tested and tried to create a project only in fortran using this library with no vb and the code is succesfull !&lt;/P&gt;
&lt;P&gt;What am i missing in my vb project so that it can call the fortran dll using a call to&amp;nbsp;LINK_FNL_SHARED.H lib?&lt;/P&gt;
&lt;P&gt;Please see the attached files of my code .&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 12:59:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/fortran-dll-with-library-call-not-recognize-from-vb-code-visual/m-p/1337280#M158397</guid>
      <dc:creator>Carob</dc:creator>
      <dc:date>2021-11-18T12:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: fortran dll  with library call not recognize from vb code visual studio 2019</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/fortran-dll-with-library-call-not-recognize-from-vb-code-visual/m-p/1337291#M158398</link>
      <description>&lt;P&gt;Your code uses routines from the IMSL library. If, when your VB program is run, the IMSL DLLs are not accessible through the PATH environment variable, the program will abort.&lt;/P&gt;
&lt;P&gt;If RNSET and RNUN are the only IMSL routines that are needed, you could use the Fortran intrinsics RANDOM_SEED and RANDOM_NUMBER instead, and remove the dependency of your VB project on IMSL.&lt;/P&gt;
&lt;P&gt;Please do not confuse yourself and readers by calling LINK_FNL_SHARED.H as a "library". That include file, which is&amp;nbsp; all of 40 bytes in length, simply adds an OBJCOMMENT directive for the linker to use. The library itself is called&amp;nbsp;imslmkl_dll.lib .&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 13:57:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/fortran-dll-with-library-call-not-recognize-from-vb-code-visual/m-p/1337291#M158398</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2021-11-18T13:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: fortran dll  with library call not recognize from vb code visual studio 2019</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/fortran-dll-with-library-call-not-recognize-from-vb-code-visual/m-p/1337294#M158400</link>
      <description>&lt;P&gt;Hi thank you,&lt;/P&gt;
&lt;P&gt;But&amp;nbsp;&lt;SPAN&gt;RNSET and RNUN are the &lt;STRONG&gt;NOT&lt;/STRONG&gt; only the&amp;nbsp; IMSL routines that i need!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;how can i make my project run?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 13:56:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/fortran-dll-with-library-call-not-recognize-from-vb-code-visual/m-p/1337294#M158400</guid>
      <dc:creator>Carob</dc:creator>
      <dc:date>2021-11-18T13:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: fortran dll  with library call not recognize from vb code visual studio 2019</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/fortran-dll-with-library-call-not-recognize-from-vb-code-visual/m-p/1337296#M158401</link>
      <description>&lt;P&gt;I had also tried to add directly to the vb and fortan project the&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;imslmkl_dll.lib but still the same error&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 13:59:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/fortran-dll-with-library-call-not-recognize-from-vb-code-visual/m-p/1337296#M158401</guid>
      <dc:creator>Carob</dc:creator>
      <dc:date>2021-11-18T13:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: fortran dll  with library call not recognize from vb code visual studio 2019</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/fortran-dll-with-library-call-not-recognize-from-vb-code-visual/m-p/1337297#M158402</link>
      <description>&lt;P&gt;Which other IMSL routines do you use? I have to note that your screenshots contain little useful information that I can use.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 14:00:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/fortran-dll-with-library-call-not-recognize-from-vb-code-visual/m-p/1337297#M158402</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2021-11-18T14:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: fortran dll  with library call not recognize from vb code visual studio 2019</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/fortran-dll-with-library-call-not-recognize-from-vb-code-visual/m-p/1337389#M158404</link>
      <description>&lt;P&gt;Adding a .lib to a VB project will not do anything useful.&lt;/P&gt;
&lt;P&gt;VB will say "DLL not found" when a dependent DLL isn't found. If you have purchased IMSL, you'll need to make sure that its DLLs are in a folder included in the PATH system environment variable. You can contact Rogue Wave for support on IMSL.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 18:12:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/fortran-dll-with-library-call-not-recognize-from-vb-code-visual/m-p/1337389#M158404</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2021-11-18T18:12:13Z</dc:date>
    </item>
  </channel>
</rss>

