title: Converting __int64 to long in Windows
body: <p>How to convert __int64 to long in Windows (MSVC8 &amp; MSVC6)?</p>
  
  <p>Will a normal typecasting work? </p>
  
  <p>Also, how about converting long to __int64? If the long is a negative value, will it work?</p>
  
  <p>Note - I am talking of a scenario in which the __int64 variable will always contain a value which will not be more than 32 bits long.</p>