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

COM object HELP

P: 1
Hi!

I created dll in C# and trying to use it in PHP. I'm creating new com object, but the problem is that the class inherits from another class (standard c# class) and the constractor has a parameter.

How do I make it work?

$var = new com (object.class, parameter) doesn't seem to work in this case.

Thanks,

Jose
May 21 '07 #1
Share this Question
Share on Google+
1 Reply


Motoma
Expert 2.5K+
P: 3,235
Hi!

I created dll in C# and trying to use it in PHP. I'm creating new com object, but the problem is that the class inherits from another class (standard c# class) and the constractor has a parameter.

How do I make it work?

$var = new com (object.class, parameter) doesn't seem to work in this case.

Thanks,

Jose
The object you wish to call will need to have a constructor which takes 0 arguments.
May 21 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.