描述:
我的程序是在VB端调用VC写的COM,当重复(第三次或以后)执行其中的一个接口时,会出错:
异常如下:
First-chance exception in 工程1.exe (MSADCE.DLL): 0xC0000005: Access Violation.
First-chance exception in 工程1.exe (KERNEL32.DLL): 0xC000008F: Float Inexact Result.
HEAP[]: Invalid Address specified to RtlSizeHeap( 130000, 174478 )
HEAP[]: Invalid Address specified to RtlFreeHeap( 130000, 174478 )
在线等待,急需解决,谢谢!
解决方案1:
First-chance exception in 工程1.exe (MSADCE.DLL): 0xC0000005: Access Violation.
指针有问题
First-chance exception in 工程1.exe (KERNEL32.DLL): 0xC000008F: Float Inexact Result. ?没遇到过,不过估计也和指针操作有关
HEAP[]: Invalid Address specified to RtlSizeHeap( 130000, 174478 )
HEAP[]: Invalid Address specified to RtlFreeHeap( 130000, 174478 )
内存使用问题
没办法,只有慢慢找