467,104 Members | 1,009 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,104 developers. It's quick & easy.

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;
$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
  • viewed: 1248

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Olaf Meding | last post: by
reply views Thread by Paul Keating | last post: by
2 posts views Thread by Mystery Man | last post: by
6 posts views Thread by Martin Eyles | last post: by
1 post views Thread by Roland | last post: by
1 post views Thread by pedestrian via DotNetMonster.com | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.