In case it helps, here&#39;s the overall description of the COM/app and what how this function fits: &quot;COM_App&quot; is a typelib (with multiple classes) for interfacing to an application that controls hardware on a USB port. When multiple applications are started it becomes impossible for users to write code for accessing a particular instance of the app, therefore a manager com &quot;COM_Manager&quot; was created. There are two important level of the COM_Manager. The first call gets you an object representing the particular application (Its not really &quot;COM_App&quot; per-se, its just another object that handles that app). Then there is&nbsp; &quot;SomeFunction&quot; below, it gives you the particular class for the particular COM_App. That is why it is takes a GUID as a parameter.<br>
<br>I&#39;m still learning about the details of the COM, I guess VT_RECORD&nbsp; is sort of the standard way of passing any structure information back and forth? My email access for the first half of the week is fairly limited but I&#39;ll still try to learn my way around the test harness to see if I can create an example.<br>
<br><div class="gmail_quote">On Sat, Mar 15, 2008 at 12:54 PM, Mark Hammond &lt;<a href="mailto:skippy.hammond@gmail.com">skippy.hammond@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Just to clarify:<br>
<div class="Ih2E3d"><br>
&gt; &nbsp; &nbsp; &nbsp; HRESULT SomeFunction( [in] GUID* pGuid, [out, retval, iid_is(pGuid)]<br>
IUnknown** ppUnknown);<br>
<br>
&gt; &nbsp; &nbsp; &nbsp; win32com says that it needs a VT_RECORD in order to pass the GUID<br>
information<br>
&gt; to the COM. But from previous email exchanges I can&#39;t just deifne some<br>
GUID<br>
<br>
</div>My understanding is that the IDispatch implementation of this method<br>
declares that it wants a VT_RECORD - which win32com is trying to comply<br>
with.<br>
<br>
When I get back home, my approach will be to simply try and repro the issue<br>
in the win32com test suite, which will at least give me a clearer picture of<br>
what is happening. &nbsp;If Kevin could take some steps towards this it would<br>
help.<br>
<br>
Cheers,<br>
<font color="#888888"><br>
Mark<br>
<br>
</font></blockquote></div><br>