ActiveX Designer Samples Release Notes

About the Designers

Click here to open or copy the Circle project files

Click here to open or copy the Different Designer project files

Click here to open or copy the Different Instance project files

Click here to open or copy the Invisible Designer project files

Click here to open or copy the Invisible Instance project files

Compiling and Running the Designers

To run a designer

Each of the designers listed above has a named directory in the SDK. This directory contains a Debug directory with a fully compiled ActiveX Designer DLL. These designers (and their run-time components - if any) must be registered before they are used. To register the components run: 'regserver32 <component.dll>'

To compile/modify a designer

  1. Insure that <ActiveXDesignerSDK>\Samples\Framewrk\Debug\AxfwD.lib and <ActiveXDesignerSDK>\Samples\Framewrk\Release\AxfwR.lib are on the link path for the linker. (These are the debug and release versions of the ActiveX Designer Framework. The VC++ project for these is in the Framewrk directory as VC_Framework.)

  2. Click here to open or copy the Framewrk project files
  3. Insure that the files in <ActiveXDesignerSDK>\Samples\Include\ are on the include path for the compiler.

  4. Click here to open or copy the Include project files
  5. Insure that the files in <ActiveXDesignerSDK>\Samples\Lib\<platform> are on the link path for the linker.

  6. Click here to open or copy the Library project files
  7. Load the appropriate project for the designer.
  8. Compile.

To add a property or method to a designer

  1. Add the property or method to the .odl file in the designer's directory.
  2. Run the BuildTlb.bat file in the designer's directory. (This rebuilds the type library and the associated header file).
  3. Write code to implement the property or method.
  4. Recompile.

Note

If you experience any linking errors, try the Rebuild All command on the Framewrk project listed above. Errors may occur when testing on different configurations. Doing a Rebuild All generally takes care of the problem. (Make sure to put the recompiled libraries on the link path.)