Skip to content
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.

Error when closing app in win 8.1 #207

Closed
aclassen opened this issue Nov 20, 2013 · 1 comment
Closed

Error when closing app in win 8.1 #207

aclassen opened this issue Nov 20, 2013 · 1 comment
Labels

Comments

@aclassen
Copy link

After closing one of the samples app i get the following error a few seconds after closing:

An exception of type 'SharpDX.SharpDXException' occurred in SharpDX.DLL but was not handled in user code

Additional information: HRESULT: [0x80004005], Module: [General], ApiCode: [E_FAIL/Unspecified error], Message: Unknown error

in SurfaceImageSourceTarget.cs , line:
using (var surface = surfaceImageSourceNative.BeginDraw(regionToDraw, out position))

no matter if i run in debug or release.

ArtiomCiumac added a commit that referenced this issue Nov 22, 2013
…ow visibility changes (this affects only SurfaceImageSource targets, issue #207).
@ArtiomCiumac
Copy link
Contributor

These samples are quick-and-dirty proof of concept that SharpDX works in WinRT, they are not recommended to be used in production and are not an example of best practices.
I have fixed the crash issue, but it may not be good enough for a real-life application.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants