Saturday, February 04, 2006

Soap Download Progress

I had written an article about how to provide feedback during a SOAP call using a progress bar in Delphi. That article seems to be offline, temporarily. You can now also access this article at:

http://blogs.teamb.com/deepakshenoy/articles/SoapDownloadProgress.aspx

2 Comments:

Blogger Deepak Shenoy said...

Steve,

Call CoInitialize(nil) as the first call in the Execute() method of the thread. And call CoUninitialize() as the last call, preferably in a try/finally block.

Like:
Procedure MyThread.Execute()
begin
CoInitialize(nil);
try
... your thread code to call soap server
finally
CoUninitialize();
end;
end;

You'll need to add ActiveX (or ComObj) to your uses clause.

10:01 PM  
Blogger dnote said...

The link does not work. I found this one:
http://blogs.teamb.com/deepakshenoy/2006/02/04/22983

Is this the article you were referring to?

4:29 AM  

Post a Comment

<< Home