Hexadecimal Representation of an object?

Hi,

I would like to get the hexadecimal representation of an object and display it as a String, how would this been done using C++ .Net (VS 2003)

Thanks!



Answer this question

Hexadecimal Representation of an object?

  • Moistly

    Yes, thats what I want.
  • Andrew Grammenos

    Would anyone know I have searched the net though can't find anythin Anythin in .Net which allows me to do this
  • WHMoweryJr

    The hexadecimal representation of an object, as in the a dump of the bytes the object is made up of

  • Wallace_

    Well yes, there are ways to do this through the marshalling classes. I've only done it in VS2005 (.Net 2.0), though. I haven't got 2003 installed now, so I can't really be of much help with an approach for that platform. My suggestion, however, is that you try searching for serializing solutions. Those are often made up by functions which retrieve the binary representation of an object.



  • Donaghy

    Many thanks einaros for your reply and time I will look into what you said.

    Thanks!!


  • eriawan

    Would doing this work

     

    Convert::ToInt32(objectname, 16);

     

    Thanks


  • Hexadecimal Representation of an object?