Actually, it's not those lines that cause the problem.
I have a line running immediately after those two instructions:
Window.SendMessage(?"WM_USER", 1, 243, ?"C=Winamp v1.x")
What that's meant to do is update the title bar because my script then reads that information for processing. Being foobar however, maybe that line's not even needed.
Sorry to bother you all!