title: How can I use the types WORD, UCHAR, ULONG, USHORT in C++?
body: <p>I have created a Win32 Console Project in Visual Studio 2010. In this project I would like to use an external library with corresponding <em>headers</em>. The header files includes variables declared as</p>
  
  <ul>
  <li>UCHAR</li>
  <li>ULONG</li>
  <li>USHORT</li>
  <li>WORD</li>
  </ul>
  
  <p>stated as above in captitals. Having done very little programming in C++, I don't recognise these types and I do get errors for each line of code containing them:</p>
  
  <pre><code>WORD myVariable;
  </code></pre>
  
  <p>Error:</p>
  
  <blockquote>
    <p>error C2146: syntax error : missing ';' before identifier 'myVariable'</p>
  </blockquote>
  
  <p>This is probably a very simple thing, but would like some help to increase my C++ knowledge. </p>
  
  <p><strong>What do I need to be able to use these types?</strong></p>