BCB6中THashedStringList有问题?
Jim3 2004-02-27 04:16:41 把CodeGuard Validation勾上
结果执行到这一句报错
THashedStringList * pList = new THashedStringList();
错误信息:
Error 00084. 0x130C10 (Thread 0x0B98):
Method called on illegally casted object: Attempt to access 64 byte(s) at
0x00D97420. The 'this' pointer points to heap block 0x00D97420 which is only
60 bytes long.
Call Tree:
0x00401EE6(=Project1.exe:0x01:000EE6) c:\program files\borland\cbuilder6\include\vcl\inifiles.hpp#166
0x00401D6B(=Project1.exe:0x01:000D6B) C:\Program Files\Borland\CBuilder6\Projects\Unit1.cpp#16
0x400F59A4(=vcl60.bpl:0x01:0449A4)
0x00401811(=Project1.exe:0x01:000811) C:\Program Files\Borland\CBuilder6\Projects\Project1.cpp#13
0x3267DB63(=CC3260MT.DLL:0x01:07CB63)
The memory block (0x00D97420) [size: 60 bytes] was allocated with SysGetMem
Call Tree:
0x40002FCF(=rtl60.bpl:0x01:001FCF)
0x00401D6B(=Project1.exe:0x01:000D6B) C:\Program Files\Borland\CBuilder6\Projects\Unit1.cpp#16
0x400F59A4(=vcl60.bpl:0x01:0449A4)
0x00401811(=Project1.exe:0x01:000811) C:\Program Files\Borland\CBuilder6\Projects\Project1.cpp#13
0x3267DB63(=CC3260MT.DLL:0x01:07CB63)
是不是要装什么补丁?在哪里下载?谢谢