>Just a guess, with those API functions you need to declare the function first. If you look up the function in the MSDN help, you'll see an example
Yes, as I wrote in the other message, but what again I can't understand I never had that code before. IAC, with it it is now working.