#26405 [Opn->Bgs]: Runtime DLL linking from extension module code (GetProcAddress)
ID: 26405
Updated by: sniper@php.net
Reported By: torben at greystork dot com
-Status: Open
+Status: Bogus
Bug Type: IIS related
Operating System: Win32
PHP Version: 4.3.4
New Comment:
This is not a discussion forum, try using email next time..
Previous Comments:
------------------------------------------------------------------------
[2003-11-25 09:56:26] torben at greystork dot com
Description:
------------
This is mainly for your information, since it may shed some additional
light on problems encountered by other developers, notably the creator
of the w32api module.
I recently developed a custom mail server administration extension for
PHP in which I access functions in a third-party (i.e. non-MFC) DLL
Using LoadLibrary/GetProcAddress. The thus linked DLL functions behave
predictably with the CLI version of PHP and on Apache/SAPI compiles.
However, with IIS, whether it be ISAPI, CGI or FastCGI, the DLL
functions do not return the expected results and may arbitrarily result
in PHP engine crashes.
This is obviously an issue with IIS, although I have no ideas on what
may cause this kind of problem. Attempting to get to the root of this
would be a job for someone with intimate knowledge of IIS.
Unfortunately, that excludes me.
Reproduce code:
---------------
This is not a PHP language issue.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26405&edit=1
Thread (2 messages)