Quantcast
Channel: Classic ASP
Viewing all articles
Browse latest Browse all 488

DLL works in debug mode

$
0
0

We are running a 2003 server with IIS 6 or 7 and have a dll which uses the win32 api.  The dll is written in vb6.  To debug the code in a browser we set integrated windows authentication so we can step through it.  When we compile the dll and run enabling anonymous access the api call findwindow doesn't work. The hwnd for the process returned is 0.  The hwnd returns a proper long with integrated windows authentication.  It's seems like the IUSR or IWAM account which accesses the dll doesn't have access to the winAPI but the windows user has access. Does anyone know what we can do in either IIS or the OS so when live (enabled anonymous access) the IUSR or IWAM account can run these functions and return the hwnd to a process?  Any help would be much appreciated!


Viewing all articles
Browse latest Browse all 488

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>