This demo consists of four ZIP files.

YELLER.ZIP - C code for a 16-bit DLL which exports three functions
VIS001     - 16-bit VB3 code which Declares and calls the functions in YELLER.DLL
VISTHUNK   - 16-bit VB4 code which wraps each YELLER function with OLE automation
VIS00132   - 32-bit VB4 code which calls the automation in VisThunk, enabling it to
             link to the 16-bit DLL.

To run this demo, do the following:

1. Put YELLER.DLL in your system directory.
2. Run VISTHUNK.EXE once to register the OLE exports.
3. Run VIS00132.EXE, comparing the output and responsiveness to VIS001.EXE.

You can use the sample code in VISTHUNK as a guide to wrapping your own DLL exports
with 16/32 OLE automation, allowing you to call almost any 16-bit DLL from a 32-bit
program. (This technique works in C/C++ too. This is just a VB4 demo.)

All files in this archive were created by Joshua Trupin (Contributing Editor, MSJ).

(c) 1995, Joshua Trupin
All Rights Reserved