SAMPLE: VTBLBIND: Marshaling Using an OLE Automation Marshaller

ID: Q139074


The information in this article applies to:
  • Microsoft OLE Libraries, used with:
    • Microsoft Windows NT, versions 3.51, 4.0
    • Microsoft Windows 95
    • Microsoft Windows 2000


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 Download Center. Click the file name below to download the file:

Vtblbind.exe
For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address
http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center.

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 kbAutomation kbNTOS351 kbNTOS400 kbWinOS2000 kbWinOS95 kbGrpCom kbDSupport LeTwoAt
Version : :
Platform : NT WINDOWS
Issue type :


Last Reviewed: December 7, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.