Hi,
see this code:
#include <vector>
using namespace std;
int main()
{
Editcontrol(_T("Haroon"),_T("Rizwan"),_T("Noor"));
}
void Editcontrol(CString prop1,CString prop2,CString prop3)
{
vector<CString> v;
v.push_back(prop1);
v.push_back(prop2);
v.push_back(prop3);
}
I tested it and it works very well.