title: Missing Symbols at link stage compiling under VS 2010
body: <p>I'm attempting to build and fix UCL RAT for running on windows compiled with VS 2010.
  I've compiled TCL 8.5.12 successfully under Visual studio 2010 and the main RAT executable.</p>
  
  <p>RAT uses TCL to drive it's user interface.</p>
  
  <p>The problem arose when I started to modify RAT to embed the TCL code normally stored as a string into a zip file instead using zvfs. The intention is to eventually embed the zip at the end of the executable to minimise disk usage and the number of distribution files.</p>
  
  <p>So I downloaded some code for zvfs from the TOBE project to see if I could use it to make the process quicker (specifically the zvfs.c file that is basically the zvfs extension to tcl)</p>
  
  <p>This required Zlib in order to run which built and integrated fine. </p>
  
  <p>But the problem is the zvfs code doesn't link properly with TCL. It passes compilation but has the following errors upon linking:</p>
  
  <pre><code>2&gt;zvfs.obj : error LNK2019: unresolved external symbol _TclOpenFileChannelInsertProc referenced in function _Zvfs_Init
  2&gt;zvfs.obj : error LNK2019: unresolved external symbol _TclStatInsertProc referenced in function _Zvfs_Init
  2&gt;zvfs.obj : error LNK2019: unresolved external symbol _TclAccessInsertProc referenced in function _Zvfs_Init
  </code></pre>
  
  <p>not being as experienced with c/c++ and the linker as I could be this has become somewhat of a road block in fixing RAT for more modern versions of windows.</p>
  
  <p>The version of RAT is the latest from the UCL subversion server, Zlib is at version 1.2.7 if this has any impact.</p>
  
  <p>Cheers</p>