Indy 10 / Tiburon / Latest SVN / Delphi 2010 Warnings

Hi,

When compiling Indy 10 (Tiburon) latest SVN under Delphi 2010, a few warning 
are popping up. No real problem here, just a fyi.

Checking project dependencies...
Building IndySystem140.dproj (Debug configuration)
Building IndyCore140.dproj (Debug configuration)
[DCC Warning] IdThread.pas(336): W1000 Symbol 'Suspend' is deprecated
[DCC Warning] IdThread.pas(473): W1000 Symbol 'Resume' is deprecated
[DCC Warning] IdSchedulerOfThreadPool.pas(166): W1000 Symbol 'Resume' is 
deprecated
[DCC Warning] IdSchedulerOfThreadPool.pas(184): W1000 Symbol 'Resume' is 
deprecated
Building IndyProtocols140.dproj (Debug configuration)
[DCC Warning] IdCookie.pas(323): W1000 Symbol 'IsValidIP' is deprecated: 
'Use IsValidIPv4() or the TIdIPAddress class'
[DCC Warning] IdDNSCommon.pas(687): W1000 Symbol 'IsValidIP' is deprecated: 
'Use IsValidIPv4() or the TIdIPAddress class'
[DCC Warning] IdDNSServer.pas(1332): W1000 Symbol 'IsValidIP' is deprecated: 
'Use IsValidIPv4() or the TIdIPAddress class'
[DCC Warning] IdDNSServer.pas(2835): W1000 Symbol 'IsValidIP' is deprecated: 
'Use IsValidIPv4() or the TIdIPAddress class'
[DCC Warning] IdDNSServer.pas(3679): W1000 Symbol 'IsValidIP' is deprecated: 
'Use IsValidIPv4() or the TIdIPAddress class'
[DCC Warning] IndyProtocols140.dpk(269): W1033 Unit 'IdHashIntf' implicitly 
imported into package 'IndyProtocols140'
Success
Elapsed time: 00:00:13.9

JEFF
0
Jean
11/9/2009 7:22:56 AM
embarcadero.delphi.winsock 1874 articles. 2 followers. Follow

3 Replies
1219 Views

Similar Articles

[PageSpeed] 4

"Jean-Fabien Connault" <cycocrew@users.sourceforge.net> wrote in message news:181288@forums.codegear.com...

> [DCC Warning] IdThread.pas(336): W1000 Symbol 'Suspend' is deprecated
> [DCC Warning] IdThread.pas(473): W1000 Symbol 'Resume' is deprecated
> [DCC Warning] IdSchedulerOfThreadPool.pas(166): W1000 Symbol 'Resume'
> is deprecated
> [DCC Warning] IdSchedulerOfThreadPool.pas(184): W1000 Symbol 'Resume'
> is deprecated

Indy has not been updated to account for D2010's changes to the TThread class yet.

> [DCC Warning] IdCookie.pas(323): W1000 Symbol 'IsValidIP' is deprecated: 
> 'Use IsValidIPv4() or the TIdIPAddress class'

IsValidIP() originally supported IPv4 addresses only.  Since it did not support IPv6, I decided to deprecate it and add an IsValidIPv4() function to replace it, to make that distinction clearer.  However, after reviewing how IsValidIP() was actually being used, I changed my mind.  Rather than deprecating IsValidIP(), I have removed IsValidIPv4() and updating IsValidIP() to support both IPv4 and IPv6 addresses instead.

> [DCC Warning] IndyProtocols140.dpk(269): W1033 Unit 'IdHashIntf'
> implicitly imported into package 'IndyProtocols140'

IdHashIntf.pas is a new unit that was recently written.  It apparently hasn't been added to the package files yet.

-- 
Remy Lebeau (TeamB)
0
Remy
11/9/2009 5:51:24 PM
Remy,

Thanks for the answers.

> Indy has not been updated to account for D2010's changes to the TThread 
> class yet.

Let me know if I can contribute here.

> IsValidIP() originally supported IPv4 addresses only.  Since it did not 
> support IPv6, I decided to deprecate it and add an IsValidIPv4() function 
> to replace it, to make that distinction clearer.  However, after reviewing 
> how IsValidIP() was actually being used, I changed my mind.  Rather than 
> deprecating IsValidIP(), I have removed IsValidIPv4() and updating 
> IsValidIP() to support both IPv4 and IPv6 addresses instead.

Looks like you fixed this in latest SVN. Good.

> IdHashIntf.pas is a new unit that was recently written.  It apparently 
> hasn't been added to the package files yet.

I've updated IndyProtocols140 by adding IdHashIntf.

Let me know if you want the files for Delphi 2010 to include them in SVN.

JEFF
0
Jean
11/10/2009 9:15:18 AM
"Jean-Fabien Connault" <cycocrew@users.sourceforge.net> wrote in message news:181681@forums.codegear.com...

> I've updated IndyProtocols140 by adding IdHashIntf.
> 
> Let me know if you want the files for Delphi 2010 to include them in SVN.

Fire away.

-- 
Remy Lebeau (TeamB)
0
Remy
11/10/2009 5:23:13 PM
Reply:

Similar Artilces:

Converting Delphi 2007 Indy 10.2.3 to Delphi 2009 Indy 10.5.5 [Edit]
Hello, I am currently attempting to port over a Delphi 2007 project that uses Indy 10.2.3 (very successfully) to Delphi 2009 and Indy 10.5.5 (I just got the latest development build this morning). I think I am running into an encoding issue, but am not sure. Specifically, IDHTTP with SSL calls an old CGI and the CGI returns a .zip file and I then save it to the disk. In 2007 and before this worked perfectly. In 2009, it is not. Here is the examples of the 2 different results (though cut way short in the post) I am getting back: 2007: 'PK'#3#4#$14#0#0#0#8#0'rLQ9žrPb€'#0...

Indy 10 with Delphi 2010
I have been trying to figure out why my shift away from Delphi 6 and Indy 10 suddenly causes problems with my application. Indy developed further and is now in a release > 10.5 (Tiburon)...and the relase shipped with Delphi 2010 is buggy with repsect to using idFTP and downloading binary-files ex. ZIP.files. Everything worked fine in Delphi 6. I have now been reading the good answers given on this forum about shifting to Tiburon. But as I see it its stil in a transistion (nightly updates). And the insllation is for the very few... My question is there a version of Indy stil down...

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 ...

OpenSSL Libraries for Indy 10 in Delphi 2010
Hi All, I am not able to load OpenSSL libraries (libeay32.dll, ssleay32.dll) in Delphi 2010 using Indy 10. Below is the list of functions not getting load, DES_set_odd_parity DES_set_key DES_ecb_encrypt CRYPTO_cleanup_all_ex_data SSL_COMP_get_compression_methods EVP_MD_CTX_init EVP_DigestInit_ex EVP_DigestFinal_ex EVP_MD_CTX_cleanup please advice. Also can anyone share the link to download latest/compatible OpenSSL libraries. Thanks. -- Thanks, Nilesh (Delphi Developer) <Nilesh Ghade> wrote in message news:286582@forums.embarcadero.com... > I am not a...

Delphi XE / Delphi 2010
Hello! I noticed that Embarcadero® Delphi® 2010 Version is not on the list of products on Embarcadero page. Or is it still possible to buy it? Will RAD Studio XE compile programs written in Delphi 2010 without problems.? Thanks. Am 13.09.2010 09:04, schrieb Petra Nemec: > Will RAD Studio XE compile programs written in Delphi 2010 without problems.? As always you will probably have to recreate the projects as the import is still a bit -- special. Christian Hello! Does anybody know if it is still possible to get a Delphi2010 trial version (if yes where)? ...

from delphi 6 to delphi 2010
Hi. It is possible, with component RX, dxforumlibrary, InfoPower3000Pro, StringAlignGrid. Accepts communication BDE. Thank by comments. excequiel arostica wrote: >Hi. > It is possible, with component RX, dxforumlibrary, >InfoPower3000Pro, StringAlignGrid. Accepts communication BDE. > >Thank by comments. Rx is dead and sources are taken over by jcl/jvcl. I dont know about the rest of the components and i have no experiences with bde over the last 9 years. excequiel arostica wrote: > Hi. > It is possible, with component RX, dxforumlibrary,...

Indy 10, TIdWebDAV & ownCloud in Delphi 2010 [Edit]
Hi everybody! It's the first time I try to develop an application that uses an ownCloud repository. As a first try, I put down a TIdWebDav component on a form, called connect method to server and then disconnect. All right up to here. In few words, what I have to do is: - Connect and authenticate (basic authentication, username and password, even in clear) - Get files/folders list (even subfolders of course) - Download a file by full name - Upload a file to specified position - Disconnect Unfortunately, I can't find any help on the web about TIdWebDAV's methods, or e...

Price of upgrade from Delphi 2010 Professional to Delphi 2010 Enterprise?
It's weird, but I could not find the answer on so simple question not in Embarcadero Shop, neither by the forum search. For example, the shop info about Enterprise upgrade says: The Upgrade product is available to registered owners of 2006-2009 versions, blah-blah... So, if I'm Delphi 2010 Professional user, I even not eligible for upgrade? I have to buy a new version of Enterprise??? But if I'm Delphi 2006 Professional user, I can upgrade. Please clarify this nonsense for me. Exact question is in the subject. Thanks! Hi Dmitri, > It's weird, but I could not...

delphi 7 Indy 9 and Indy 10
Hi, I can upgrade to indy 10 in delphi 7. But I have discover that indy 9 and Indy 10 have some different properties, so i had to change my old programs that were made in indy 9 to upgrade it to new version, but it is a long work. So I want to know if it is possible to install in the same delphi 7 both versions indy 10 and indy 9. I have tried to do it but i received a error message: Cannot load package 'IndySystem70'. It contains unit 'IdWinSock2', which is also contained in package 'Indy70'. Some can give me ideas or a link to read how to install both versi...

HOW TO INSTALL Indy 10.5.7 in Delphi 2007 IDe from * Tiburon.zip * distribu
Date 25/05/2010 By Davide Spano e-mail davide.spano@armfield.co.uk ********************************************************************************** HOW TO INSTALL Indy 10.5.7 in Delphi 2007 IDe from * Tiburon.zip * distribution ********************************************************************************** - 0 What version of Indy I have in my IDE? To find out.. Create a new VCL project with a form and drag whatever of the components that are in the IDE Indy tool palette section (TIdTCPClient or other) then right click and select About Internet Dir...

Delphi 2007
Hi, I'm trying to install the latest build of Indy 10. I downloaded the following zip from "http://indy.fulgan.com/ZIP": *Monday, October 13, 2008 11:32 PM 6697544 indy10.zip* What I did with the zip: 1. I unzipped indy10.zip. 2. I removed my current Indy 10 from Delphi 2007 3. I opened Indy100Net.dpk and compiled it. I got the following 2 errors: [DCC Error] Indy100Net.dpk(4): E1030 Invalid compiler directive: 'ALIGN' [DCC Error] Indy100Net.dpk(30): E2202 Required package 'Borland.Delphi' not found package Indy100Net; {$R *.res} *{$...

Migrating From Delphi 7 to Delphi 2010
We did not know which forum was the best for this question. We have been wanting to migrate from Delphi 7 to a later version for years but it appears to be a daunting task. We first looked at D2006 and that was a radical new world. We bought D2010 a couple of years ago and not done much with it because there are so many parts to our applications. We have done a few new applications in D2010 and they seem to work okay. D2010 has not been impressive, perhaps because of the strangeness compared to D7. Is is possible for us to do a phased sort of migration where we do a form at a time? ...

Migrate from Delphi 2007 to Delphi 2010
Hi All, Thanks in advance for your help. Below is my query, Currently I am using Delphi 2007 and i want to migrate to Delphi 2010. 1. What all things i need to take care while doing this? 2. What all third party components will get impacted? 3. Any known issues in Delphi 2010 which might impact the cause? 4. Any changes in database operation required as i am using Oracle? Hope I have post this query under correct category. If not sorry for the trouble and could you please suggest me the correct category for this? Looking forward for your response. Have a great day. Th...

Delphi 2010 professional to Delphi XE3
Hello, Sorry for this is not right place to ask this question: I have Delphi 2010 professional version, I like to upgrade to Delphi XE3 Am eligible to upgrade or no not? I like answer from Delphi sales team. I couldn’t find email to ask them. Thanks Mike Thomas <> wrote in news:506459@forums.embarcadero.com: > Hello, > > Sorry for this is not right place to ask this question: > I have Delphi 2010 professional version, I like to upgrade to Delphi > XE3 Am eligible to upgrade or no not? I like answer from Delphi > sales team. I couldn’t find emai...

Web resources about - Indy 10 / Tiburon / Latest SVN / Delphi 2010 Warnings - embarcadero.delphi.winsock

Ballistic Missile Early Warning System - Wikipedia, the free encyclopedia
Site I- A United States Air Force facility at Thule Air Base , Greenland , ( 76°34′08″N 68°19′05″W  /  76.569°N 68.318°W  / 76.569; -68.318 ...

WARNING: Zeus Trojan Using Facebook Login Pages As Bait To Target Credit-Card Info
The Zeus Trojan is on the prowl again, hungry for credit-card information and other personal data, and Facebook is being used as the bait. continued… ...

Warning to Queensland motorists ahead of cycling danger period
Emergency doctors are pleading with motorists ahead of what is traditionally one of the most dangerous times to be a cyclist in Queensland.

Houses lost in Crib Point fire which sprang up without warning
One house has been lost and at least four others were damaged by an out-of-control bushfire that threatened coastal towns on the Mornington Peninsula. ...

Perth weather: Severe storm warning cancelled, but rain and thunder to continue
Wild weather across Perth appears to be easing and warnings of severe thunderstorms across the city overnight have now been cancelled.

Mornington Peninsula fire: Warning downgraded after one home destroyed at Crib Point
Firefighters stop the spread of a grassfire that engulfed a home at Crib Point on Victoria's Mornington Peninsula.

Extreme cold warning issued — yet again — for southern Manitoba
For the third day in a row, southern Manitoba is under an extreme cold weather warning.

Court agrees, company can fire employee for Yahoo messaging after fair warning
(credit: Phil Whitehouse ) The European Court of Human Rights (ECHR) has ruled that companies are allowed to monitor employees' Internet activities, ...

Analog Devices Halted, Falls 3% on Warning Mobile is Weaker
Shares of chip maker Analog Devices (ADI) are down $1.31, or 2.6%, at $49.19, after being briefly halted, as the company warned its revenue for ...

Why Trigger Warnings Exist: Live-blogging a Post-Traumatic Stress Disorder Attack
Recently, trigger warnings have come under fire for coddling millennials - my generation. I want to explain, using my current triggered state ...

Resources last updated: 1/20/2016 6:50:33 AM