title: Unresolved External Symbol (again)
body: <p>I have no idea why the following gives me: *"error LNK2001: unresolved external symbol 'struct Win32Vars_t win32' (?win32@@3UWin32Vars_t@@A)"* If I start a new project and create this header file it compiles fine. I'm also creating another struct similar to this and it also compiles just fine (although instead of "extern -variablename-" it's a static. Should this not work?</p>
  
  <p>win_local.h</p>
  
  <pre><code>#ifndef __WIN_LOCAL_H__
  #define __WIN_LOCAL_H__
  
  #include &lt;windows.h&gt;
  
  void System_CreateConsole(void);
  
  typedef struct {
  
      HWND hWnd;
      HINSTANCE hInstance;
  
  } Win32Vars_t;
  
  extern Win32Vars_t win32;
  
  #endif
  </code></pre>
  
  <p>What it with the cryptic @@3U message in parenthesis?</p>
  
  <p>Sorry for creating yet another post about unresolved externals. I did do some reading before hand and tried various things. From what I read, this is C way of doing things but should still work in C++. And yes, .h file is set to compile C/C++.</p>