Article View: borland.public.cppbuilder.webservices.soap
Article #48Re: C++ builder 6 and web service
From: Jean-Marie Babet
Date: Sun, 13 Jul 2008 19:36
Date: Sun, 13 Jul 2008 19:36
37 lines
2346 bytes
2346 bytes
Hello, > I've modified has you say, but some question. > [1] > You said "...and then build with that .pas file or with an .obj created from that .pas...". What means? I must include that .pas in my project and then build all, or what? Yes, you can add the .pas file to your project. This is the fastest approach. However, if you have lots of projects, it might be easier to rebuild the .hpp and .obj file after you've applied the change, then insert the .obj in the .lib. The latter will be useful in cases where you have the libraries checked in and you want to update everyone. > [2] > You said "...In your case you can have them as global variables that you can set as needed...". What means? I must set these variables in file SOAPHTTPTrans.pas before build my project or where? Yes, I was suggesting that you declare the 3 variables [_xxxxTimeout] as global variables in the interface section of SOAPHTTPTrans.pas. When you rebuild the file, SOAPHTTPTrans.hpp will contain these 3 variables as extern. That way your C++ code can set them to something > 0 so the calls to WinInet are executed at runtime. Feel free to email me a copy of you SOAPHTTPTrans.pas and I'll be happy to modify the file to illustrate. I can probably find a copy of CBuilder6 around and rebuild the .hpp and .obj for you too. Cheers, Bruneau PS: I can be reached at bbabet at codegear dot net.
Technical Details
Message-ID:
<487a579b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!feeder.erje.net!news.isoc.lu!newsgroups.borland.com!not-for-mailReferences:
<486b804a$1@newsgroups.borland.com> <486d2fe2$1@newsgroups.borland.com> <486e3743$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11096a,a85ea4775287740b X-Google-Attributes: gid11096a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Jean-Marie Babet" <bbabet@borland.com> Newsgroups: borland.public.cppbuilder.webservices.soap References: <486b804a$1@newsgroups.borland.com> <486d2fe2$1@newsgroups.borland.com> <486e3743$1@newsgroups.borland.com> Subject: Re: C++ builder 6 and web service Date: Sun, 13 Jul 2008 12:36:05 -0700 Lines: 39 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 10.143.51.162 Message-ID: <487a579b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1215977371 10.143.51.162 (13 Jul 2008 12:29:31 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!feeder.erje.net!news.isoc.lu!newsgroups.borland.com!not-for-mail