<?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 Creating a VC++ DLL and running from VBA in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Creating-a-VC-DLL-and-running-from-VBA/m-p/995658#M18260</link>
    <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;I am using the Intel Kernel Math library V7.0.&lt;/P&gt;
&lt;P&gt;When I create a VC++ win32 executable using the mkl routines, it works fine.&lt;/P&gt;
&lt;P&gt;However, when I attempt to create a simple DLL (in VC++) that uses mkl routines, such as vdln, I receive an error. I am running the DLL within VBA. The error I receive is that:&lt;/P&gt;
&lt;P&gt;The instruction at 0x1003ae51 referenced memory at 0x00000000. The memory could not be read.&lt;/P&gt;
&lt;P&gt;Excel then terminates.&lt;/P&gt;
&lt;P&gt;Is there a certain flag that I should be using when compiling the DLL in VC++ 6.0 so that it will work? Add a library to the settings?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Sat, 12 Feb 2005 04:01:09 GMT</pubDate>
    <dc:creator>jlupas</dc:creator>
    <dc:date>2005-02-12T04:01:09Z</dc:date>
    <item>
      <title>Creating a VC++ DLL and running from VBA</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Creating-a-VC-DLL-and-running-from-VBA/m-p/995658#M18260</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;I am using the Intel Kernel Math library V7.0.&lt;/P&gt;
&lt;P&gt;When I create a VC++ win32 executable using the mkl routines, it works fine.&lt;/P&gt;
&lt;P&gt;However, when I attempt to create a simple DLL (in VC++) that uses mkl routines, such as vdln, I receive an error. I am running the DLL within VBA. The error I receive is that:&lt;/P&gt;
&lt;P&gt;The instruction at 0x1003ae51 referenced memory at 0x00000000. The memory could not be read.&lt;/P&gt;
&lt;P&gt;Excel then terminates.&lt;/P&gt;
&lt;P&gt;Is there a certain flag that I should be using when compiling the DLL in VC++ 6.0 so that it will work? Add a library to the settings?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 12 Feb 2005 04:01:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Creating-a-VC-DLL-and-running-from-VBA/m-p/995658#M18260</guid>
      <dc:creator>jlupas</dc:creator>
      <dc:date>2005-02-12T04:01:09Z</dc:date>
    </item>
  </channel>
</rss>

