Writing own extension on Win

From: Date: Tue, 29 Jan 2002 15:57:55 +0000
Subject: Writing own extension on Win
Groups: php.dev 
Request: Send a blank email to php-dev+get-78445@lists.php.net to get a copy of this message
I've wrote an PHP-extension. After some problems with compiling and linking, i've got the dll. Testing it with <?php dl("wintest1.dll"); ?> it fails with "Invalid library (maybe not a PHP library) 'wintest1.dll'" The source was created with ext_skel on cygwin. Checking the other win-specific extensions like COM and Dotnet, i see no big difference to my code. Which compiler and linker settings are neccessary to get a valid library? System: Win98 MS VisualC++ 6 Cu, Alex

« previous php.dev (#78445) next »