Great minds...:wave:
I thought about using _strdup/StrDup but I wanted to keep my original code generic c. In your test function, isn't there a memory leak as you are not freeing the memory...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: 2kaud Search: Search took 0.41 seconds.
Results 1 to 2 of 2
|
Click Here to Expand Forum to Full Width |