ERangeError with message 'CheckSpace' 这个是什么问题【Delphi】

来源:百度知道 编辑:UC知道 时间:2024/06/07 15:08:56
错误信息为Project mytest.exe raise exception class ERangeError with message 'CheckSpace'

Delphi2009下编译时出现,这个是什么问题,怎样解决
详细情况
http://zhidao.baidu.com/question/93671868.html

本题的回答者,也将得到http://zhidao.baidu.com/question/93671868.html的200分

应该把具体代码贴出来,, 不知道是否是在操作blog字段 ..

我google 了一把 ERangeError + CheckSpace ,只有一个页面,还打不开,看了快照,有如下解释:

Invoke "Buffer.Append(Param.AsBytes)" will always raise ERangeError exception with message 'CheckSpace'.

The reason is simple. Buffer is allocated 4 bytes of space but we later append 8 bytes of data to it and thus the ERangeError was raised.

buffer 只允许4个字节,这里填入8个字节,所以抛出ErangeError 错误.

供参考....

快照地址: http://203.208.37.104/search?q=cache:Q5R9pkGu-DoJ:www.codegear.com/article/39392+ERangeError+checkspace&cd=2&hl=zh-CN&ct=clnk&gl=cn&client=firefox-a&st_usg=ALhdy2-kqhFhQJRrC9dRvTfz6ZXR3cbFBA

很明显是提交的时候报错了,可能是你输入的数据有问题,或者是字段问题,或者数据库默认值问题等等.
post的时候还没提交的数据库只是提交到控