Icon Recompiling the ElevateDB Source Code

In some cases you may want to change the ElevateDB source code and recompile it to incorporate these changes into your application. However, you must first have purchased the ElevateDB client and/or server source code in order to make changes to the source code.

Setting Search Paths
The first thing that you must do is make sure that any search paths, either global to ElevateDB such as the Library Search Path or local to your project, are pointing to the directory or path where the ElevateDB source code was installed. By default this directory or path is:

\<base directory>\<product>\<compiler> <n>\code\source

The <product> component of the path can be one of the following values:

ValueDescription
ElevateDB <type> STD-SRCThis indicates the standard version of ElevateDB with source code
ElevateDB <type> CS-SRCThis indicates the client-server version of ElevateDB with source code

The <type> component of the product name will be either VCL or DAC.

The <compiler> <n> component of the path indicates the development environment in use and the version number of the development environment. For example, for Delphi 6 this component would look like this:

Delphi 6

Setting Compiler Switches
The second thing that must be done is to make sure that the compiler switches that you are using are set properly for ElevateDB. The build system used to compile ElevateDB here at Elevate Software uses the dcc32.exe and dcc64.exe command-line compilers provided with Delphi, C++Builder, Borland Developer Studio, CodeGear RAD Studio, and Embarcadero RAD studio to compile ElevateDB. The following switches are set during compilation and any other switches are assumed to be at their default state for the compiler:

$D-   Debug information off
$L-   Local symbols off

Information These same switches are used to compile all ElevateDB utilities and the ElevateDB Server project also.

A Word of Caution
Making changes to the ElevateDB source code is not an easy task. A mistake in such changes could result in the loss of critical data and Elevate Software cannot be held responsible for any losses incurred from such changes. Occasionally our support staff may send a fix to a customer that owns the source code in order to facilitate a quicker turnaround on a bug report, but it is the responsibility of the customer to weigh the risks of implementing such a change with the possible problems that such a change could bring about. Elevate Software tries very hard to also assist any customers that do want to make changes to the ElevateDB source code for custom purposes and will always make an attempt to guide the customer to a solution that fits their needs and is reliable in operation. In general, however, it is usually recommended that you use the generic configuration facilities provided with ElevateDB as opposed to making direct changes to the source code. Please see the Configuring and Starting the Engine topic for more information.
Image