Missing Visual Studio (C/C++) Runtime Libraries

TBarCode SDK requires the Common Runtime Libraries from Visual Studio (exact version see below). These runtime files are installed by the TBarCode setup program automatically.

These libraries are not part of a Windows standard installation but it is possible to install these libraries from an extra package from Microsoft (if not already outdated):

TBarCode V11.15+
Microsoft Visual C++ 2019-2022 x86 Redistributable Package (32 bit)
Microsoft Visual C++ 2019-2022 x64 Redistributable Package (64 bit)
Earlier Versions
TBarCode V11.3+: Microsoft Visual C++ 2015 Redistributable Package x86 / Microsoft Visual C++ 2015 x64 Redistributable Package
TBarCode V11.0+: Microsoft Visual C++ 2010 SP1 Redistributable Package
TBarCode V9.3+: Microsoft Visual C++ 2008 SP1 Redistributable Package
TBarCode V7+: Microsoft Visual C++ 2005 SP1 Redistributable Package

For more information regarding redistributing TBarCode, see section Redistribution in the Developer Manual.

Setup Stops with Error Code 0x80072eff

The installer stops and you see the following error in the log file:

Error 0x80072eff: Failed to send request to URL: https://www.tec-it.com/forward/vc2015x86redist-14.0.24215.1

The reason is that you don't have access to internet or not enough permissions to download separate installation packages. The setup wants to download some dependencies currently not found on your system.

How to solve

Download and install the following package from Microsoft, then run the SDK setup again:

How to Create a Silent Setup?

TBarCode V11.3+

Use the standard EXE setup program, which is available for public download. You can select the feature you want to install with specific feature options - e.g. if you want to install only the TBarCode OCX component in quiet mode run the setup this way:

TBarCode.exe /quiet FeatOCX=1 FeatNET=0 FeatDLL=0 FeatSamples=0 FeatDocu=0

Optional: add parameter InstallFolder=C:\MyInstallDir to install into a specific directory. You can also suppress installation of the VC++ Runtime with InstallVCRuntime=0

Please run the EXE with option -? to see all available command line options.

TBarCode.exe -?
The setup program contains both the 32 and 64 Bit components, which are selected automatically depending on the target Windows version. By default the setup downloads the Visual C++ Redistributable from Microsoft and installs it if not present on the target system. Alternatively you can copy the vc_redist.x86.exe and vc_redist.x64.exe (correct version!) into the setup path if there is no download connection.

TBarCode V8, V9, V10, V11 - 11.2

Use the standard MSI setup package, which is available for public download. You can select the feature you want to install through the ADDLOCAL parameter. E.g. if you want to install only the TBarCode OCX component run the setup this way.

msiexec /i TBarCode_Setup.msi ADDLOCAL=FeatTBarCode,FeatOCX /qn

Optional: add parameter INSTALLDIR=C:\MyInstallDir for installation into a specific directory.
Other features: FeatDLL, FeatNET


You can suppress the feedback page during uninstall with the NO_UI property set to 0.

msiexec /x TBarCode_Setup.msi /qb NO_UI=0
The Windows Installer (MSI) must be pre-installed on the target system.

TBarCode V7

Use the MSI package provided on request by our support team. To run the setup in silent mode use the following parameter:

TBarCode_Setup.msi  /quiet

TBarCode .NET: System.DllNotFoundException on Windows x64

If TBarCode9.dll cannot be found (required by the TECIT.TBarCode.dll assembly) try the following:

  • Add the installation path of TBarCode9.dll to your PATH environment variable.
  • Make sure that the Visual Studio Runtime DLLs are installed (see FAQ above).
  • Using TBarCode 32-Bit: Make sure that your application is compiled for the x86 platform (or at least is running in a 32 Bit process). You can verify your binary with the corflags utility from Visual Studio.
  • Make sure that you have installed all .NET service packs (SP1 for .NET 2.0 x64 required)

TBarCode OCX: No Object Available, RegSvr32 Failed

No Object available

An ActiveX® Control has to be registered within the Windows operating system, before it can be used. That's especially important for distributing the OCX file within your applications. Registering can be either done by the installer (e.g. Install-Shield...) or manually by calling RegSvr32.exe. Registering an OCX file needs Admin rights!

Admin Rights

If the ActiveX® Control wasn't installed properly: make sure that your current user has admin-rights (or logged in as admin) on your machine. Then run the setup program again.

RegSvr32 - DLL Register Server failed (0x80020009)

Starting with Microsoft Windows 2000 you need Administrator privileges to register an ActiveX® control in the Windows registry. This is also important if you redistribute the OCX within your application!

Microsoft .NET 3.5 Framework Download

Download the .NET Framework 3.5 redistributables from this location:

Download Microsoft .NET Framework 3.5 Service pack 1 (Full Package)