Hi,
I'm very new to PHP and I have some problem using the com_load function.
my script is :
<?php
echo "test DLL";
com_load("Gzz.dll");
echo "loaded");
?>
and i get this error message : "Call to undefined function: com_load() in ...".
I'm using Windows 98, Apache 1.3.17 and PHP 4.0.5-dev (with EasyPhp). In the install.txt file i can read that the COM extension is built-in and if I check this (with get_loaded_extensions()) i can see the COM extension is loaded and that the com_load function exists in this extension. strange !
any idea of what happens ?
In fact, i want to use some functions of a DLL, and i found about this COM extension but i'm not sure it's the good method. If someone know another way to use DLL functions, please let me now.
thanks for you help,
Remi
P.S. the DLL is not a PHP one, i can't use dl() or load it in php.ini
I also look at the allow_dcom variable and put it to 1, with no change in the error I get. I'm a bit lost 🙂