By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,747 Members | 2,011 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,747 IT Pros & Developers. It's quick & easy.

COM and early binding

P: n/a
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;
$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_typelib, 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.

Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.