Re: [PHP4BETA] Writing PHP4 Extensions in C++

From: Date: Wed, 22 Mar 2000 08:53:30 +0000
Subject: Re: [PHP4BETA] Writing PHP4 Extensions in C++
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-12481@lists.php.net to get a copy of this message
Hi, > > Have I to recompile PHP4 with a C++ compiler to be able to use PHP4 extension > > modules written in C++? Is there a configuration switch in the Makefile to > > switch to C++? Or is it just impossible to use C++ code for PHP4 extension > > libraries? > you should be able to do so - plz make sure that u export the > get_module() symbol as extern "C". that's the one and only > enty point dl() needs to initialize a .so module! Man, I love you. :-) That's the solution. Now C++ is working. Classes and STL are working, too. Thank you! Bye K

« previous php.version4 (#12481) next »