It is not clear why are you creating the sendBuffer in the heap rather than on the stack, but if you do so - please, don't forget to :before returning!Code:delete [] sendBuffer;
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 12 of 12
Threaded View
|
Click Here to Expand Forum to Full Width |