View Single Post
  #1 (permalink)  
Old 02-26-2008, 05:28 PM
DaveSawers's Avatar
DaveSawers DaveSawers is offline
WebProWorld Veteran
 

Join Date: Dec 2006
Location: Calgary, Alberta, Canada
Posts: 354
DaveSawers RepRank 1
Default PHP With COM and/or DOTNET

Does anyone here have experience with using COM or DOTNET objects within PHP?

If I go to the PHP Manual and try the examples there for using COM and DOTNET from PHP then I can (for example): fire up Word on the server, create a document, write it, save it and quit the application.

Now we have written a .NET application to run as a server to another program and I have the following problems with it.

Instantiating the application using new COM(...) doesn't work.

If the application is manually started up on the server then get_active_object(...) returns an object but doesn't allow me to do anything with it.

Trying to instantiate the object using new DOTNET(...) crashes Apache!

The PHP manual is not very helpful about how to sort this kind of problem and neither is Microsoft any help.

Any ideas? Any thought as to how I can find out what's wrong?
__________________
Dynamic Software Development
www.activeminds.ca
Reply With Quote