Creating extensions problem
| From: | NVohra at eq-technologic dot com | Date: | Mon, 23 Dec 2002 08:24:02 +0000 |
| Subject: | Creating extensions problem | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-92782@lists.php.net to get a copy of this message | ||
Hello,
I am using PHP-4.1.2 on WinNT. I need to create php-extension dll of my
own.
I downloaded the source and build php4ts.dll and php4ts.lib, but when i
try to
create the php.exe, it fails giving error while linking. I also included
the
lib and include directories from http://www.php.net/extra/win32build.zip.
So I downloaded WIN32 binaries for this version.
MSVC builds my extension dll properly, but when i try to load
i get error indicating that its not a valid php extension dll.
For testing, i just used sample code provided with php-manual for an
extension
dll.
If anyone, has successfully build and used any extension dll, please give
me
some inputs on that.
Regards,
Nischal Vohra
- - - - - - - - - - - -
That one last shot's a Permanent Vacation
And a how high can you fly with broken wings
Life's a journey - not a destination
And I just can't tell just what tomorrow brings -
Aerosmith
- - - - - - - - - - - -