Re: i can't uses functions com_load,com_get and so on. why?
| From: | Alain Samoun | Date: | Tue, 15 Aug 2000 15:31:54 +0000 |
| Subject: | Re: i can't uses functions com_load,com_get and so on. why? | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-1819@lists.php.net to get a copy of this message | ||
Which PHP are you using 3 or 4?
There are differences using one or the other.
For example, to instantiate a new COM:
For php4 you will use the construct new COM(string Component name);
But with PHP3, as the COM class is not defined, you should use:
com_load(string Component name);
Alain
On Tue, Aug 15, 2000 at 04:45:48PM +0800, KingTiger wrote:
> i can use $avar=new com(string string ) to build a com object but i can't
> use functions com_load,com_get and so on and i get a
> "Call to undefined function: com_load()" error
> why? help me!!!
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net