Choosing a development environment
When developing in Synergy/DE, you have several choices for your development environment:
- Visual Studio. Synergy DBL Integration for Visual Studio (SDI) enables you to use Visual Studio to develop Synergy applications and libraries. Refer to Synergy .NET and Mobile App Development for information about Synergy .NET applications. See Creating a traditional Synergy project from scratch in Visual Studio below for a very basic outline on how to get started with Visual Studio for traditional Synergy.
- Professional Series Workbench. Professional Series Workbench includes a Synergy DBL–sensitive visual editor that automates code formatting and provides keyword recognition and completion, popup argument lists for Synergy routines, and integration with the Synergy compiler. For more information, refer to Developing Your Application in Workbench in Getting Started with Synergy/DE, as well as Workbench’s online help.
- Some other editor. If you don’t use Visual Studio or the Workbench visual editor, you can use any popular word processing or text editing software (e.g., Microsoft Word or Notepad) or an editor from the command line. The editor must be able to write out the final result as an ASCII text file, with no additional formatting or header information embedded in the file. Most word processing products will generate this type of file if you save your document as text only.
Creating a traditional Synergy project from scratch in Visual Studio
The following instructions explain how to begin developing traditional Synergy applications for Windows desktop and server in Visual Studio. See Using Visual Studio for Traditional Synergy and Visual Studio documentation for more detailed information.
||Once you’ve installed Synergy/DE and SDI, start Visual Studio and select File > New Projects from the Visual Studio menu.
||In the New Project dialog, select Synergy/DE from the Installed Templates area of the dialog, and then select one of the traditional Synergy project templates. You’ll also need to set a few options for the project (name, location, and so forth) in the new Project Dialog.
- Traditional Application (DBR), to create a traditional Synergy program with a single .dbr file.
- Multiple Mainline (DBR), to create a Synergy project that results in multiple traditional Synergy mainline programs—i.e., an application that is distributed as a number of DBRs that are typically linked against several common libraries.
- Executable Library (ELB), to create a linked collection of traditional Synergy routines that can be used in other traditional Synergy ELBs and DBRs.
- Object Library (OLB), to create a traditional Synergy object library (OLB).
||Add Synergy DBL code, references (for example, to OLBs, ELBs, and projects), and other items to your projects.
||Build the Visual Studio solution. Select Build > Build Solution from the Visual Studio menu.
||Use the standard Synergy debugger (not the Visual Studio debugger) to debug your application.