<?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 Dynamic linking to ONTAPI DLLS in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Dynamic-linking-to-ONTAPI-DLLS/m-p/146921#M2866</link>
    <description>&lt;P&gt;I have SDK 5.4 and which is built using VS2010. my C++ Application is using VC2017 Compiler ( C++17) , so&amp;nbsp; I can't static linking the *.lib files to my app. the only solution is to load the dlls dynamically and use the function pointers. the only problem I have is that the SDK does NOT ship with *.DEF or header files to define the data structures used by the sdk like "&lt;SPAN&gt;na_server_t*" in API:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;na_server_t* na_server_open(const char* server, int major, int minor);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any one was able to link dynamically to the NMSDK DLLs ?&amp;nbsp; The only information related to dynamically linking to dll was in this file [ NMSDK-5.4P1/doc/WebHelp/index.htm ] .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following libraries should be linked to the applications that use the dynamic libraries of the SDK:&lt;/P&gt;
&lt;TABLE cellspacing="0"&gt;&lt;COLGROUP&gt;&lt;COL width="238" /&gt;&lt;COL width="624" /&gt;&lt;/COLGROUP&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="238" bgcolor="#C0C0C0"&gt;
&lt;P&gt;Platform&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="624" bgcolor="#C0C0C0"&gt;
&lt;P&gt;Interfaces&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="238"&gt;
&lt;P&gt;Windows&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="624"&gt;
&lt;P&gt;zephyr.dll, zephyr.lib, ws2_32.lib (release mode)&lt;/P&gt;
&lt;P&gt;zephyrd.dll, zephyrd.lib, ws2_32.lib (debug mode)&lt;/P&gt;
&lt;P&gt;The libraries for the 64-bit platform are at lib\nt\x64.&lt;/P&gt;
&lt;P&gt;The libraries for the IA64-bit platform are at lib\nt\ia64.&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note : I know that NMSDK 9.4 now provide compatiblity with visual studio 2015 and 2017 but I don't have download access any more.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 12:46:53 GMT</pubDate>
    <dc:creator>malidiab</dc:creator>
    <dc:date>2025-06-04T12:46:53Z</dc:date>
    <item>
      <title>Dynamic linking to ONTAPI DLLS</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Dynamic-linking-to-ONTAPI-DLLS/m-p/146921#M2866</link>
      <description>&lt;P&gt;I have SDK 5.4 and which is built using VS2010. my C++ Application is using VC2017 Compiler ( C++17) , so&amp;nbsp; I can't static linking the *.lib files to my app. the only solution is to load the dlls dynamically and use the function pointers. the only problem I have is that the SDK does NOT ship with *.DEF or header files to define the data structures used by the sdk like "&lt;SPAN&gt;na_server_t*" in API:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;na_server_t* na_server_open(const char* server, int major, int minor);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any one was able to link dynamically to the NMSDK DLLs ?&amp;nbsp; The only information related to dynamically linking to dll was in this file [ NMSDK-5.4P1/doc/WebHelp/index.htm ] .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following libraries should be linked to the applications that use the dynamic libraries of the SDK:&lt;/P&gt;
&lt;TABLE cellspacing="0"&gt;&lt;COLGROUP&gt;&lt;COL width="238" /&gt;&lt;COL width="624" /&gt;&lt;/COLGROUP&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="238" bgcolor="#C0C0C0"&gt;
&lt;P&gt;Platform&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="624" bgcolor="#C0C0C0"&gt;
&lt;P&gt;Interfaces&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="238"&gt;
&lt;P&gt;Windows&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="624"&gt;
&lt;P&gt;zephyr.dll, zephyr.lib, ws2_32.lib (release mode)&lt;/P&gt;
&lt;P&gt;zephyrd.dll, zephyrd.lib, ws2_32.lib (debug mode)&lt;/P&gt;
&lt;P&gt;The libraries for the 64-bit platform are at lib\nt\x64.&lt;/P&gt;
&lt;P&gt;The libraries for the IA64-bit platform are at lib\nt\ia64.&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note : I know that NMSDK 9.4 now provide compatiblity with visual studio 2015 and 2017 but I don't have download access any more.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 12:46:53 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Dynamic-linking-to-ONTAPI-DLLS/m-p/146921#M2866</guid>
      <dc:creator>malidiab</dc:creator>
      <dc:date>2025-06-04T12:46:53Z</dc:date>
    </item>
  </channel>
</rss>

