title: Calling C++ static member functions from C code
body: <p>I have a bunch of C code. I have no intention to convert them into C++ code.</p>
  
  <p>Now, I would like to call some C++ code (I don't mind to modify the C++ code so that they are callable by C code).</p>
  
  <pre><code>class Utils {
  public:
      static void fun();
  }
  
  class Utils2 {
  public:
      static std::wstring fun();
  }
  </code></pre>
  
  <p>If I tend to call them with the following syntax, they wont compiled (I am using VC++ 2008, with C code files with .c extension)</p>
  
  <pre><code>Utils::fun();
  // Opps. How I can access std::wstring in C?
  Utils2::fun();
  </code></pre>
  
  <p>Any suggestion?</p>