Re: URLAccess kURLDisplayProgressFlag issue
Re: URLAccess kURLDisplayProgressFlag issue
- Subject: Re: URLAccess kURLDisplayProgressFlag issue
- From: Patrick Perroud <email@hidden>
- Date: Sat, 3 May 2003 15:58:49 +0200
On samedi, mai 3, 2003, at 14:34 Europe/Paris, Richard wrote:
URLOpen has to be used differently from the other methods,
as it is an asynchronous call. This means you have to read the
returned data in the call-back function which you have not supplied
in your example. I use URLOpen myself and that I use my own
progress indicator supplied with data via the call-back.
My code does set kURLDipslayProgressFlag and I still
do _not_ get the Apple supplied progress window.
However I would have to recheck the docs again to make
sure I am not violating some other precondition for
it to work.
>
What QA 1140 exactly says is:
*Alternatively, starting with Mac OS X 10.2, you can use the
kURLDisplayProgressFlag when calling URLOpen in order to display a
progress dialog.*
Nothing less but nothing more: I suppose that's not a theoretical
statement but was implemented and tested for real by ADC's folk.
In short - that ADC could easily show some code that would work to
expose that alternative to third party developers.
A real alternative would be a fix of bug 2719169 in URL Access but
that's probably asking far too much.
Best regards
Patrick Perroud
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Patrick Perroud SARL
41 rue Barrault 75013 Paris France
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
tel./fax +33-1-45652500
mobile 06 89 99 57 09
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://www.pperroud.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
48: 49' N 2: 20' E
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.