Re: CString Array to LPCTSTR *
- From: "Ajay Kalra" <ajaykalra@xxxxxxxxx>
- Date: 18 Sep 2006 11:45:06 -0700
Saul775 wrote:
Is it possible to convert a CString array to a 2D array of TSTR, so that I
might pass it into a function?
For example...
CString words[] = {"Hello", "How", "Are", "You"};
void MyFunc(LPCTSTR *words, int nSize)
{
...
}
Saul775
Use std::vector or CStringArray.
---
Ajay
.
- Follow-Ups:
- Re: CString Array to LPCTSTR *
- From: Vipin
- Re: CString Array to LPCTSTR *
- Prev by Date: Re: converting VARIANT to CString
- Next by Date: Re: "ATL COM AppWizard" vs. "MFC ActiveX ControlWizard"
- Previous by thread: Re: CString Array to LPCTSTR *
- Next by thread: Re: CString Array to LPCTSTR *
- Index(es):