> ## Documentation Index
> Fetch the complete documentation index at: https://support.taltech.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Application throws an error on Windows 7 “unable to get the window handle…”

> Fix the "unable to get the window handle" error that some applications show when they use the Barcode ActiveX control.

In certain environments, running an application that utilizes the TAL Barcode ActiveX control may throw the following error:

```
 	Unable to get the window handle for the 'AxTALBarCd' control.
	Windowless ActiveX controls are not supported.
```

If you encounter this error, please try the following (as a system Administrator) ( **Note**: If you are using Visual Studio and attempting to insert an ActiveX control in a WPF application, please review [Host an ActiveX control in a Visual Studio 2010 WPF app](https://support.taltech.com/barcode-activex/activex-wpf-vs-2010.md)).

1. Copy the following files into the Windows folder (System32 or other common directory). This folder needs to be accessible to all users.
   * TALBARCD.OCX
   * All TAL\*.DLL files (perform a system-wide search for TAL\*.DLL and copy all resulting files)
   * TALBC.LIC license file
2. Use the RegSvr32 tool to register the TALBARCD.OCX file
   * More information about using RegSvr32 can be found on Microsoft's knowledge base:

     [http://support.microsoft.com/kb/249873](http://support.microsoft.com/kb/249873)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.