Hi folks, I heard somewhere that passing of wchar_t across VS2005 and VC6 is quite dangerous. I tried to delete memory which was allocated from VC6 dll from VS2008 exe, and it raised assertion. After referring http://stackoverflow.com/questions/1175330/bad-pointer-or-link-issue-when-creating-wstring-from-vc6-dll, i added one func in VC6 dll which shall be used to delete memory. And it solved my issue.
But is there any difference between internal sturcture of whcar_t between VS2008 and VC6.. Please help..
Rgrds, Jinto