Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Stripey
  • Order by date
  1. Stripey

    Convert Binary Data to Hex

    How can I convert a buffer of binary data (unsigned char) to hex for displaying? Stripey
  2. Stripey

    Process a String in Increments?

    So, something like this (assuming szMessage has data in it)? How would you go about padding the data? Thanks for the reply. Stripey LPTSTR szMessage; PVOID pvBuffer; int nSize; nSize = ((strlen(szMessage) / 8) + (strlen(szMessage) % 8) ? 1 : 0) * 8; pvBuffer = VirtualAlloc(NULL, nAmount...
  3. Stripey

    Process a String in Increments?

    I have an MFC application that allows a user to input a string of up to 400 charachters. I need to then allocate memory in a buffer to do some processing on the data (encryption). How can I ensure that the size of the buffer is divisible by 8 and still allocate the memory dynamically? Thanks...

Part and Inventory Search

Back
Top