Haven't read the manual yet, but the proper code should be
 Code:
$obj = CreateObject("MyCOMLibrary.Class")