How to Install and Deploy CutGLib

Version 5.1.2 (October 29, 2024)

CutGLib is C# .Net 4.5 assembly, compiled with "Any CPU" setting. It supports Windows 32/64 bit.

You can freely download CutGLib and use it on your PC for a trial period of 30 days. The trial version is a fully-functional version with the following restriction:

  • Maximum hundred (100) stock sizes.
  • Maximum thousand (1,000) parts sizes.
  • Trial period of 30 days.

When 30-days trial period expires the calculation function will be locked. To unlock it you should purchase a license key from us.


Step-by-Step Installation Instructions:

1. Download CutGLib.zip to your computer.

2. Unzip the setup.exe file from the CutGLib.zip to your computer.

3. You must be logged in as a computer administrator.

4. Right mouse click on setup.exe and select Run as administrator.
Note: If you don’t have option Run as administrator you can just double click on setup.exe or select Open.
However some antivirus software can block CutGLib from running if you installed it as regular user.

5. Proceed with the installation.

The default installation folder "C:\Program Files\CutGLib" contains all files.
There is one core library file CutGLib.dll. This file is sufficient for using the library in any application. The file should be placed at either the application or "Windows\System32" directories.

The installation package also contains several example of the library usage in different programming language. These examples are in "C:\Program Files\CutGLib\Examples" directory.

There are two possible ways to use the library:

  1. .Net Assembly. This is suitable for the application development under .Net Framework (MS Visual Studio .Net).
  2. COM Object. This is the way for Win32 development tools like Visual Basic, Visual C++, Borland Delphi and other.
To use the library as the COM object it should be registered using regasm.exe application that is part of Microsoft .Net Framework. The command line is the following:
regasm.exe CutGLib.dll /tlb:CutGLib.tlb /codebase

How to deploy CutGLib to the user's computer.

When you deploy the library to the client computer you should do the following:

  1. Copy CutGLib.dll to the same folder where your application installed or to "Windows\System32" folder. In that case your application will be able to find CutGLib.dll and use it.
  2. If you want to use CutGLib via COM then you should run the followig command: regasm.exe CutGLib.dll /tlb:CutGLib.tlb /codebase
    This registers CutGLib.dll as COM object to make it accessible from the unmanaged programming environments such as Visual Basic, Visual C++ or Delphi.