Hello Markus,
     Thanx a lot, I am able to finally build my extension dll.

     Can u recommend some good site for detailed information on
php-extension dlls?
Regards,
Nischal Vohra



                                                                                       
                                             
                    Markus Fischer                                                     
                                             
                    <[EMAIL PROTECTED]       To:     [EMAIL PROTECTED]          
                                             
                    sefine.at>              cc:     [EMAIL PROTECTED]              
                                             
                                            Subject:     Re: [PHP-DEV] Creating 
extensions problem                                  
                    12/23/02 02:47 PM                                                  
                                             
                                                                                       
                                             
                                                                                       
                                             
                                                                                       
                                             
                                                                                       
                                             




    Did you by chance forgot to add the

#ifdef COMPILE_DL_YOUREXT
ZEND_GET_MODULE(yourext)
#endif

    code to your file or forgot to add the /D COMPILE_DL_YOUREXT
    define to your yourext.dsp file ?

On Mon, Dec 23, 2002 at 01:54:02PM +0530, [EMAIL PROTECTED] wrote :

> 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
> - - - - - - - - - - - -
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php





-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to