locked
Surface Sensors Reconnect when De/Attaching Touch Cover RRS feed

  • Question

  • I'm developing a C++ app using various sensors.

    When I de/attach my Touch Cover to my Surface Pro:
    GetDefault() sometimes return nullptr as expected (actually not so expected though the sensors work again in a few seconds), but sometimes it throws access violation exception that even try-catch cannot catch; once a while my Surface Pro suddenly restarts when I de/attach my Touch Cover...

    I call GetDefault() at every Direct3D update because de/attaching typing covers disconnect the sensors for a few seconds.

    Is it possible to handle access violation exception? or should I exchange my Surface Pro instead?

    Monday, November 4, 2013 2:16 PM

All replies