Problem with mozilla
Alexander Opitz <opitz-MXccdyw32Q/[email protected]> Wed, 7 Apr 2004 18:56:32 +0200
| Newsgroups | gmane.comp.graphics.mng.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, after I'd problems with my tree and gcc 3.4 *damn* I've a new clean tree and reaplied my latest patch ... but now it do not working any more. But after reading through some classes ... it shouldn't have worked before :-/ My Problem is following. I get called from Mozilla OnDataAvailable with a stream and a count of new data. Normally I should read ALL available data but it is (at the moment and I think will never change) ok to read parts from stream. But it is not ok to read nothing. I start the mng with mng_readdisplay() so it can also be displayed while loading the rest of file. If OnDataAvailable call me, I call mng_display_resume ... but sometimes it returns MNG_NEEDTIMERWAIT and do not read data and the OnDataAvailable breaks us, cause we hadn't readed data. I could make a new buffer ... but that's not nice (and was removed on my last patches). But for this problem I need a good hint or changes to libmng to stream all available data into the libmng buffer. Greetings Alex// -- Send the message body "help" to [email protected]