Thank you for your answer Fordy. m_Proc is just only object.
Now I can do that by using
Code:
CStringArray info;
info.Copy(m_Proc.Getinfo(m_arrFileName, m_arrPassword);
But I want to ask another question that I write Getinfo function to return CStringArray.
Code:
CStringArray CCrypt::Getinfo(const CStringArray& fileName, const CStringArray& password)
{
CStringArray privkeyinfo;
..
..
..
return privkeyinfo;
}
But when I compile there are error message show
Code:
error C2558: class 'CStringArray' : no copy constructor available
Do you know how to solve my problem?