COM and early binding

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

    COM and early binding

    I have a COM object I am using and I am having some problems setting a
    property, I get an "PropPut() failed: Member not found". The property
    I am setting is another COM object. Here's is the sample code:

    $m = new COM("comobj.obj ");
    $x = $m->Extent;
    $x->Inflate(.5,.5) ;
    $m->Extent = $x; // get error here


    Is there anyway to use early binding? I tried this with python, and
    got the same error when I used late binding. When I generated an
    early binding wrapper, it worked. Does PHP have a similar mechanism?

    I've looked at com_load_typeli b, but that just seems to import
    constants. I would greatly appreciate any help. I would hate to have
    to make up some hacky ASP page to get this to work.

    I've tried this on php 4.3.4, 4.3.7 and 5.0 to no avail.

    Thanks,
    Jason
Working...