• 6562阅读
  • 0回复

【提问】QDataStream读写文件的问题 [复制链接]

上一主题 下一主题
离线litq
 
只看楼主 倒序阅读 楼主  发表于: 2006-03-08
控制台爆出如下问题
In file tools\qglist.cpp, line 1025: Out of memory


------------
我写入文件中的数据是同一种数据(若干个)

如果只读写文件中的一个数据,虽然控制台也爆出错,但不影响程序正常运行

如果继续读文件中第二个数据

则有异常,程序跳转到

CopyUp:
    test   edi,11b       ;U - destination dword aligned?
    jnz   short CopyLeadUp ;V - if we are not dword aligned already, align

    shr   ecx,2       ;U - shift down to dword count
    and   edx,11b       ;V - trailing byte count

    cmp   ecx,8       ;U - test if small enough for unwind copy
    jb     short CopyUnwindUp ;V - if so, then jump

    rep   movsd       ;N - move all of our dwords

    jmp   dword ptr TrailUpVec[edx*4] ;N - process trailing bytes


出错地点为rep   movsd       ;N - move all of our dwords这句话
请大家帮忙处理了
谢谢
业务电话(北京) 电话 13240326107
快速回复
限100 字节
 
上一个 下一个