Date: 11/15/00
- Next message: Samantha Savvakis: "RE: [PHP] Dreamweaver 4 ignores PHP - again"
- Previous message: Paulson, Joseph V. \: "[PHP] Creating DLL files for PHP4"
- In reply to: Paulson, Joseph V. \: "[PHP] Creating DLL files for PHP4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, 15 Nov 2000, Paulson, Joseph V. "Jay" wrote:
> I want to take some C code and create a dll file that will be interpreted by
> php 4.0.x as a php library (i.e. php_myphplib.dll). What I need to know are
> the steps taken to make the library recognized by php in both the dll
> definition and implementation.
>
> I have downloaded and tried to use libmcrypt.dll which is supposed to
> implement the mcrypt functions. I have tried dl("libmcrypt.dll"); and
> extension=php_mcrypt.dll and I get the following:
> Warning: Invalid library (maybe not a PHP library) 'libmcrypt.dll'
> So, I know there is something specific to the dll file that allows it to be
> interpreted by php.
>
> Any information such as a tutorial, tips, examples, or anything would be
> great.
>
> Thanks,
> Jay Paulson
>
libmcrypt.dll does in fact contain the mcrypt functions, but PHP can't
call these functions directly. Instead you need to use the php_mcrypt.dll
wrapper library, unless the wrapper functions are compiled directly into
the PHP module or executable.
-- Ignacio Vazquez-Abrams <ignacio <email protected>>-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Samantha Savvakis: "RE: [PHP] Dreamweaver 4 ignores PHP - again"
- Previous message: Paulson, Joseph V. \: "[PHP] Creating DLL files for PHP4"
- In reply to: Paulson, Joseph V. \: "[PHP] Creating DLL files for PHP4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

