Although it has not the wisest implementation (see the previous remarks), your function works in VS6.0 as well.
Probably, you are seeing "garbage" string in watch window in a UNICODE build.
To fix...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: ovidiucucu Search: Search took 0.24 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |