Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Asp.Net Programming

Unmanaged dll call error from IIS asp.net site


Hello,
Im 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.
Ive 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
Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc