You need to make sure
COMPILE_DL_(EXTENSION)
is defined...
--- Alexander Merz <[EMAIL PROTECTED]> wrote:
> 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
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]