Skip to content

Instantly share code, notes, and snippets.

@shorttermmem
Created March 13, 2019 21:02
Show Gist options
  • Save shorttermmem/53fdd1329bdc5af76a7848b059a618f2 to your computer and use it in GitHub Desktop.
Save shorttermmem/53fdd1329bdc5af76a7848b059a618f2 to your computer and use it in GitHub Desktop.
short* p = (short *)&(pDstResource);
std::wstring pointer = L"\t 0x" + std::to_wstring(*p) + L" - ";
OutputDebugStringW(pointer.c_str());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment