vc6的new弹出access violation
vc6:
因为复制数据到剪贴板(自定义的格式)。大部分复制时弹出错误:NTDLL.DLL 0xc0000005 access violation.
上传图片失败,只有把图片ocr出来。
perator new(unsigned int. int. const char*.int)
operator new(unsigned int. const char*.int)
CString::AIIocBuffer(intJ CString::AIIocBeforeWrite(int) CString::AssignCopy(int. const char")
CString::operator=(const char ")
ITEM::SplitKeyName(CString &) ITEM::ExistedO
ITEM::GetIcon CSnaplistCtrl::OnGetdispinfo(tagNMHDR *.long ")
就是给CString的一个变量赋值,错误发生到了CString里面去了。有时不是CString里面,而是我的代码的new,都是分配的很小的内存,出错时程序管理器显示程序一共才用30多M内存。
不是说vc6的new 失败就返回0,为什么会程序崩溃。debug和release都出错。vc6的设置linker设置的是stack,heap应该说分配几十兆,几百兆都不会失败吧。电脑内存有4G的喔。
谁告诉我怎么回事?
因为复制数据到剪贴板(自定义的格式)。大部分复制时弹出错误:NTDLL.DLL 0xc0000005 access violation.
上传图片失败,只有把图片ocr出来。
perator new(unsigned int. int. const char*.int)
operator new(unsigned int. const char*.int)
CString::AIIocBuffer(intJ CString::AIIocBeforeWrite(int) CString::AssignCopy(int. const char")
CString::operator=(const char ")
ITEM::SplitKeyName(CString &) ITEM::ExistedO
ITEM::GetIcon CSnaplistCtrl::OnGetdispinfo(tagNMHDR *.long ")
就是给CString的一个变量赋值,错误发生到了CString里面去了。有时不是CString里面,而是我的代码的new,都是分配的很小的内存,出错时程序管理器显示程序一共才用30多M内存。
不是说vc6的new 失败就返回0,为什么会程序崩溃。debug和release都出错。vc6的设置linker设置的是stack,heap应该说分配几十兆,几百兆都不会失败吧。电脑内存有4G的喔。
谁告诉我怎么回事?
...全文
相关推荐
弹出错误 access violation at address 004096da write of address 00401000 解决
Access Violation(非法访问),General Protection Fault(一般保护性错误)或者Invalid Page Fault(无效页面错误),虽然说法不一样,但本质上总是由同一种错误引起的。Access Violation常常在计算机用户运行的程序试图存取未被指定使用的存储区时遇到。
【Bug】 Access Violation exception&First-chance exception
http://blog.csdn.net/m_star_jy_sy/article/details/5578998
运行程序提示access violation at address的解决方法.docx
运行程序提示access violation at address的解决方法.docx
Access violation at address故障的解决方法 win7图文解决方案
Access violation at address故障的解决方法,图文说明,帮您轻松解决^_^
Access violation at address 00000000.Read of adress 00000000解决方法
Access violation at address 00000000.Read of adress 00000000之类错误的解决方法


