OLE Proxy Wizard

The Ole Proxy Wizard is a tool to generate OCF/OWL based code for handling OLE Automation servers and ActiveX Servers. It reads a type library, and extracts all the information it can: for example dual interfaces get C++ abstract class definitions defined for them, as well as OLE automation based proxy classes. ProxyWizard also tries to find all types that are marked as event sources, and generates sample event handling code for TOleWindow or TOleDialog based classes, you can then cut and paste the parts you need into your own code.

Now shipping version 1.3.

Generates type information for all types: Coclasses, interfaces, structures, unions, typedefs, GUIDs etc.

Handles dual interfaces.

Handles new style 32-bit type libraries.

Recursively pulls out definitions for all referenced types.

Fixes some of TAutoVal's problems (strings by reference, interfaces by reference etc).

Generates sample event handling code for custom event sources.

Handles default arguments to Ole Automation calls.

Provides support for SAFEARRAY's.

Demo applications illustrate custom event handling, ambient property notifications, and use of proxy classes with ActiveX's.

Available free!


Downloads

The downloads previously available from here, have been split into several self-extracting executables, these are smaller and more easily accessable than before. You can run the install programs directly from this web page if you wish, the program and sample code can be installed in any order, once one has been installed the remaining installers will automatically extract to the same directory structure. (NB: do not install to the same directory as BC5, always use the uninstall option if you want to completely remove the programs).

The Proxy code for MS Word and MS Excel cause particular problems, because the names used in the type-libraries clash with both with each other and with other MS-Windows functions. I have modified versions of the generated code available from here. These are guaranteed to compile, but due to the extreme size of these libraries I can't claim to have exhaustively tested them! Use at your discretion.

Likewise I have now added libraries for Internet Explorer 4 and Dynamic HTML, all these libraries are now "chunked" into multiple small files, so that they may be built into reasonably efficient import libraries.

Also added are short examples for Word and Excel, plus an extended IE4 example which demonstrates how the client can communicate with the Dynamic HTML object model, and how a HTML script can communicate with the host application.

Proxy-Wizard (372K).

MS Word Code library + example (440K).

MS Excel Code library + example (508K).

MS Internet explorer code library + example (264K).

Formula 1 Spreadsheet example (272K).


Back to home page...


Copyright Dr J. Maddock 1996 - 1998.

Last Updated: 24 April 1998