Author Topic: How to redistribute WCL C++ Edition with your application?  (Read 1051 times)

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3055
  • Karma: 1000
    • Soft Service Company
How to redistribute WCL C++ Edition with your application?
« on: December 04, 2015, 07:04:36 AM »
DO NOT REDISTRIBUTE WCL PACKAGE WITH YOUR APPLICATION!

You should redistribute the following files together with your application which uses Wireless Communication Library:

wcl.dll

This file must be copied to your application's folder. Do not copy this file into Windows SYSTEM folder.

You have to redistribute this only if your application dynamically linked with WCL. If you use static linking then you do not need to redistribute this file.

C++ Redistributable files

If you application use dynamic linking with WCL then you must redistribute the following files. In case of static linking redistribution of the following files depends on your build environment configuration.

Visual Studio 2005

(WCL_INSTALL_DIR)\Redist\(PLATFORM)\2005 folder:

Microsoft.VC80.CRT.manifest
msvcm80.dll
msvcp80.dll
msvcr80.dll
wcl.dll (see above)

Visual Studio 2008

(WCL_INSTALL_DIR)\Redist\(PLATFORM)\2008 folder:

Microsoft.VC90.CRT.manifest
msvcm90.dll
msvcp90.dll
msvcr90.dll
wcl.dll (see above)

Visual Studio 2010

(WCL_INSTALL_DIR)\Redist\(PLATFORM)\2010 folder:

msvcp100.dll
msvcr100.dll
wcl.dll (see above)

Visual Studio 2012

(WCL_INSTALL_DIR)\Redist\(PLATFORM)\2012 folder:

msvcp110.dll
msvcr110.dll
vccorlib110.dll
wcl.dll (see above)

Visual Studio 2013

(WCL_INSTALL_DIR)\Redist\(PLATFORM)\2013 folder:

msvcp120.dll
msvcr120.dll
vccorlib120.dll
wcl.dll (see above)

Visual Studio 2015

(WCL_INSTALL_DIR)\Redist\(PLATFORM)\2013 folder:

concrt140.dll
msvcp140.dll
vccorlib140.dll
vcruntime140.dll
wcl.dll (see above)

Those files must be copied to your application folder. Do not copy those files to the Windows SYSTEM folder.

MFC redistributable

If you application uses MFC then depending on your application build environment configuration you may need to redistribute MFC redistributable files (refer to MFC redistribution requirements).

wcl2wbt.dll

This DLL from (WCL_INSTALL_DIR)\Redist\redist folder has been built with a latest WidComm SDK but it may have some issues when WidComm is used with Microsoft Bluetooth Drivers.

The wc2wbt.dll from (WCL_INSTALL_DIR)\Redist\old folder has been built with an old WidComm SDK and it is recommended to use with Proximity Marketing applications. But this DLL (from the old folder) has issue with pairing with Bluetooth 2.1 enabled devices.

The DLL must be copied to your application's folder. Also it is possible to copy this DLL to Windows SYSTEM folder.

Build Environment

WCL as DLL

Multi-threaded DLL (/MD)
Use MFC in a Shared DLL (Only for MFC based applications)

WCL as Static Library

Multi-threaded (/MT)
Use MFC in a Static Library (Only for MFC based applications)
Define _WCL_STATIC_ as preprocessor defines.

Path to wcl.lib

Path to wcl.lib file (required for build) defined in wclAPI.h header file.

 

Sitemap 1 2 3 4 5 6 7 8 9