{"action":"created","issue":{"url":"https://api.github.com/repos/sharpdx/SharpDX/issues/756","repository_url":"https://api.github.com/repos/sharpdx/SharpDX","labels_url":"https://api.github.com/repos/sharpdx/SharpDX/issues/756/labels{/name}","comments_url":"https://api.github.com/repos/sharpdx/SharpDX/issues/756/comments","events_url":"https://api.github.com/repos/sharpdx/SharpDX/issues/756/events","html_url":"https://github.com/sharpdx/SharpDX/issues/756","id":159332360,"number":756,"title":"SharpDXException while creating Device","user":{"login":"Reaw","id":8599321,"avatar_url":"https://avatars.githubusercontent.com/u/8599321?v=3","gravatar_id":"","url":"https://api.github.com/users/Reaw","html_url":"https://github.com/Reaw","followers_url":"https://api.github.com/users/Reaw/followers","following_url":"https://api.github.com/users/Reaw/following{/other_user}","gists_url":"https://api.github.com/users/Reaw/gists{/gist_id}","starred_url":"https://api.github.com/users/Reaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Reaw/subscriptions","organizations_url":"https://api.github.com/users/Reaw/orgs","repos_url":"https://api.github.com/users/Reaw/repos","events_url":"https://api.github.com/users/Reaw/events{/privacy}","received_events_url":"https://api.github.com/users/Reaw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sharpdx/SharpDX/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2016-06-09T05:43:42Z","updated_at":"2016-06-13T20:59:16Z","closed_at":"2016-06-13T20:59:16Z","body":"\r\nHello! I have a big problem with starting with pure SharpDX. Any example for SharpDX is not working for me, the program stops running and it throws SharpDXException HRESULT: [0x887A0001], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_INVALID_CALL/InvalidCall], Message: Unknown.\r\n\r\nSomeone told me that it is happening because my hardware could not support DirectX11 - but It does, my NVidia GeForce GTX750Ti and my Windows 7 64 bit also supports it and even turning  down the FeatureLevel written below to '9' doesn't change anything\r\n\r\nI really don't know what can I do with that exception it is always at this code snippet (Device11.CreateWithSwapChain):\r\n\r\n```\r\npublic SharpDevice(RenderForm form, bool debug = false)\r\n        {\r\n            View = form;\r\n            // SwapChain description\r\n            var desc = new SwapChainDescription()\r\n            {\r\n                BufferCount = 1,//buffer count\r\n                ModeDescription = new ModeDescription(View.ClientSize.Width, View.ClientSize.Height, new Rational(60, 1), Format.R8G8B8A8_UNorm),//sview\r\n                IsWindowed = true,\r\n                OutputHandle = View.Handle,\r\n                SampleDescription = new SampleDescription(1, 0),\r\n                SwapEffect = SwapEffect.Discard,\r\n                Usage = Usage.RenderTargetOutput\r\n            };\r\n            FeatureLevel[] levels = new FeatureLevel[] { FeatureLevel.Level_11_0 };\r\n\r\n            //create device and swapchain\r\n            DeviceCreationFlags flag = DeviceCreationFlags.None | DeviceCreationFlags.BgraSupport;\r\n            if (debug)\r\n                flag = DeviceCreationFlags.Debug;\r\n\r\n                Device11.CreateWithSwapChain(SharpDX.Direct3D.DriverType.Hardware, flag, levels, desc, out _device, out _swapchain);\r\n//...\r\n```\r\nI'm also getting this Exception on the same line in your sample of using this Device https://github.com/sharpdx/SharpDX-Samples/blob/master/Desktop/Direct3D11/MiniTri/Program.cs\r\n\r\nI would be very grateful for helping with this problem.\r\nRegards"},"comment":{"url":"https://api.github.com/repos/sharpdx/SharpDX/issues/comments/225706650","html_url":"https://github.com/sharpdx/SharpDX/issues/756#issuecomment-225706650","issue_url":"https://api.github.com/repos/sharpdx/SharpDX/issues/756","id":225706650,"user":{"login":"xoofx","id":715038,"avatar_url":"https://avatars.githubusercontent.com/u/715038?v=3","gravatar_id":"","url":"https://api.github.com/users/xoofx","html_url":"https://github.com/xoofx","followers_url":"https://api.github.com/users/xoofx/followers","following_url":"https://api.github.com/users/xoofx/following{/other_user}","gists_url":"https://api.github.com/users/xoofx/gists{/gist_id}","starred_url":"https://api.github.com/users/xoofx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xoofx/subscriptions","organizations_url":"https://api.github.com/users/xoofx/orgs","repos_url":"https://api.github.com/users/xoofx/repos","events_url":"https://api.github.com/users/xoofx/events{/privacy}","received_events_url":"https://api.github.com/users/xoofx/received_events","type":"User","site_admin":false},"created_at":"2016-06-13T20:59:16Z","updated_at":"2016-06-13T20:59:16Z","body":"@Reaw good if your problem is solved.\r\n\r\nFYI, I have made an assembly diff between the NuGet version and the zip version and they are strictly equivalent (I just checked SharpDX, DXGI and Direct3D11 assemblies), so the problem was most likely somewhere else."}}
{"actor":{"display_login":"xoofx"}}