title: Linking library without a header file?
body: <p>I'm attempting to link a static library in C++ using Visual Studio 2010. Trouble is, the library (and accompanying header ) have a lot of MFC objects in them. I would like to call one of the library's functions without recompiling my project to include MFC, or recompiling the library to not use MFC. <a href="http://www.codeproject.com/Articles/85391/Microsoft-Visual-C-Static-and-Dynamic-Libraries">This</a> codeproject article seems to imply that this is possible if I define the function to be external in my project (using the "extern" keyword).</p>
  
  <p>However, I've had no luck. No matter what I try, I get an unresolved external symbol error. </p>
  
  <p>Is the article correct? And if not, is such linkage possible any other way? </p>