Re: new ...delete not working

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Oh, don't tell please the poor guy to use strcpy. Next time we'll see one of
his creations on Bugtraq in "buffer overflow vulnerabilidy advisory". You
see, he's writing network code.

"Scott McPhillips [MVP]" <org-dot-mvps-at-scottmcp> wrote in message
news:eTSf3fugFHA.328@xxxxxxxxxxxxxxxxxxxxxxx
> sandSpider wrote:
>
>
> If you need further help I strongly suggest you post a short example of
> your wrapper function, instead of trying to describe it. If you turn off
> the UNICODE switches then this kind of function will work:
>
> void MyConnect (LPCTSTR myuser)
> { char muser[100];
> strcpy(muser, myuser);
> Connect(muser);
> }
>
> --
> Scott McPhillips [VC++ MVP]
>


.