john5632 wrote:But first few bytes (10-15) are 0x0
I think that is the key to your problem. The string of characters that will be placed into the szMailContent instance will consist of all characters in your buffer up until the first 0x0 is encountered. If you need your instance to be able to contain 0x0 characters, you will need to use some other class for that.
I am Canadian. [heard in a local bar]
In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]
posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]