2
我在使用leadtools成像API時在asp.net中出現奇怪的錯誤。這是堆棧跟蹤。Asp.net中的System.AccessViolationException與leadtools成像API
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at SetThreadData(_THREADDATA*)
at Leadtools.Codecs.CodecsOptions.Use()
at Leadtools.Codecs.RasterCodecs.DoSave(SaveParams saveParams)
at Leadtools.Codecs.RasterCodecs.Save(RasterImage image, Stream stream, RasterImageFormat format, Int32 bitsPerPixel)
at BarCodeHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext ctxt)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
任何幫助將不勝感激。