title: Passing unsigned integers from C++ COM object to VB6
body: <p>I am trying to access (from a VB6 application) an unsigned 32 bit integer data type returned by the method of a C++ COM object. The part of an interface is declared like:</p>
  
  <pre><code>...
  interface ICOMCanvasPixelBuffer : IUnknown
  {
      HRESULT GetWidth([retval][out] DWORD *pWidth);
      HRESULT GetHeight([retval][out] unsigned __int32 *pHeight);
      ...
  </code></pre>
  
  <p>When I am browsing this interface using the <code>Object Browser</code> in VB6, it shows <code>Function GetWidth() As &lt;Unsupported variant type&gt;</code> hint for both of these methods.</p>
  
  <p>Is there way to pass the unsigned integer data type to VB6?</p>