编了一个基于对话框的套接字mfc程序,vs2015,可以正常调试运行,我把跟这个程序有关的整个文件夹,从一个位置拷贝到了同一台电脑的另一个位置,调试时报错,"Debug Assertion Failed!"请问大神是什么原因?
解决方案 »
- mfc 你们用对话框多还是视类文档多?
- 求助,半透明显示视图
- 请大家帮忙看一下!在vc下创建水晶报表后,除了在m_View.Create中可以设定水晶报表的大小,还可以在哪里调整水晶报表的大小?
- 集合s信息过滤构架中,要注意什么问题?不够一直加分
- 急啊。我就剩10分了。大家也来帮我啊关于VC读取EXCEL
- 结合一个开源项目学线程开发:
- 请教图像如何转换为asc码
- 进来看看!
- 一个值得关注和急需解决的问题
- 进程内, 一个exe文件, 多个dll文件 的 公共变量问题
- MFC变成中ADO连接数据库时msado15.tli中的GetCollect函数出错
- vc6 win32 loadbitmap()定义宏遇到的问题
The SetCurrentDirectory function changes the current directory for the current process. BOOL SetCurrentDirectory(
LPCTSTR lpPathName // pointer to name of new current directory
);
Parameters
lpPathName
Pointer to a null-terminated string that specifies the path to the new current directory. This parameter may be a relative path or a fully qualified path. In either case, the fully qualified path of the specified directory is calculated and stored as the current directory.
Return Values
If the function succeeds, the return value is nonzero.If the function fails, the return value is zero. To get extended error information, call GetLastError. Res
Each process has a single current directory made up of two parts: A disk designator that is either a drive letter followed by a colon, or a server name and share name (\\servername\sharename)
A directory on the disk designator
QuickInfo
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in winbase.h.
Import Library: Use kernel32.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT.See Also
File I/O Overview, File Functions, GetCurrentDirectory