COMTAY installation
Unpack the COMTAY archive to a preferred location.
Go to the unpacked COMTAY directory.
The directory contains the
how_to_PAS.html file for Delphi and Free Pascal users and the
how_to_CPP.html file for C++ users.
Click on it for details on installation and more.
The information below contains only the installation steps.
Show the COMTAY directory structure
Hide directory structure
[COMTAY directory]
│
├──[bin] Installation tools
│ │
│ ├──[linux]
│ │
│ └──[windows]
│
│
├──[doc] Documentation
│ │
│ ├──[cpp] C++
│ │
│ └──[pas] Object Pascal
│
│
├──[examples] Example projects
│ │
│ ├──[cpp]
│ │ │
│ │ ├──[CodeBlocks]
│ │ │
│ │ ├──[common] Common C++ project files
│ │ │
│ │ └──[VisualStudio]
│ │
│ └──[pas]
│ │
│ ├──[common] Common Object Pascal project files
│ │
│ ├──[Delphi]
│ │
│ └──[Lazarus]
│
│
├──[include] Sources
│ │
│ ├──[cpp] C++
│ │
│ └──[pas] Object Pascal
│
│
│
└──[lib] COMTAY shared libraries
│
├──[linux]
│ │
│ ├──[32]
│ │
│ └──[64]
│
└──[windows]
│
├──[32]
│
└──[64]
On Windows
If you don't trust an unsigned installer in Windows, use a
Manual installation.
Auto installation
- Go to the bin\windows subdirectory of the COMTAY directory.
- Launch the comtay-setup.exe file.
- Ignore the unknown app warning (Do you want to allow this app from unknown publisher to make changes to your device?):
Click Yes.
- Select the preferred IDE: Delphi or Lazarus.
- Checkbox: Prepare source code with tooltip comments.
This applies to Delphi and Lazarus only.
-
If checked (recommended), the sources will be prepared with special comments for tooltips.
For Delphi, these will be XML-comments for Help Insight.
For Lazarus, these will be conventional comments.
-
If unchecked, the sources will contain no special comments.
- Checkbox: Install the library to the system directory.
-
If checked (recommended), COMTAY shared libraries for the debug and release configurations will be installed into the Windows system directory.
When installing on 64-bit Windows, the corresponding COMTAY libraries will also be installed in the 32-bit Windows system directory to support such applications.
-
If unchecked, COMTAY shared libraries are not installed.
In this case, the path to the library files must be specified in every user project.
- Click the Accept settings button.
- Accept the EULA to start the installation.
- Follow the instructions.
Manual installation
- Go to the bin\windows subdirectory of the COMTAY directory.
- This section applies to Delphi and Lazarus only.
To prepare sources for your preferred IDE with or without tooltip-comments, run the appropriate batch file:
- with_delphi_comments.bat - the source code will contain XML-comments for Delphi Help Insight.
- with_lazarus_comments.bat - the source code will contain comments for Lazarus.
- without_comments.bat - the source code will not contain tooltip-comments. This applies to both Delphi and Lazarus.
- Install shared libraries to the system directories:
- On 32-bit Windows:
- Copy the comtay.dll and comtay_dbg.dll files from the lib\windows\32 subdirectory of the COMTAY directory to the \Windows\System32 directory.
- On 64-bit Windows:
- Copy the comtay.dll and comtay_dbg.dll files from the lib\windows\64 subdirectory of the COMTAY directory to the \Windows\System32 directory.
- Copy the comtay.dll and comtay_dbg.dll files from the lib\windows\32 subdirectory of the COMTAY directory to the \Windows\SysWow64 directory.
If COMTAY shared libraries will not be installed, the path to the library files must be specified in every user project.
On Linux