<?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: Passing a class pointer to Call library function in Measurement Studio for VC++</title>
    <link>https://ni.lithium.com/t5/Measurement-Studio-for-VC/Passing-a-class-pointer-to-Call-library-function/m-p/55639#M1007</link>
    <description>I am trying to pass it to call library function so that it should pass it to a dll file and not another dll call. Basically this is a dll file for reading TDC-PCI card. It came up with the card. I want to read the data from the TDC card.&lt;BR /&gt;Can you give any other suggestion through which I can perform this!&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; regards,&lt;BR /&gt;&lt;BR /&gt;Maithili &lt;BR /&gt;</description>
    <pubDate>Fri, 09 Aug 2002 20:49:30 GMT</pubDate>
    <dc:creator>Maithili</dc:creator>
    <dc:date>2002-08-09T20:49:30Z</dc:date>
    <item>
      <title>Passing a class pointer to Call library function</title>
      <link>https://ni.lithium.com/t5/Measurement-Studio-for-VC/Passing-a-class-pointer-to-Call-library-function/m-p/55635#M1003</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I am calling a c++ dll from call library function. I want to pass a class pointer to call library function .&lt;BR /&gt;How van I perform this! Can anyone guide me regarding this option.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; regards,&lt;BR /&gt;&lt;BR /&gt;Maithili &lt;BR /&gt;</description>
      <pubDate>Fri, 09 Aug 2002 13:41:43 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Measurement-Studio-for-VC/Passing-a-class-pointer-to-Call-library-function/m-p/55635#M1003</guid>
      <dc:creator>Maithili</dc:creator>
      <dc:date>2002-08-09T13:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Passing a class pointer to Call library function</title>
      <link>https://ni.lithium.com/t5/Measurement-Studio-for-VC/Passing-a-class-pointer-to-Call-library-function/m-p/55636#M1004</link>
      <description>LabVIEW does not have an equivalent to C++ classes as a data type.  It support Windows SDK and ActiveX data types, as well as all basic C data types.  You can't pass classes to LabVIEW though.  You should pull out the member data of the class that you need to pass to LabVIEW and send those items separately.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Chris Matthews&lt;BR /&gt;National Instruments &lt;BR /&gt;</description>
      <pubDate>Fri, 09 Aug 2002 15:51:47 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Measurement-Studio-for-VC/Passing-a-class-pointer-to-Call-library-function/m-p/55636#M1004</guid>
      <dc:creator>Chris Matthews</dc:creator>
      <dc:date>2002-08-09T15:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Passing a class pointer to Call library function</title>
      <link>https://ni.lithium.com/t5/Measurement-Studio-for-VC/Passing-a-class-pointer-to-Call-library-function/m-p/55637#M1005</link>
      <description>Can't I even pass a pointer to class? As we can pass a pointer to value . Is there any similar option. I changed the input to adapt to type but I am not able to find out how can I pass that pointer using a control &lt;BR /&gt;</description>
      <pubDate>Fri, 09 Aug 2002 16:30:51 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Measurement-Studio-for-VC/Passing-a-class-pointer-to-Call-library-function/m-p/55637#M1005</guid>
      <dc:creator>Maithili</dc:creator>
      <dc:date>2002-08-09T16:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Passing a class pointer to Call library function</title>
      <link>https://ni.lithium.com/t5/Measurement-Studio-for-VC/Passing-a-class-pointer-to-Call-library-function/m-p/55638#M1006</link>
      <description>No, there is no type in LabVIEW that will adapt to the class pointer.  You can just use a int32 to get in the 4-byte memory location, but you wouldn't be able to do anything with it in LabVIEW.  Are you just trying to pass it through LabVIEW and back to another DLL call?&lt;BR /&gt;&lt;BR /&gt;Chris &lt;BR /&gt;</description>
      <pubDate>Fri, 09 Aug 2002 18:31:04 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Measurement-Studio-for-VC/Passing-a-class-pointer-to-Call-library-function/m-p/55638#M1006</guid>
      <dc:creator>Chris Matthews</dc:creator>
      <dc:date>2002-08-09T18:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Passing a class pointer to Call library function</title>
      <link>https://ni.lithium.com/t5/Measurement-Studio-for-VC/Passing-a-class-pointer-to-Call-library-function/m-p/55639#M1007</link>
      <description>I am trying to pass it to call library function so that it should pass it to a dll file and not another dll call. Basically this is a dll file for reading TDC-PCI card. It came up with the card. I want to read the data from the TDC card.&lt;BR /&gt;Can you give any other suggestion through which I can perform this!&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; regards,&lt;BR /&gt;&lt;BR /&gt;Maithili &lt;BR /&gt;</description>
      <pubDate>Fri, 09 Aug 2002 20:49:30 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Measurement-Studio-for-VC/Passing-a-class-pointer-to-Call-library-function/m-p/55639#M1007</guid>
      <dc:creator>Maithili</dc:creator>
      <dc:date>2002-08-09T20:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Passing a class pointer to Call library function</title>
      <link>https://ni.lithium.com/t5/Measurement-Studio-for-VC/Passing-a-class-pointer-to-Call-library-function/m-p/55640#M1008</link>
      <description>Unfortunately, you will not be able to call that DLL directly from LabVIEW since it has unsupported data types in the argument lists.  You would need to write a wrapper DLL in Visual C++ or another C++ compiler that exposes functions with basic data types (strings, numerics, arrays, etc.) and call that wrapper DLL from LabVIEW.&lt;BR /&gt;&lt;BR /&gt;Chris &lt;BR /&gt;</description>
      <pubDate>Fri, 09 Aug 2002 21:33:48 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Measurement-Studio-for-VC/Passing-a-class-pointer-to-Call-library-function/m-p/55640#M1008</guid>
      <dc:creator>Chris Matthews</dc:creator>
      <dc:date>2002-08-09T21:33:48Z</dc:date>
    </item>
  </channel>
</rss>

