-
Notifications
You must be signed in to change notification settings - Fork 3
Building the Sample Environment on Windows
This sample includes both Workbench and Visual Studio based development environments. If you wish to use use Workbench, you should start by opening the workspace file SQLReplicaiton.vpw
. If you wish to use Visual Studio, you should start by opening the solution file SqlReplication.sln
. Both of these environments contain several projects, as follows:
This project contains subroutines, functions, and classes that are used both by the sample application and by the replicator program. Note that the main code that is used to interact with the relational database (DepartmentSqlIO.dbl and EmployeeSqlIO.dbl) is in this library. The two "SqlIO" files were generated by CodeGen.
This project contains the replicator program as well as several subroutines and functions that it uses.
This project contains several utility programs.
One of the utility programs is named ReplicatorMenu and can be used to interact with and control a running replicator process.
Another of the utility programs is named EmployeeMaintenance and can be used to maintain the contents of the employee data file that this environment is configured to replicate to the SQL database.
- Start Workbench and open the workspace called SQLReplicaiton.vpw via the "Project > Open Workspace..." menu option.
- Make sure you can see the "Projects" window. If it is not active then make it active, if it is not displayed then display it by selecting "View -> Toolbars" from the menu and checking the "Projects" option.
- Right-click on the library.vpj project and select "Set Active Project"
- From the main menu, select "Build > Build" to build the library project
- Right-click on the replicator.vpj project and select "Set Active Project"
- From the main menu select "Build > Build" to build the replicator program.
- Start Visual Studio and open the solution called SQLReplicaiton.sln.
- From the Build menu, select "Rebuild Solution".
- Introduction
- Getting Started
- Downloading the Code
- Setting up the Environment
- Setting up SQL Server
- Setting the Database Connect String
- Database Commit Modes
- Setting up the Synergy OpenNET Server
- Setting up the FileService Server
- Configuring the Replicator Environment
- Running Multiple Instances
- Changing Field Data Types
- Excluding Fields From Replication
- Excluding Keys from Replication
- Building the Sample Environment
- Running the Sample Programs
- On Windows
- On UNIX or Linux
- On OpenVMS
- FileService