COM Object syntax differs per server

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • blue_nodule

    COM Object syntax differs per server

    I am working on a system that makes use of a COM object. On my system
    at home it requires that I use the "( )" (round bracket) notation when
    accessing array like properties in the object but when I run the code
    on another server (after hours of debugging) it requires that I use the
    "[ ]" (square bracket) syntax.

    For instance

    On one server = $graph->Depth[0] = 50;
    On another sever = $graph->Depth(0) = 50;

    Please help guys this is driving me nuts!

Working...