在VirtualTreeview中,我將數據存儲在PVirtualNodes中。我在我的應用程序中遇到過幾次訪問衝突(通常是「地址00000000」),他們大多數人(我實際上總是敢說)發生在我使用Node Data進行操作時。 然而,事實是,我宣佈我的東西&使用這樣的: // DUMMY CODE - Not written or tested in IDE
var
MyNode : PVir
問候 下面的代碼給出了一個錯誤: "Project prKlanten.exe reaised exception class EAccessviolation with message 'acces violation at address 004d7767 in module 'prKlanten.exe'.
Read of address 0000005C."
procedure Tf
我在我的主要結束時遇到了一個奇怪的訪問衝突,其原因是我遇到了一些困難。 Xdebug的 // TEMPLATE FUNCTION _DebugHeapDelete
template<class _Ty>
void __CLRCALL_OR_CDECL _DebugHeapDelete(_Ty *_Ptr)
{ // delete from the debug CRT hea
我想從我的字符串的開頭刪除每個字符,這不是一個字母。 但是,當字符串中只有非字母字符(如「!!」或「?!?」)時,它會吐出一個Access Violation! 這裏是我的代碼: // The Log(); is a routine that adds stuff to my log memo.
Log('Begin Parse');
while not IsLetter(Pa