Re: Calling some DLL functions from within PHP (no ASP)

From: Date: Tue, 28 Nov 2000 22:07:24 +0000
Subject: Re: Calling some DLL functions from within PHP (no ASP)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-27709@lists.php.net to get a copy of this message
> <% > ' --- activeX > Dim Xvar > Set Xvar = CreateObject("third_party_dll") > > ' --- vars parameter1, parameter2, etc. shall already have values > ' as received from user input at a form or in a hardcoded manner > output = Xvar.dll_function(parameter1, parameter2, ...) > > Set Xvar = Nothing > %> I believe this would be it: <?php $Xvar = new("third_party_dll"); $output = $Xvar->dll_function($parameter1, $paramater2); ?> I dunno how PHP actually finds that DLL file -- I assume it needs to be in Windows/System or somesuch or maybe sitting next to php.exe or php.dll is you use ISAPI... But I'm just guessing.

« previous php.general (#27709) next »