title: How to use a HMODULE as a DWORD / Hex value? (C++)
body: <p>I have a HMODULE value that equals: 00007FF695820000 and I need it to be 
  0x7FF695820000 but because the value is the correct hex value converting it to hex just makes it an even bigger hex value.</p>
  
  <p>Does anyone know a way I can simply add 0x to the start or make my ReadProcessMemory think this is a hex value not a decimal value.</p>
  
  <p>The reason it's a HMODULE variable is because I'm using it to get the base address for Solitare.exe but currently can't read addresses from it because my ReadProcessMemory just converts it to hex first so reads the wrong address.</p>