windows-10

How to make Windows 10 Game Bar appear on game?

此生再无相见时 提交于 2019-12-13 20:02:56
问题 I made a game using SDL and OpenGL in C++, which is of course common for games. Windows 10 should be able to detect that it's a game and show the Game Bar when starting it, but it doesn't. What can I do to make Windows 10 detect it as a game? 回答1: Windows cannot "detect" that you are playing a game. There is literally no way for it to magically work that out. Heck, I can think of a number of kinds of programs that a human would have difficulty categorising as a game or not (such as Stack

Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). fatal: Could not read from remote repository

天大地大妈咪最大 提交于 2019-12-13 19:34:38
问题 I am trying to push my project to git but at the time of push I'm getting Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password). fatal: Could not read from remote repository . I've created the ssh key and added that to git SSH Keys under profile Settings using git's UI. Actually IDK why but I'm asked to enter password while pushing even after adding keys to the git.Any help please? ssh -vT git@git.companyname.com stack $ ssh -vT git@git.companyname.com OpenSSH_7.1p1, OpenSSL 1.0

Windows 10 IoT - Supported bindings

时间秒杀一切 提交于 2019-12-13 19:00:28
问题 According to https://msdn.microsoft.com/en-us/library/system.servicemodel the Windows Universal Platform supports the NetHttpBinding. In Visual Studio, I can develop a simple WCF client using this binding, without errors. I can use the NetHttpBinding class of the ServerModel namespace. When I deploy the client to a Raspberry Pi 2, a PlatformNotSupportedException occurs. Which WCF bindings are really supported by Windows 10 IoT? 回答1: There is almost no information available public about WCF

windows 10 exceptions not including line numbers

走远了吗. 提交于 2019-12-13 18:51:43
问题 I have a Windows 10 Universal App that does not include line numbers in the Exception objects .ToString() method. If I have a method like private void ThrowException() { try { throw new Exception("Test"); } catch (Exception e) { Debug.WriteLine(ex.ToString()); } } When I check the output, I don't see the line number where there exception was thrown. I added a Post Build event to the project: xcopy $(ProjectDir)$(OutDir)*.pdb $(ProjectDir)$(OutDir)AppX\*.pdb The pdb file is in the Debug folder

Winlogon screen capturing in Windows 7/10

泄露秘密 提交于 2019-12-13 17:17:09
问题 I need to capture a winlogon screen in WinXP/Win7/10. For WinXP I'm using a mirror driver and a standard methodic like this: ... extern "C" __declspec(dllexport) void SetActiveDesktop() { if ( currentDesk != NULL ) CloseDesktop( currentDesk ); currentDesk = OpenInputDesktop( 0, FALSE, GENERIC_ALL ); BOOL ret = SetThreadDesktop( currentDesk ); int LASTeRR = GetLastError(); } extern "C" __declspec(dllexport) HBITMAP CaptureAnImage( int width, int height, int bitsPerPixel ) { HBITMAP hbmScreen;

Where is the cache file located in VS 2015's app directory?

◇◆丶佛笑我妖孽 提交于 2019-12-13 17:01:31
问题 I'm trying to clean and rebuild my solution in an attempt to fix another debugging error but can't locate the for VS 2015 cache file. The solutions in this similar question don't appear to apply to VS 2015 / Windows 10. Does someone know a more accurate file directory address? 回答1: It's in the .vs folder in the root of your project. As it's a hidden folder you need to enable "show hidden folders" in explorer or whatever file viewing tool you use. 来源: https://stackoverflow.com/questions

Change button style in Universal Windows Platform

空扰寡人 提交于 2019-12-13 11:36:00
问题 I've tried to make a simple C# UWP application and I don't know how to remove the gray background when my mouse is over the button. How I do that? (remember: it's an UWP for Windows 10 platform , not Windows Phone 8.1 or WPF) 回答1: Follow these steps: Rightclick in the Solution Explorer and add a new item of kind "ResourceDictionary" Copy the Default Style of the Button you can find it on this webpage, you need to scroll down a little bit: Msdn Then insert it in your ResourceDictionary.xaml

Logstash is not creating index in elastic search

社会主义新天地 提交于 2019-12-13 10:15:24
问题 It doesn't show any error on console. Here is the command I'm running ( On Windows 10. ) - logstash --verbose -f logstash-sample.conf Here is my logstash-sample.conf file - input { file { path => "C:\Users\17739\Documents\IIT\CSP586\tutorial\project\ChicagoSocialHub\backend-build-divvy-status\divvy_stations_status.csv" start_position => "beginning" } } filter { csv{ separator => "," columns => ["altitude", "availableBikes", "availableDocks", "city", "id", "is_renting", "kioskType", "landMark"

How do I put a WinJS.UI.Menu inside of a win-splitview-content section?

断了今生、忘了曾经 提交于 2019-12-13 08:42:55
问题 I have a very simple app. I started with the WinJS App (Universal Windows) template in VS2015. I have a split view and inside the split view content section I have a menu. The menu appears when the control button is clicked but none of the options are selectable. <div data-win-control="WinJS.UI.SplitView" data-win-options="{closedDisplayMode: 'overlay',panePlacement:'left'}"> <div class="win-splitview-pane"> </div> <div class="win-splitview-content"> <button id="selectionButton">Selection<

Eclipse RCP Jface/SWT TreeViewer on Windows 10

大憨熊 提交于 2019-12-13 07:32:54
问题 I have a RCP application. I recently moved the application to 64 bit. It is based on Eclipse 3.7.0. I noticed something weird. There is a discrepancy between TreeViewer expand/collapse icons on 32 and 64 bit builds on Windows 10. From what I understand it goes down to the OS which determines the theme and what to use for the icon. On 32 bit builds TreeViewer expand/collapse looks like: On 64 bit builds TreeViewer expand/collapse looks like: Why are 64 bit builds only using + -? This only