Compiling my own PHP extension on Windows with Visual Studio 2008
- by Mickey Shine
I wrote a PHP extension and it could be compiled and run under linux successfully. But on windows, I met some problems.
I did the compiling on windows according to http://blog.slickedit.com/?p=128 with PHP source version 5.2.10, and after the compiling it generated the dll file. But when I tried to use the dll file, it reported me the memory problems when starting Apache(Wamp server). And then I started the debugging process, it seemed that REGISTER_INI_ENTRIES() had problems.
Here is the PHP extension source code, http://www.bluefly.cn/xsplit.tar.gz , and it works fine on Linux. But I also want to make it work on Windows.
Sorry I am not a pro so that I hope someone can help me.
Any help is appreciated and thanks in advance~