The OLEOBJECT unknown method crashes the interpreter if
there is no second argument specified. The following
program demonstrates:
/ test_class.rex /
strComputer = "."
objWMIService =
.oleObject~GetObject("winmgmts:\"strComputer"\root\cimv2")
do objclass over objWMIService~SubclassesOf()
say objClass~Path_~Unknown("Class")
end
Anonymous
Logged In: YES
user_id=1125291
The unknown native method now checks for the omitted argument.
Logged In: YES
user_id=1312539
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 50 days (the time period specified by
the administrator of this Tracker).