Nils, thanks for your help.
I have one more question: while there are the 'In TestWithThread', '1', '2' and '3' messages, you should see the avast Quick Scanner window below the message boxes - is this the case?
Also, what exactly are you trying to scan? A single file? A directory? Try it with some larger directory (e.g. your Windows directory) so that you don't miss that dialog (otherwise it may just flash on the screen, too fast to notice...).
Thanks again, your help is very appreciated.
Vlk
Edit: I've also updated the patched ashQuick.exe on the server, so if you could please re-download the file and test it with the new version it would be great (I've removed the '1', '2' and '3' messages since we already know the code is getting to that point). Thanks