🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
2 messages
2 total messages Started by roladdon Sun, 27 Apr 2008 14:16
The memory block (0x013B5360) [size: 28 bytes] was allocated with SysGetMem
#88
Author: roladdon
Date: Sun, 27 Apr 2008 14:16
35 lines
1758 bytes
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
Re: The memory block (0x013B5360) [size: 28 bytes] was allocated with SysGetMem
#89
Author: roladdon
Date: Sun, 27 Apr 2008 15:04
46 lines
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
>
>
> 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads