<?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: COM Event Sinks in LabWindows/CVI</title>
    <link>https://ni.lithium.com/t5/LabWindows-CVI/COM-Event-Sinks/m-p/342386#M22012</link>
    <description>Thanks for the reply. It gives me a starting point to start looking at
this. Everything is IDispatch compatible. In Visual C++, I'm simply
using standard macros like BEGIN_SINK_MAP to create event maps that map
the server generated events to handlers in my code. Standard stuff.&lt;BR /&gt;
&lt;BR /&gt;
John&lt;BR /&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 23 Mar 2006 15:18:27 GMT</pubDate>
    <dc:creator>JVL</dc:creator>
    <dc:date>2006-03-23T15:18:27Z</dc:date>
    <item>
      <title>COM Event Sinks</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/COM-Event-Sinks/m-p/341752#M21997</link>
      <description>I am learning LabWindows/CVI and TestStand for some applications that
have traditionally been done in VS C++ 6.0. A COM server is used in
these applications and in the past, I have coded event sinks to handle
events generated by the COM server. Is it possible to do this in the
LabWindows environment and is there any documentation that might help
with this?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
John&lt;BR /&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 22 Mar 2006 15:05:56 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/COM-Event-Sinks/m-p/341752#M21997</guid>
      <dc:creator>JVL</dc:creator>
      <dc:date>2006-03-22T15:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: COM Event Sinks</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/COM-Event-Sinks/m-p/342375#M22010</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;I don't know&amp;nbsp;how TestStand does ActiveX. In CVI, when you create a "controller" for your ActiveX server using the "Create ActiveX Controller" item in the Tools menu, CVI generates functions to handle the events exposed by&amp;nbsp;the server, along with other functions to create objects in the server and call them. These event functions are in a function class called "Event Callback Registration Functions" in the generated FP, and there is a registration function for each event. You can call these functions to register a callback function to be called when the server raises the associated event. Note that CVI only supports calling ActiveX servers that only use "automation-compatible" datatypes, i.e. IDispatch compatible types.&amp;nbsp;So, if your server uses any custom types like structs, etc, then CVI will probably not be able to generate a "controller" for it.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2006 15:06:41 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/COM-Event-Sinks/m-p/342375#M22010</guid>
      <dc:creator>Mohan</dc:creator>
      <dc:date>2006-03-23T15:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: COM Event Sinks</title>
      <link>https://ni.lithium.com/t5/LabWindows-CVI/COM-Event-Sinks/m-p/342386#M22012</link>
      <description>Thanks for the reply. It gives me a starting point to start looking at
this. Everything is IDispatch compatible. In Visual C++, I'm simply
using standard macros like BEGIN_SINK_MAP to create event maps that map
the server generated events to handlers in my code. Standard stuff.&lt;BR /&gt;
&lt;BR /&gt;
John&lt;BR /&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 23 Mar 2006 15:18:27 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabWindows-CVI/COM-Event-Sinks/m-p/342386#M22012</guid>
      <dc:creator>JVL</dc:creator>
      <dc:date>2006-03-23T15:18:27Z</dc:date>
    </item>
  </channel>
</rss>

