you are trying to mix 64 and 32 bit modes. You need to stick to 32bit mode as it's a 32bit API.
So, you need to register it using the regsvr32 from WOW64, and also run the script using the WOW64 version of cscript.
Many thanks. It works now!
no problem - I mean it's hardly obvious that the 32bit version of cscript is in the WOW64 directory is it?