locked
IPdfRendererNative wrong render target Exception RRS feed

  • Question

  • Hi,

    I have a problem with IPdfRendererNative, when application is runnig on Hyper-V virtual machine with one or two virtual processors. Sooner or later IPdfRenderNative.RenderPageToSurface throw ComException: The resource was realized on the wrong render target(Exception from HRESULT: 0x88990015). Detaching device from unused surfaces (ISurtfaceImageSourceNative.SetDevice(null);) doesn't help completely, but only delays occurrence of this Exception.

    Here is the sample and video how to reproduce exception.

    P.S. In this sample you need to scroll more (video) to reproduce exception with two virtual processors. But in more complicated projects this exception is reproduced quite well, especially in Release.



    Wednesday, November 27, 2013 9:20 AM

Answers