I've been running experiments for almost two hours solid now, making mock
functions and passing different arguments and return types in all
combinations I can think of. I've cleaned my environment, registered,
unregistered, etc. Everything works perfectly in unit tests, only in the VBS
file I find this specific failure rule:

 

I cannot get a return value from a method call that has a COM object as an
argument.

 

Sadly, I can't just pass primitive types as the arguments to the function,
as it takes far too many and some are collections.

 

I think I'll give up and have a glass of wine.

 

Greg

Reply via email to