Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TNMHTTP question...

15 views
Skip to first unread message

Petyo Milotinov

unread,
Jan 23, 2001, 5:23:00 AM1/23/01
to
Hello!
I use Windows 98 and BCB 5.
I use in my program TNMHTTP component. I use just NMHTTP1->Get(...)
method ( and respectively OnSuccess(...) and OnFailure(...)). I have
following problem - when it is connected (it downloads a HTML document),
I can't close my program. I put in my TForm1::Close(...) method
HTTP1->Disconnect(). But the program refuses to exit till
HTTP1->Get(...) finishes its job. What I have to do?
Thanks in advance.

Sincerely,
Petyo Milotinov

Nikolay

unread,
Jan 23, 2001, 5:32:55 AM1/23/01
to
Try using the HTTP1->Abort(); I think that way you will be able to exit your
application.
Nikolay

"Petyo Milotinov" <petyomi...@yahoo.com> wrote in message
news:3A6D5B84...@yahoo.com...

Kudzu - Team Indy

unread,
Jan 23, 2001, 2:40:22 PM1/23/01
to
petyomi...@yahoo.com (Petyo Milotinov) wrote in <3A6D5B84.B285DA45

>following problem - when it is connected (it downloads a HTML document),
>I can't close my program. I put in my TForm1::Close(...) method
>HTTP1->Disconnect(). But the program refuses to exit till

Dump NMHTTP. Its loaded with bugs and is not supported.

Use Indy or ICS instead, they are both free with source.

--
Chad Z. Hower (Kudzu) - Church Hill, TN - Team Indy
"Programming is an art form that fights back"
Forget the Y2K problem, Lets fix the W2K problem.
http://www.pbe.com/Kudzu/ - Free Delphi/CBuilder components and articles

Javier Calleja

unread,
Feb 12, 2001, 3:10:35 AM2/12/01
to
Hi,

> Dump NMHTTP. Its loaded with bugs and is not supported.

How????


> Use Indy or ICS instead, they are both free with source.

Is this component delivered with Builder that I have paid for and has
bugs?

Thaks for the advice.


0 new messages