| Chapters | A Short Tutorial >>> |
This manual provides a complete guide for developers who want to write their own modules for use with PS/Workshop. It contains the following chapters:
This manual assumes that you are familiar with the functionality in the core version of PS/Workshop, as well as the mechanism for loading and unloading PS/Workshop modules. For more details, see the PS/Workshop V2 User Guide.
In order to develop PS/Workshop modules, you need to install the PS/Workshop SDK (Software Development Kit). This needs to be installed when you install PS/Workshop itself, by choosing the appropriate option in the installation wizard. The SDK is installed by default for the "Typical" configuration, so if you installed PS/Workshop with this configuration, you already have the SDK.
If you do not have the SDK installed, run the installation again and ensure that the option is checked.
The PS/Workshop SDK consists of the following files and folders:
<INSTALL_DIR> |
|
<INSTALL_DIR>\Help |
|
<INSTALL_DIR>\Modules |
Source code and object releases for the sample PS/Workshop modules |
<INSTALL_DIR>\Modules\Source |
|
<INSTALL_DIR>\Modules\Source\ Edge Blend |
|
<INSTALL_DIR>\Modules\Tutorial |
The full source code for the tutorial module described in Chapter 2, "A Short Tutorial". |
The example modules provided were written and compiled using Microsoft Visual Studio C++ 6.0 with Service Pack 4.0 installed.
When you install the SDK, a module wizard is copied to the Visual Studio directory. This wizard produces a module that contains all the code for successfully initialising the module as well as adding a new menu and submenu to PS/Workshop. It also sets up and registers a stub function that is called from the menu.
The module wizard is shown as "PSWorkshop AppWizard" in the Projects tab of the New dialog in Visual Studio.
If you do not see this wizard, copy
<INSTALL_DIR>
\PSWorkshopAddonWizard.awx
to
\Common\MSDev98\Template
under the Visual Studio directory.
| Chapters | A Short Tutorial >>> |