MattVonFat #1 Thanks, it seems to be working ok now. Not only that i've also learnt about making decls for the WinAPI, so this has been a good learning experience.Thanks again