<?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 in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/COM/m-p/955656#M20751</link>
    <description>Hi Eric,&lt;BR /&gt;&lt;BR /&gt;&amp;gt; If you had two dual interfaces on the object which one do you want to answer QueryInterface for IDispatch?&lt;BR /&gt;&lt;BR /&gt;The Wizard intentionally disallows this because of the issue that John pointed out.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Leo</description>
    <pubDate>Thu, 21 Jun 2001 08:17:10 GMT</pubDate>
    <dc:creator>Intel_C_Intel</dc:creator>
    <dc:date>2001-06-21T08:17:10Z</dc:date>
    <item>
      <title>COM</title>
      <link>https://community.intel.com/t5/Software-Archive/COM/m-p/955654#M20749</link>
      <description>When I am using the 'Fortran OM Server  Wizard', I can not create 2 Dual interfaces for the same class ! &lt;BR /&gt;The problem is that I have to communicate with some existing BB and I++ objects which are expecting to access 2 different interfaces (ID) corresponding to a given class (Pro_ID) &lt;BR /&gt;These are two ways to manage the data of a unique given object. &lt;BR /&gt; &lt;BR /&gt;The problem is that it seems that only one of the interface can be declared as Dual and this is causing incompatibility! &lt;BR /&gt; &lt;BR /&gt;Is it exist some way to solve this problem ? &lt;BR /&gt; &lt;BR /&gt;Best Regards &lt;BR /&gt; &lt;BR /&gt;   ERIC MARECHAL</description>
      <pubDate>Wed, 20 Jun 2001 21:24:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/COM/m-p/955654#M20749</guid>
      <dc:creator>belsim</dc:creator>
      <dc:date>2001-06-20T21:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: COM</title>
      <link>https://community.intel.com/t5/Software-Archive/COM/m-p/955655#M20750</link>
      <description>You did not clearly state why you need two Dual interfaces on your object.  You can communicate with VB and C++ objects/clients expecting to access 2 different interfaces on your object with custom interfaces on your object.  Use the oleautomation attribute. &lt;BR /&gt; &lt;BR /&gt;If you had two dual interfaces on the object which one do you want to answer QueryInterface for IDispatch?</description>
      <pubDate>Wed, 20 Jun 2001 22:05:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/COM/m-p/955655#M20750</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-06-20T22:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: COM</title>
      <link>https://community.intel.com/t5/Software-Archive/COM/m-p/955656#M20751</link>
      <description>Hi Eric,&lt;BR /&gt;&lt;BR /&gt;&amp;gt; If you had two dual interfaces on the object which one do you want to answer QueryInterface for IDispatch?&lt;BR /&gt;&lt;BR /&gt;The Wizard intentionally disallows this because of the issue that John pointed out.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Leo</description>
      <pubDate>Thu, 21 Jun 2001 08:17:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/COM/m-p/955656#M20751</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-06-21T08:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: COM</title>
      <link>https://community.intel.com/t5/Software-Archive/COM/m-p/955657#M20752</link>
      <description>I need 2 dual interfaces because I have to fit with the TLB I received as definition of the standard for the creation of my objects. &lt;BR /&gt;I can see that if I don't work with DUAL interfaces, the routine table offset is not OK. This is due to the additional standard interfaces introduced by the Wizard. &lt;BR /&gt;=&amp;gt; If I have DUAL + non DUAL =&amp;gt; access to the non DUAL is not working because of the offset (visible when I am creating a TB from my DLL)! &lt;BR /&gt;Concerning the answer to IDispatch, I was thinking that it was the goal of the 'default interface' check box to define the default one ! &lt;BR /&gt; &lt;BR /&gt;I give you a copy of the declaration section of an existing VB object in wich I have 2 deferent interfaces for the same object class this can help you to identify what I need. &lt;BR /&gt; &lt;BR /&gt;VERSION 1.0 CLASS &lt;BR /&gt;BEGIN &lt;BR /&gt;  MultiUse = -1  'True &lt;BR /&gt;END &lt;BR /&gt;Attribute VB_Name = "HDAPack" &lt;BR /&gt;Attribute VB_GlobalNameSpace = False &lt;BR /&gt;Attribute VB_Creatable = True &lt;BR /&gt;Attribute VB_PredeclaredId = False &lt;BR /&gt;Attribute VB_Exposed = True &lt;BR /&gt; &lt;BR /&gt;Option Explicit &lt;BR /&gt;#Const TRACING = True &lt;BR /&gt;Const E_NOTIMPL = &amp;amp;H80004001 &lt;BR /&gt;... &lt;BR /&gt;Dim m_EqServer As ICapeThermoEquilibriumServer &lt;BR /&gt;Implements ICapeIdentification &lt;BR /&gt;Implements ICapeThermoPropertyPackage &lt;BR /&gt;... &lt;BR /&gt;code for the different interfaces is starting after. &lt;BR /&gt; &lt;BR /&gt;After connecting using the ProgID, I can use both interfaces without any problem. &lt;BR /&gt; &lt;BR /&gt;Best Regards &lt;BR /&gt; &lt;BR /&gt;                    ERIC MARECHAL</description>
      <pubDate>Fri, 31 Aug 2001 18:24:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/COM/m-p/955657#M20752</guid>
      <dc:creator>belsim</dc:creator>
      <dc:date>2001-08-31T18:24:53Z</dc:date>
    </item>
  </channel>
</rss>

