一个关于GetFullPath 的处理问题
我在做鼠标处理函数时,使用如下代码:
void CMyDlg::OnExecute()
{
// TODO: Add your command handler code here
MessageBox("执行");
HTREEITEM CurrentNode =m_tree.GetSelectedItem(); //取得选择的节点
CString FullPath ;
FullPath=GetFullPath(CurrentNode); //取得节点全目录
COMMAND command;
command.ID=ExecFile; //设置命令为删除文件 //删除文件
command.Iparam=FullPath.LockBuffer(); //将路径加入命令对像
send(server,(char*)&command,sizeof(command),0);
}
但GetFullPath 确出错,error C2065: 'GetFullPath' : undeclared identifier,我想问一下如何处理?及方法?