Hi 1) Question1 How do you run PHP, "Manual Start" or "Service"? If "Service", did you restart the service AFTER changing PHP.INI ?
2) Question 2 > > 'D:/Php/php-4.2.1-Win32/extensions/Visqwin.dll' - %1 is not a valid Windows NT application. in D:\Program Files\Apache Are you sure of the sintax for this call ? It seems as if PHP is complaining about the first parameter (a blank string, in your case) Luis ----- Original Message ----- From: "Pozzer Franco" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 10, 2002 2:37 PM Subject: [PHP-WIN] Re: Calling DLL from PHP script > > > > Thanks for all for read my msg and sorry if my english it is not good. > > Thanks also for time to spend to me. > > > > My env it is WinNt SP6.0 Apache 1.3.24 PHP 4.2.1. > > > > I must be use my dll. I send you a .zip file with dll. > > > > I have put the dll into the path directory of the extensions of the > > php like D:\php\php-4.2.1-win32\extensions\.......... > > > > I have uncomment php.ini like the follow: > > ;extension=php_sybase_ct.dll > > ;extension=php_tokenizer.dll > > extension=php_w32api.dll ; I have uncomment this tag > > ;extension=php_xslt.dll > > ;extension=php_yaz.dll > > ;extension=php_zlib.dll > > extension=Visqwin.dll ;this in my dll > > extension=Wvqprint.dll ;this is my dll > > ;extension=php4ts_debug.dll > > > > My script php is: > > <? > > > > // Load the extension in > > > > dl("Visqwin.dll"); > > > > echo"<br>1<br>"; > > > > $result = DoCalcVisQuad("", "c:\\tmp", "c:\\tmp","-1", "1", "1", > > ""); > > > > echo"<br>$resul<br>"; > > > > ?> > > > > and the errors that I have from the page it is: > > Warning: Unable to load dynamic library > > 'D:/Php/php-4.2.1-Win32/extensions/Visqwin.dll' - %1 is not a valid > > Windows NT application. in D:\Program Files\Apache > > Group\Apache\htdocs\installazione\FreeDelivery\visqwin.php on line 3 > > > > 1 > > > > Fatal error: Call to undefined function: docalcvisquad() in D:\Program > > > > Files\Apache > > Group\Apache\htdocs\installazione\FreeDelivery\visqwin.php > > on line 5 > > > > I do not have idea how resolve it. > > > > Thanks very much for all. > > > > If is possibile replay also to e-amil directly to me. > > > > Ciao Franco > > www.infocamere.it > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php