You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by "Corrado B." <te...@tecnoconvert.it> on 1998/12/28 11:50:39 UTC

os-windows/3597: GetExtensionVersion failed

>Number:         3597
>Category:       os-windows
>Synopsis:       GetExtensionVersion failed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Dec 28 04:10:01 PST 1998
>Last-Modified:
>Originator:     techinfo@tecnoconvert.it
>Organization:
apache
>Release:        1.3.3 win32
>Environment:
WINDOWS NT WORKSTATION 4.0 SP3
MICROSOFT I.E 4.0 SP1
NETSCAPE 4.50
Apache version 1.3.3 win32 binary dist.
>Description:
I wrote a simple DLL in order to test Isapi Extensions on Apache (mod_isapi) 
-  The DLL is in the /cgi-bin/ directory
-  "AddHandler isapi-isa dll" is in the configuration file
-  "ExecCgi" is set for /cgi-bin/ directory
When I try to open "http://mycomputer/cgi-bin/test.dll" I get
an error : "ISAPI GetExtensionVersion failed: C:/mydir/cgi-bin/TEST.DLL"
In order to test the DLL by itself I also wrote a simple program that loads the DLL , looks for the GetExtensionVersion function,
call the GetExtensionVersion function and everything works fine.
It seems that Apache loads the Dll (LoadLibrary), find the function(GetProcAddress) , but fails when it has to call the function.
What's wrong ????

Thanks
(sorry for my english)

>How-To-Repeat:

>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]