Menu

#80 Trap in OLEOBJECT~unknown

v3.0
closed
Classes (182)
5
2012-08-14
2005-06-11
No

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

Discussion

  • Rick McGuire

    Rick McGuire - 2005-06-11

    Logged In: YES
    user_id=1125291

    The unknown native method now checks for the omitted argument.

     
  • SourceForge Robot

    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).

     

Anonymous
Anonymous

Add attachments
Cancel