Always returns -2147352567 which translates into 80020009 which as far as I can see is some sort of "Exception occurred" or if I take the 9 and type NET HELPMSG on it says "The storage control block address is invalid".
The CreateObject itself doesn't return an error but as soon as I try to do something with it @ERROR is set to the value mentioned above.