头大 搞了一天了所有分都在这了【 error C2248: “CObject:CObject”: 无法访问 private 成员(在“CObject”类中声】,该怎么解决

头大 搞了一天了所有分都在这了【 error C2248: “CObject::CObject”: 无法访问 private 成员(在“CObject”类中声】
int  CCtrlCon::FindPathFile(CString Path,vector <CString> a)
{
CFileFind finder;
CString sName;
BOOL bk = finder.FindFile(_T(Path));
int i=0;
while(bk)
{
bk = finder.FindNextFile();
sName=finder.GetFileName();                     //sName为遍历到的名字
a.push_back(sName);
i++;
//AfxMessageBox(sName);
}
return i;
}//这个函数 想遍历出某个路径下的所有文件名字 不包括文件夹 Path是路径                                     

void CCtrlCon::UpFileComBox(CString Path,CComboBox m)
{
vector <CString> m_cbx;
int n=FindPathFile(Path,m_cbx);
for (int i=0;i<n;i++)
{
m.AddString(m_cbx[i]);
}
}//这个函数 想把遍历出来的名字显示到MFC 的COMBOX 中。
我把上面这两个函数 放到同一个类当中 CCtrlCon 这个类写了些通用的函数 
然后我新建了个MFC 用 CCtrlCon 定义了个 Config  

Config.UpFileComBox(Path,m_combox1); 
 error C2248: “CObject::CObject”: 无法访问 private 成员(在“CObject”类中声明)
1>        v:\program files\microsoft visual studio 9.0\vc\atlmfc\include\afx.h(561) : 参见“CObject::CObject”的声明
1>        v:\program files\microsoft visual studio 9.0\vc\atlmfc\include\afx.h(532) : 参见“CObject”的声明

为什么在新建的MFC中调用 CCtrlCon中的UpFileComBox 会出错? 调用CCtrlCon其他函数就没事
 CCtrlCon 中的两个函数 都是public的。。 求指导错在哪里了。贴个实现 获取路径下所有文件的文件名字包括扩展名 再把文件名字更新到COMBOX中的代码 也行 最好带注解。。所有分都在这了 在线求指导。
------解决思路----------------------
CObject类,以及继承自它的所有MFC控件类,应该都是不能够复制的
void CCtrlCon::UpFileComBox(CString Path,CComboBox m),这里要用CComboBox * pInputComboBox或者CComboBox & InputComboBox
------解决思路----------------------
参数改为引用或指针
int  CCtrlCon::FindPathFile(CString &Path,vector <CString> &a)
void CCtrlCon::UpFileComBox(CString &Path,CComboBox &m)

int  CCtrlCon::FindPathFile(CString *Path,vector <CString> *a)
void CCtrlCon::UpFileComBox(CString *Path,CComboBox *m)

CString Path可不使用引用或指针