Recompile the DLL
Using Make file:
The product includes a make file called make-mc which can be used to recompile the dll. This make file recompiles the product using the command line compiler. Therefore the environment variable must be set properly to access the .NET c# compiler from the command line.
Using Visual Studio:
The product includes the tern.csproj project file which can be loaded into Visual Studio to recompile this product.
Building a new project:
Please follow these steps to build a new Visual Studio project to recompile the tern dll:
Create a new project.
Project Type: Visual c# Project, Templates: Empty Project
Project Name: tern
Now right-click on 'Tern' at the top of the Solution Explorer window,
Select 'Add Existing Items'. Select and add all ter*.cs files. Select and add all ter*.resources files.
Add following references:
System.dll
System.Windows.Forms.dll
System.Drawing.dll
System.data.dll
System.xml.dll
mscorlib.dll
Right click on Tern to select the 'Properties' option. Now change these properties:
General->ObjectType to 'Class Library'
Output File: tern32.dll
Wanring level: 3
Base Address: 0x25840000
Default Namespace:
The Default Namespace must be left blank to properly access the program resources such as icons and bitmap.