php-windows Digest 27 Apr 2009 15:44:50 -0000 Issue 3612
Topics (messages 29285 through 29285):
Developing PHP extensions on Windows with VC++, linking problems
29285 by: Eugenio Tacchini
Administrivia:
To subscribe to the digest, e-mail:
php-windows-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-windows-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-wind...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
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?
I'm using Visual C++ 2008 Express edition, PHP 5.2.4, Win xp home.
Thanks!
Cheers,
Eugenio
--- End Message ---