[python-win32] Swig DLL with ASP
Emlyn Jones
emlynj at gmail.com
Thu Jun 2 16:10:20 CEST 2005
Hello,
I have Python working as the script engine for ASP under IIS 5.1, XP Pro.
I created a DLL using SWIG and Visual Studio .NET which works fine
from the command line but when I try and run it from an ASP script I
get:
"""
DLL load failed: Invalid access to memory location
"""
When I try to import it.
Has anybody any experience with this type of setup? I tested a simple
DLL (handcrafted, no SWIG) and that worked ok. The real DLL does load
other DLL's though, is that likely to be a problem?
Is there a way to set things up so I can run a debug version of python
and my dll from IIS and stand some chance of setting break points in
Visual Studio? Or maybe some tool to tell me exactly why the load
fails? I tried a good old fashion debug file but it wasn't created
which may suggest it's not even getting as far as calling the init
function on import (which takes me back to the loading other DLL's
question).
Any help will be much appreciated.
Regards,
Emlyn Jones
More information about the Python-win32
mailing list