Problem building own DLL after updating Visual Studio 2017


I used to build my own DLL which is loaded by tcl script and was always working fine until today.
I updated my Visual Studio 2017 and getting the following error.

Severity Code Description Project File Line Suppression State
Error C1047 The object or library file ‘C:\Tcl64\lib\tclstub86.lib’ was created with an older compiler than other objects; rebuild old objects and libraries hidapi_tcl D:\Projects\meta-designs\SW\hidapi-tcl\LINK 1

  1. How can this be fixed without rebuilding tclstub86.lib?
  2. Is there a way to have the library in question built by a newer compiler?

Thank you

Hi Daniel,

Thanks for writing!

Can you provide more details? Where is ActiveTcl involved in all of this?