SAMPLE: VTBLBIND: Marshaling Using an OLE Automation Marshaller

ID: Q139074

The information in this article applies to:

SUMMARY

The VTBLBIND sample demonstrates how to use the OLE Automation marshaller to marshal a custom interface.

MORE INFORMATION

The following file is available for download from the Microsoft Software Library:

 ~ VTBLBIND.EXE (size: 37250 bytes) 

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE     : How to Obtain Microsoft Support Files from
               Online Services

After downloading the file, use the following command to extract its contents and create the appropriate directory structure:

   VTBLBIND.EXE -d

Standard marshaling code for custom COM interfaces, generated using the MIDL compiler or written manually, doesn't support 16/16 bit and 16/32 bit interoperability in Windows 95 and Windows NT 3.51. The OLE Automation marshaller, however, does support 16/16 bit and 16/32 bit interoperability for local servers (.exe servers), so you can use it to work around this interoperability problem if you are interested in 16-bit support. However, the types that can be used in interfaces that can be marshaled by the OLE Automation marshaller are restricted to the OLE Automation compatible types.

REFERENCES

For more details, please see the Vtblbind.doc file included in the sample.

Additional query words: kbole kbfile

Keywords          : kbole LeTwoAt 
Version           : 4.00 | 3.51
Platform          : NT WINDOWS

Last Reviewed: December 9, 1998