Indy 10.6 compiler error with Free Pascal 2.6.0

In IdMessageClient.pas, the FPC compiler shows three errors where Free 
is called on interface types (IIdTextEncoding):

IdMessageClient.pas(717,23) Error: identifier idents no member "Free"
IdMessageClient.pas(762,27) Error: identifier idents no member "Free"
IdMessageClient.pas(780,29) Error: identifier idents no member "Free"

I uncommented the calls to LAnsiEncoding.Free; as a quick fix (but did 
not test for potential side effects or memory leaks).

After this fix the compiler found an error in line 749:

         CheckByteEncoding(VBytes, CharsetToEncoding(FCharset), 

the first argument "VBytes" is undefined, I repplaced VBytes with LBytes 
to fix this.

Michael Justin
4/29/2013 7:38:22 PM
embarcadero.delphi.winsock 1874 articles. 2 followers. Follow

1 Replies

Similar Articles

[PageSpeed] 9
Get it on Google Play
Get it on Apple App Store

Michael wrote:

> In IdMessageClient.pas, the FPC compiler shows three errors where Free
> is called on interface types (IIdTextEncoding):

Good catch.  I have checked in a fix for that.

> I uncommented the calls to LAnsiEncoding.Free; as a quick fix (but did
> not test for potential side effects or memory leaks).

There will not be any memory leak since IIdTextEncoding is a reference counted 
interface that will be freed automatically.

> After this fix the compiler found an error in line 749:


Remy Lebeau (TeamB)
4/29/2013 8:27:23 PM

Similar Artilces:

Indy 10.6 compiler error with Delphi 6
In IdWinsock2.pas, lines 5684 to 5687, some IFDEFs seem to be missing to work around the missing unit64 type in Delphi 6: Here is the 'fixed' code with IFDEFs PeerApplicationAccessTokenHandle : {$IFDEF HAS_UInt64}UInt64{$ELSE}Int64{$ENDIF}; PeerMachineAccessTokenHandle : {$IFDEF HAS_UInt64}UInt64{$ELSE}Int64{$ENDIF}; MmSaId : {$IFDEF HAS_UInt64}UInt64{$ELSE}Int64{$ENDIF}; QmSaId : {$IFDEF HAS_UInt64}UInt64{$ELSE}Int64{$ENDIF}; -- Michael Justin Hello Michael, > In IdWinsock2.pas, lines 5684 to 5687, some IFDEFs seem to be missing > to...

Firefox Reverts back to reinstalls, wipes out user settings
Firefox is turning into a piece of crap. First, there is only 1 profile, the default profile. Second, after the first update wiped out the profile settings (again), the automatic check for updates was turned off. This morning the customized profile settings went MIA again, Firefox decided it was version (per the help, about firefox) and automatically downloaded; even though had already been installed on July 31. It now thinks it is, the home page and other profile settings have been reset, and automatic updates turned off for everyt...

[PATCH] Re: [ID 20000410.010] Unicoss and perl 5.6.0 #2
: Two additional questions about this test: : a) The "use integer" was added recently (between 5.5.660 and 5.6.rc1). : a Why? What exactly is this test trying to exercise? I made the change when I made the bitops to be 64-bit where applicable, because then the integerless version no more worked where sizeof(UV) >= sizeof(NV), because then numbers having too many high-end bits on couln't be stored in a NV. Your patch seems to be okay on such platforms, such as Tru64 (aka DIgital UNIX0. What the test was orginally trying to exercise, I no more exactly rememb...

PXPerl 5.8.6-3 released with Windows binaries of Pugs 6.2.6 and Parrot 0.2.0
Hi,=20 I try to stick to the hectic pace at which Pugs evolves :) --=20 Gr=E9goire P=E9an aka PixiGreg ...

Upgrading from 6.0.1 to 6.0.2 #2
Is it possible to have the Windows 95/98 clients on version 6.0.1 while the server is on 6.0.2? (This is realy a logistics issue as it takes some time for us to get around to all our PCs to do the upgrade). If there are any pitfalls to having the server temporarily on one version and the clients on another, I'd be like to get some thoughts. Thanks. -- Jim Noel Fellowship of Christian Athletes That should work fine. -- David Fishburn Sybase Please only post to the newsgroup Jim Noel wrote in message ... >Is it possible to have the Windows 95/98 clients o...

Discontinuity of 10.6.2 graph posts and the appearance of 10.6.6
Hi, We are upgrading tomorrow the Snow Leopard machines to 10.6.6. As part of that work we are renaming the builder name to "10.6.6" from "10.6.2". I have tested that my changes would allow us to have full functionality on graphs.m.o but I am afraid that we would suddenly have a STOP of the 10.6.2 graph posts. Everything would work except the continuity of the 10.6.2 posts that would be replaced by the 10.6.6 posts. We had a similar case when we updated from Rev2 machines to Rev3 machines which had more OSes and the previous ones just became discontin...

RE: PXPerl 5.8.6-3 released with Windows binaries of Pugs 6.2.6 a nd Parrot 0.2.0
> I try to stick to the hectic pace at which Pugs evolves :) > > is it possible to have an alternative approach of just zip-packed binaries? Also, there is mentioned some Intel compiler for better performance... how it is supported? For the best of my knowledge, only gcc, msvc++ and borland are supported on Win32... am I wrong? On 6/6/05, Konovalov, Vadim <> wrote: > > I try to stick to the hectic pace at which Pugs evolves :) > > > > >=20 > is it possible ...

After ungrading our server to new hardware and version of the service. We have found that our client base has NOT re-registered. 99% of our clients are at version what happens is they never upload the inventory, so cannot be pacthed. i.e || Detection results not found || WinXP-Service Pack 1 || || WinXP || using any other newer client version seems to work fine. This is just a cautionary tail. Dont upgrade the server to version without fisrst upgrading your clients! On the flip side, if you suspect i am doing something wrong let me...

[ID 20000316.012] OK: perl v5.6.0 +v5.6.0-RC2 on sun4-solaris 2.6, Sun C Workshop 4 .2 (UNINSTALLED)
This is a success report for perl from, generated with the help of perlbug 1.27 running under perl v5.6.0. Perl reported to build OK on this system. --- Site configuration information for perl v5.6.0: Configured by fisherm at Thu Mar 16 09:48:45 EST 2000. Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration: Platform: osname=solaris, osvers=2.6, archname=sun4-solaris uname='sunos ctm 5.6 generic_105181-16 sun4u sparc sunw,ultra-30 ' config_args='' hint=recommended, useposix=true, d_sigaction=define use...

PXPerl 5.8.6-2 released with Windows binaries of Pugs 6.2.5 and Parrot 0.2.0
Hello all, I've just released PXPerl 5.8.6-2, with Pugs 6.2.5 and Parrot 0.2.0 for Rules support. I've not tested the Rules support deeply, only some snippets from the Perl 6 Bible (S05); seems to work. Give it a try! Thanks. --=20 Gr=E9goire P=E9an aka PixiGreg ...

migrating from Delphi 6 With Indy 10 to XE7 with Indy 10
I updated the original Indy in D6 to version 10 several years ago. Now I want to migrate my application from D6 to XE7 and would like some feedback on the best route to take. I usually send data using readln and writeln statements. The data is typically XML format. Since migrating to XE7 will include potential unicode data what is the best approach to take when reading and writing data? Will writeln and readln work in these cases or should I be using a different strategy to send unicode data between the tidtcpclient and tidtcpserver applications? al wrote: > I usually send data ...

Indy 10.6 compilation with Delphi 2009
With the current Subversion branch, the Delphi 2009 compiler shows these errors: C:\Delphi\indy-10.6\Lib\System\IdStackWindows.pas(287) Error: E2137 Method 'GetSocketOption' not found in base class C:\Delphi\indy-10.6\Lib\System\IdStackWindows.pas(289) Error: E2137 Method 'SetSocketOption' not found in base class C:\Delphi\indy-10.6\Lib\System\IdStackWindows.pas(322) Fatal: F2063 Could not compile used unit 'IdIDN.pas' TIdStackWindows in System\IdStackWindows.pas, Lines 287 to 290: procedure GetSocketOption(ASocket: TIdStackSocketHandle; ALevel...

Server but Agent
Hello, We have running server version If i open the agent download window, it shows me version But after installing the agent version under "Computers" is If i check this on the workstation in system control it shows me also Whats going on here? What is the current agent version? Thank you in advance for your help UVEX Arbeitsschutz GmbH Andreas Ebert Andreas, for which OS? -- Shaun Pond Hello, it's a W2k SP4 workstation. Regards Andreas I could deploy the version with Patchlink to this W...

Upgrade 6.0.2 to 6.0.3?
I'm currently running Adaptive Server Anywhere Database Engine Version Should I upgrade to 6.0.3, and if so, what is the proper procedure? (I downloaded a 6.0.3 EBF but it warned me that I was about to install 6.0.3 over 6.0.2, and I wasn't sure whether I should proceed.) Thanks, Brian Brane ( Accomplishing the impossible means only the boss will add it to your regular duties. You might want to post this over in the sybase.sqlanywhere groups. On Tue, 10 Oct 2000 10:28:32 -0400, in powersoft.public.powerbuilder.database...

Web resources about - Indy 10.6 compiler error with Free Pascal 2.6.0 - embarcadero.delphi.winsock

Compiler - Wikipedia, the free encyclopedia
... , or external linking . The most common reason for wanting to transform source code is to create an executable program. The name "compiler" ...

Compiler - Wikipedia, the free encyclopedia
"Compile" and "compiling" redirect here. For the software company, see Compile (publisher) . For other uses, see Compilation . This article has ...

Facebook Open-Sources HipHop PHP Compiler Software
Earlier this morning, Facebook officially made their new PHP “compiler,” called HipHop, available as open source software. In the blog post by ...

Art in the Age of Matter Compilers
jurvetson posted a photo: Sheba may be the harbinger of art in the digital age — a mathematical sculptor with digital matter. She manipulates ...

Interpreters and Compilers (Bits and Bytes, Episode 6) - YouTube
This animation explains the difference between interpreters and compilers. It is from Episode 6 of the classic 1983 television series, Bits and ...

Typesafe cofounder forking Scala compiler
The main contributor to the Scala compiler, Paul Phillips, has announced on GitHub that he is forking the compiler to “fix some of the innumerable ...

Does Apple's new developer agreement ban Adobe's Flash-to-iPhone compiler?
Given that any kind of formal truce between Apple and Adobe was essentially blown out of the water by Steve Job's very public slating of Flash ...

Apple seeds devs with Safari 5.2 for Lion, Xcode 4.4 with new LLVM compiler
... to the general public this summer. Among the new features: According to Apple, Xcode 4.4 includes an editor for Collada 3D files, compiler support ...

NVIDIA and Continuum Analytics Announce NumbaPro, A Python CUDA Compiler
... are announcing that they are bringing Python support to CUDA. Specifically, Continuum Analytics’ will be introducing a new Python CUDA compiler, ...

IntelliJ Releases IDEA 12, Brings Improved UI, New Compiler Mode, Android UI Designer, And More
I'm not going to pretend to be a developer here, and I'll openly admit that the bulk of what IDEA 12 does is over my head. However, I do understand ...

Resources last updated: 12/14/2015 2:47:04 AM