Re: new ...delete not working
- From: "Alexander Grigoriev" <alegr@xxxxxxxxxxxxx>
- Date: Thu, 7 Jul 2005 08:30:54 -0700
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]
>
.
- References:
- new ...delete not working
- From: sandSpider
- Re: new ...delete not working
- From: Joseph M . Newcomer
- Re: new ...delete not working
- From: Simon
- Re: new ...delete not working
- From: Alexander Grigoriev
- Re: new ...delete not working
- From: sandSpider
- Re: new ...delete not working
- From: Joseph M . Newcomer
- Re: new ...delete not working
- From: sandSpider
- Re: new ...delete not working
- From: Scott McPhillips [MVP]
- new ...delete not working
- Prev by Date: Group boxes - colours and more
- Next by Date: Re: Undeclared identifier error in file "xlocnum"
- Previous by thread: Re: new ...delete not working
- Next by thread: Re: new ...delete not working
- Index(es):