BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

XML-RPC code for BDS2006?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Warrick Wilson
Guest





PostPosted: Thu May 10, 2007 10:02 pm    Post subject: XML-RPC code for BDS2006? Reply with quote



I've spent the last little while hammering on Google and SourceForge and
going back through the newsgroup messages, and I'm still nowhere closer to
my goal.

I'm trying to move to BDS2006 from Delphi 7 Pro. I've got a bunch of
third-party components, etc. that I have to install, and I've been putting
things on as I need them. I had the dxmlrpc package from
http://sourceforge.net/projects/delphixml-rpc/. I'd compiled it and played
with it under Delphi 7, but hadn't really done anything with it. Now I want
to.

So I tried recompiling under BDS2006. There isn't a new version with BDS2006
support that I could find, so I just took my chances. Sure enough, there's a
bunch of $IFDEF stuff that stops me immediately because it only checks up to
VER_150. The suggested approach is "Comment this out and see what happens".
So I did, and I'm getting compile errors - "Undeclared identified" - for
things like TidSSLIOHandlerSocker and TidPeerThread.

So more Google, spelunk my directories, realize that Indy10 is installed,
add some paths to the source of Indy10\Core, Indy10\Protocols, Indy10\System
for the compiler to find the code. I changed the use of
"TidSSLIOHandlerSocket" to "TidSSLHandlerSocketOpenSSL". That got rid of one
error.

But now I'm stuck on figuring out how to tell the compiler about
TidPeerThread. I can't find it anywhere. And Google isn't helping, because
while I can find a pile of pages that talk about using its various methods,
I can't find anything that clues me in on where the actual declaration of
that thing should be.

So - can someone either point me to where TidPeerThread would be declared
for Indy10 to use, or point me to a decent XML-RPC library that will work
with BDS2006?

Thanks.
Back to top
Warrick Wilson
Guest





PostPosted: Thu May 10, 2007 11:00 pm    Post subject: Re: XML-RPC code for BDS2006? Reply with quote



"Warrick Wilson" <warrickw (AT) mercuryonline (DOT) com> wrote in message
news:4643504a$1 (AT) newsgroups (DOT) borland.com...
Quote:

So - can someone either point me to where TidPeerThread would be declared
for Indy10 to use, or point me to a decent XML-RPC library that will work
with BDS2006?

A little more time with Google, a different set of search terms, and some
dumb luck, and I ran across an article that talked about migrating from
Indy9 to Indy10. And that TidPeerThread had disappeared.

So I went back and changed the xmlrpc project files, and my compiler, to use
Indy9. Now it works. At least it compiles. And a very simple example runs.
So I must be getting closer.

If there's other code that people would recommend, I'd be happy to see it.
Thanks.
Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Thu May 10, 2007 11:38 pm    Post subject: Re: XML-RPC code for BDS2006? Reply with quote



"Warrick Wilson" <warrickw (AT) mercuryonline (DOT) com> wrote in message
news:4643504a$1 (AT) newsgroups (DOT) borland.com...

Quote:
But now I'm stuck on figuring out how to tell the compiler
about TidPeerThread.

TIdPeerThread does not exist in Indy 10. It was replaced with
TIdContext.


Gambit
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.