04-24-2009, 07:33 AM
|
#1 (permalink)
|
|
The Visitor
Join Date: Apr 2009
Posts: 2
Thanks: 0
|
Developing PHP extensions on Windows with VC++ - problems an article posted here
Hi all,
I had to create a PHP extension and I read this good article:
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?
Thanks!
Cheers,
Eugenio
|
|
|
|