Re: CString Array to LPCTSTR *
- From: "Mark Randall" <markyr@xxxxxxxxxxxxxx>
- Date: Tue, 19 Sep 2006 04:24:16 +0100
"Vipin" <Vipin@xxxxxxxxxx> wrote:
What you have done below is highly error prone. As the CString objects go
out of scope the list will have dangling pointers.
The OP stated that he wished to pass it to a function. Provided the call was
contained inside the function, and CStrings were not modified the vector
array would go out of scope at the same time as the CString array
--
- Mark Randall
http://www.temporal-solutions.co.uk
http://www.awportals.com
.
- References:
- Re: CString Array to LPCTSTR *
- From: Mark Randall
- Re: CString Array to LPCTSTR *
- From: Vipin
- Re: CString Array to LPCTSTR *
- Prev by Date: Re: adding BYTE to BYTE
- Next by Date: Re: How to capture window of game ....
- Previous by thread: Re: CString Array to LPCTSTR *
- Next by thread: Re: CString Array to LPCTSTR *
- Index(es):
Relevant Pages
|