I have the following piece of code:
void *body = "testcode";
wchar_t *d_Body = SysAllocStringLen(NULL,255);
But when I convert d_Body again to char * and print its value to file,the value printed is junk.
Can I solve the above problem?