(no subject)
Sep. 2nd, 2004 04:15 ama Winamp plugin I’ve been using for a while now decided to randomly break. as in, it started crashing 5 seconds after hitting Play, every time. so, naturally, I decided to poke around in the (happily available) source.
the verdict? how the hell did it work in the first place? O_o I mean, it’s C++—the Microsoft Visual variety—and even I can see serious problems with it. but oddly enough, the part that it’s actually barfing on is a simple call to
I suspect it may be related to the almost complete lack of URL encoding involved. (seriously: it replaces spaces with “%20” and that’s it.) was kinda hard to look at with no internet, though.
the verdict? how the hell did it work in the first place? O_o I mean, it’s C++—the Microsoft Visual variety—and even I can see serious problems with it. but oddly enough, the part that it’s actually barfing on is a simple call to
CHttpFile::SendRequest(). I tried throwing a try block around it to get more info, but the exception type it’s supposed to throw is apparently not present. or at least not completely present. -_-I suspect it may be related to the almost complete lack of URL encoding involved. (seriously: it replaces spaces with “%20” and that’s it.) was kinda hard to look at with no internet, though.