Re: Developing PHP extensions on Windows with VC++, linking problems
| From: | Chris | Date: | Tue, 28 Apr 2009 22:42:09 +0000 |
| Subject: | Re: Developing PHP extensions on Windows with VC++, linking problems | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-292113@lists.php.net to get a copy of this message | ||
Eugenio Tacchini wrote:
Hi all, I had to create a PHP extension and I read this article: <http://www.talkphp.com/vbarticles.php?do=article&articleid=49&title=creating-custom-php-extensions>http://www.talkphp.com/vbarticles.ph...php-extensions Everything worked fine if I keep "Debug" as "Active solution configuration" in "Build->Configuration manager"....but in this way I can only use the extension created on the machine I compiled it. If I choose "Release" instead of "Debug" I get a fatal error: dllmain.obj : fatal error LNK1179: invalid or corrupt file: duplicate COMDAT '_putwchar' Can you help me?Probably a better place to ask is the php-internals list, all of the people who develop the c code behind php are on there. -- Postgresql & php tutorials http://www.designmagick.com/