locked
get SurfaceImageSource->PixelWidth / ->PixelHeight exception

    Question

  • The following code:

    SurfaceImageSource^ pSurfaceImageSource = ref new SurfaceImageSource(512, 512, false);
    if (pSurfaceImageSource == nullptr) return;

    int _w = pSurfaceImageSource->PixelWidth; // << Exception
    int _h = pSurfaceImageSource->PixelHeight; // << Exception

    causes exceptions.


    Wednesday, March 21, 2012 8:00 AM

Answers

  • Hello,

    Thanks for your feedback, we will track this issue.

    Best regards,
    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us

    Thursday, March 22, 2012 5:38 AM

All replies

  • Hello,

    Thanks for your feedback, we will track this issue.

    Best regards,
    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us

    Thursday, March 22, 2012 5:38 AM
  • I encountered the same issue (I reported it here), it also happens in C#.
    • Edited by MarkVincze Thursday, March 22, 2012 11:34 AM
    Thursday, March 22, 2012 11:32 AM
  • Where is the PixelWidth member?
    Friday, October 18, 2013 9:04 AM