In one of my scripts, the ComCreateObject function is gernerating this error:

ComCreateObject(COM Replay: 202 - Error creating COM object., Requested COM Class expects single threaded environment which is not supported)

I even get this if I run the test single threaded. Can anyone shed any light on this error message?