Re: Calling DLL from PHP script

From: Date: Tue, 10 Sep 2002 13:37:26 +0000
Subject: Re: Calling DLL from PHP script
References: 1 2 3  Groups: php.windows 
Request: Send a blank email to php-windows+get-15741@lists.php.net to get a copy of this message
> > 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 >

« previous php.windows (#15741) next »