www.gnostice.com 

Compiling Shared Packages

Top  Previous  Next

 

Shared packages are common files that are used by eDocEngine and other Gnostice products. They are provided with the eDocEngine installs. During installation of eDocEngine these shared files are installed in the location: <Gnostice Shared InstallDir>/Source/

 

When these shared files are modified they need to be re-compiled.  If these shared files are used by some other Gnostice products like PDFtoolkit, you need to recompiled PDFtoolkit also to activate the changes in the compiled shared packages.

 

List of shared packages supported by eDocEngine are

 

1. Filters Package

2. Compression Package

3. Rtl

4. PDFCrypt

5. PDFFontProcessor

 

 

 

The table below lists the Development Environments folders along with their corresponding project groups for IDEs and versions supported. Replace the place holders in the instructions with appropriate names.

 

Place holder

Delphi 5

Delphi 6

Delphi 7

Delphi 2005

<Folder Name>

D5

D6

D7

D2005

<Project Group>

gtSharedD50.bpg

gtSharedD60.bpg

gtSharedD70.bpg

gtSharedD2005.bdsgroup

 

 

Place holder

BDS 2006

C++Builder 5

C++Builder 6

<Folder Name>

BDS2006

C5

C6

<Project Group>

gtSharedBDS2006.bdsgroup

gtSharedC50.bpg

gtSharedC60.bpg

 

 

 

Before proceeding with compiling:

 

1.Delete any stray files of Gnostice Shared. See the topic 'Stray Files' for detailed list of stray files that need to be deleted.

 

2.Make sure the Setup program has copied all files to the folder of your choice and check if the '<Gnostice Shared InstallDir>\Lib\<Folder Name>' path is included under Tools | Environment Options...| Library | Library Path. Default path is C:\Program Files\Gnostice\Shared\Lib\<Folder Name>

 

Compiling shared packages:

 

To compile Shared Packages follow the below mentioned steps.

 

1.Open '<Gnostice Shared InstallDir><Project Group>' in <Folder Name>
2.Choose 'View | Project Manager' on the main menu to view the included packages.

3. Select 'Project | Build All Projects' on the main menu.

4.Choose 'File | Close All' on the main menu.

5. For C++Builder only: Copy the "*.hpp" files in all subdirectories of "<Gnostice Shared Install Dir>\Source\" to the directory "<Gnostice Shared Install Dir>\Lib\<Folder Name>".

6. For Delphi 2005 only: Run the batch file from the location "<Gnostice Shared Install Dir>\Source\gtSharedD2005.bat".

7. For BDS 2006 only: Run the batch file from the location "<Gnostice Shared Install Dir>\Source\gtSharedBDS2006.bat".

 

 

The shared package is now compiled. After compiling the shared packages you must also compile eDocEngine. Refer topics in section "Overview - Re-Compiling/Re-Installing". Also if you had installed any Additionals, you need to recoompile them too. Refer topics in section "Overview - Installing / Re-Compiling eDocEngine Additionals".

 

Note: If installed any other Gnostice products for example, PDFtoolkit on your system and if they are also referring to the same shared files, then you need to recompile PDFtoolkit also to activate the changes in the shared packages.