Article View: borland.public.cppbuilder.internet.socket
Article #1044Code Guard error when using Indy9
From: Colin B Maharaj
Date: Thu, 07 Jun 2007 12:14
Date: Thu, 07 Jun 2007 12:14
35 lines
2453 bytes
2453 bytes
The problem is happening in Readable.
my code is like this....
//--------------------------------------------------
TCPClient->WriteBuffer(k, strlen(k));
Sleep(20);
bool ret = TCPClient->Socket->Readable(Timeout);
//--------------------------------------------------
as you can tell k is a character array.
7C812A5B C:\WINDOWS\system32\kernel32.dll
00535313 ___raiseDebuggerException
005363C2 ____ExceptionHandler
0052E07D __ExceptionHandler
7C90378B ntdll.dll
7C90EAFA ntdll.dll
0CD17126 C:\PROGRA~1\BORLAND\CBUILD~1\BIN\CG32.DLL
0CD17482 C:\PROGRA~1\BORLAND\CBUILD~1\BIN\CG32.DLL
0CD015E1 C:\PROGRA~1\BORLAND\CBUILD~1\BIN\CG32.DLL
0CD01691 C:\PROGRA~1\BORLAND\CBUILD~1\BIN\CG32.DLL
004A7865 System::__linkproc__ ReallocMem(P=????, NewSize=????)
004852F5 Classes::TList::Grow(Self=:00EDBE34)
00485084 Classes::TList::Add(Self=:00EDBE34, Item=:00000684)
004670DB IdSocketHandle::_16415
004671B5 Idsockethandle::TIdSocketHandle::Readable
00465F80 Idiohandlersocket::TIdIOHandlerSocket::Readable
00421289 TCT2KPoll::RawData(this=:00F2BD1C, off=132451, SiteID=1)
0045160A TSite::PollRecordsAndRawData(this=:01529850, SiteID=1)
0044EC84 TSite::PollRecords(this=:01529850, SiteID=1)
0043F6D3 TPollSite::ExecuteTCP(this=:00F27234)
0043F1A5 TPollSite::Execute(this=:00F27234)
0048EA39 Classes::ThreadProc(Thread=:00F27234)
004A959E System::ThreadWrapper(Parameter=:00F27278)
7C80B683 C:\WINDOWS\system32\kernel32.dll
Technical Details
Message-ID:
<4667f6b5$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,d2409e19f81077a6,start X-Google-Attributes: gid11508e,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 07 Jun 2007 08:14:43 -0400 From: Colin B Maharaj <noreply@myhost.com> User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Code Guard error when using Indy9 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 000747-3, 06/06/2007), Outbound message X-Antivirus-Status: Clean NNTP-Posting-Host: 201.238.100.49 Message-ID: <4667f6b5$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1181218485 201.238.100.49 (7 Jun 2007 05:14:45 -0700) Lines: 35 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail