Unmanaged C dll call errors from IIS web site

C

cheloman

Hello,
I’m trying to use an unmanaged C dll from a ASP.NET 2.0 web application
using p/Invoke platform (dllImport attribute). The asp.net page instances a
c# library and this loads the C dll.
I’ve used this dll from a windows application without problems. But if this
dll is invoked from a Web site it always return this error:
“Attempted to read or write protected memory. This is often an indication
that other memory is corruptâ€
When I use it from a web project using the web server of Visual Studio 2005
Environment it runs fine, but I’ cant use it in a IIS Web. It is not a
programming error, all methods invoked returns this error when are called
from IIS Web site.
What do I have to configure to allow my web site to call unmanaged dlls?
I really need help.
Thanks a lot.
Marcelo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,906
Latest member
SkinfixSkintag

Latest Threads

Top