[wx-dev] #9600: wxURL + wininet: GetSize() always return zero

wxTrac noreply at wxsite.net
Wed Jun 18 06:50:29 PDT 2008


Ticket URL: <http://trac.wxwidgets.org/ticket/9600>

#9600: wxURL + wininet: GetSize() always return zero
----------------------+-----------------------------------------------------
 Reporter:  spicerno  |       Owner:       
     Type:  defect    |      Status:  new  
 Priority:  normal    |   Milestone:       
Component:  wxMSW     |     Version:  2.8.7
 Keywords:            |   Blockedby:       
    Patch:  1         |    Blocking:       
----------------------+-----------------------------------------------------
 Hi,
  I've enabled native support for wininet on MSW with wxUSE_URL_NATIVE.

 I found that GetSize method of wxWinINetInputStream is not implemented,
 and always return 0, even if http headers contain this value.

 ( wxWidgets 2.8.7, on windows )

 The attached patch queries wininet and returns the right value.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/9600>


More information about the wx-dev mailing list