Setup WinC/WinC Development Environment

Create new Local Model

Login to the created group model. Select File->New to create a new local model. At this point you will be prompted to set the configuration for the library models used. Select the following:

Model Variant Version Level
ACTIVE Base V5.2 Patterns V5.2 Patterns
DATE Windows client V5.2 Patterns V5.2 Patterns
EVENTLOG Base Version 1.4 Level 1.4
FIELDS Base V5.2 Patterns V5.2 Patterns
FOUNDATI Base V5.2 Patterns V5.2 Patterns
JAVAAPI Base V5.2 Patterns V5.2 Patterns
OBJECTS Base V5.2 Patterns V5.2 Patterns
SDSTRING WinC v.6.0 v.6.0
STORAGE ODBC Server V5.2 Patterns V5.2 Patterns
UIBASIC Base V5.2 Patterns V5.2 Patterns
UISTYLE Base V5.2 Patterns V5.2 Patterns
VALIDATE Base V5.2 Patterns V5.2 Patterns
WINAPI Base V5.2 Patterns V5.2 Patterns
WSYAPI ODBC Server v.2.0 v.2.0
WSYBASE DWA - Windows v.6.0 v.6.0
WSYHTTP Windows v.6.0 v.6.0
WSYINTEG Base v.6.0 v.6.0
WSYSESS Base v.6.0 v.6.0
WSYUSER Base v.6.0 v.6.0
WSYUTIL Base v.6.0 v.6.0
WSYVAL Base v.6.0 v.6.0

After configuring the model, you will be prompted for a location in which the local model will be saved. Specify where you want to save the model.

Finally you must extract from all of the libraries. Use the menu item Exchange->Extract All.

Set Generate and Build Options

To set options for generation and build select the menu item "Tools->Generate and Build...". Then select "Build->Generate and Build Options..." and change the options described below.

Build Directories

In this section press "Set Defaults".

Specify the "Source Directory" and "Target Directory" (normally you will just keep the predefined values).

Press "OK" followed by "Apply Defaults"

Find the "Web HTML source" record in the list and press "Edit". In the "Source Directory" specify where you want the generated HTML templates to be placed.

The default value is the Gen folder, but it is recommended to use another folder, e.g. Gen\Html.

System Definitions

WINNT

Select or add the PC you want to use for generation. Press "Properties".

Prebuilt C++ libraries

Must be checked - and the following must be specified:

Libraries

  Library file Location
Mandatory websyd.lib Located in the folder <Websydian Install Folder>\development\express20\win.
wsexpress.lib
wininet.lib Supplied with Visual Studio; no path required.
ws2_32.lib
Recommended obpt32.lib Supplied with Plex; located in the folder <Plex Install Folder>\Class550\PatternLibs.

Header Directories

  Directory Path
Mandatory <Websydian Install Folder>\development\include

Move DLLs to Release Folder

A number of DLLs are necessary to run the DocumentTemplateGenerator functions used in Websydian Express.

These DLLs can be found in "<Websydian Install Folder>\development\express20\win\Release" and must be copied to the release folder.

As you not yet have generated and built any objects the Release folder does not exists. Create the Release folder as a sub-folder to the Gen folder.