title: Unicode, char pointers and wcslen
body: <p>I've been trying to use the cpw library for some graphics things. I got it set up, and I seem to be having a problem compiling.
    Namely, in a string header it provides support for unicode via</p>
  
  <pre><code>#if defined(UNICODE) | defined(_UNICODE)
  #define altstrlen wstrlen
  #else
  #define altstrlen strlen
  </code></pre>
  
  <p>Now, there's no such thing as wstrlen on Windows afaik, so I tried changing that to wcslen, but now it gives me and error because it tried to convert a char * to a wchar_t *. I'm kinda scared that if I just had it use strlen either way, something else would screw up.</p>
  
  <p>What do you think stackoverflow?</p>