Article View: borland.public.cppbuilder.internet.socket
Article #89Re: The memory block (0x013B5360) [size: 28 bytes] was allocated with SysGetMem
From: roladdon
Date: Sun, 27 Apr 2008 15:04
Date: Sun, 27 Apr 2008 15:04
46 lines
2155 bytes
2155 bytes
I forgot to say:
The error happens when the prog. is Run(F9) and closed
Roland
"roladdon" <roladdon@PutMyServerHere.ca> wrote in message
news:48148ab1$1@newsgroups.borland.com...
> CodeGearT C++Builder๏ฟฝ 2007 Version 11.0.2902.10471
> Indy 10 March 2008 build.
>
> 1) New Project:
> CodGuard: all on
> Linking: Dynamic RTL off
>
> Add following line to MainForm:
>
> __fastcall TForm3::Test(void) //this function is not called from
> anywhere.
> {
> TIdTrivialFTP *FTP;
> FTP->Put("", "");
> }
> Error: The memory block (0x013B5360) [size: 28 bytes] was allocated with
> SysGetMem
>
> 2) Linking: Dynamic RTL ON, Error is gone
>
> 3) Linking: Dynamic RTL OFF
> and
> comment the line FTP->Put("", ""); out
>
> -> The Error is gone
> ______________________________________________
> the function Test() is not called from anywhere.
>
> FTP->Put("", ""); -> causes error
> FTP->Connect(); -> No error
>
> The error seems to hapen by just inclusion of the Put()
>
> thanks
>
> Roland
>
>
>
Technical Details
Message-ID:
<481495e1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<48148ab1$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,d170f6ad7d73201d X-Google-Attributes: gid11508e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Reply-To: "roladdon" <roladdon@PutMyServerHere.ca> From: "roladdon" <roladdon@PutMyServerHere.ca> Newsgroups: borland.public.cppbuilder.internet.socket References: <48148ab1$1@newsgroups.borland.com> Subject: Re: The memory block (0x013B5360) [size: 28 bytes] was allocated with SysGetMem Date: Sun, 27 Apr 2008 11:04:01 -0400 Lines: 48 Organization: AddOn X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 65.94.49.43 Message-ID: <481495e1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1209308641 65.94.49.43 (27 Apr 2008 08:04:01 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail