windows-10

Unexpected Behavior of Toast Notifications for windows 10 desktop applications

跟風遠走 提交于 2019-12-08 07:56:26
问题 I am adding Toast Notifications to my desktop application and experiencing strange behavior of Action Center in Windows 10 Observed Behavior: Toast Notifications does not appear in Action Center after time out Toast Notifications appear in action center when you click on the action center button during the toast display,but it disappears as soon as you close the action center Expected Behavior: Toast notifications should appear in Action Center after time out Toast notification should still

f90wrap on Windows (Python wrapper for Fortran 90)

China☆狼群 提交于 2019-12-08 07:50:59
问题 I've got a Python program that calls Fortran routines. These Fortran routines are wrapped with f90wrap (https://github.com/jameskermode/f90wrap), and I've verified that the setup works correctly on Linux and Mac OSX. I'm now trying to get the setup to work equally well on Windows (because I collaborate with people who cannot sometimes switch to Linux). I've got gfortran working through a MinGW installation and verified that Fortran programs compile and run without errors. I've also verified

How to install Typo3 in Windows 10 with XAMPP?

自闭症网瘾萝莉.ら 提交于 2019-12-08 07:44:35
问题 I have installed XAMPP in Windows, It is working perfectly. but when I installed Typo3 version 8 and it Showed some errors PHP OpenSSL extension not working. PHP extension soap not loaded. Current directory is not within in the current path. Low PHP Script Execution Time. PHP max_input_vars very low. Windows apache thread stack size. But I can't able to fix the following: PHP OpenSSL extension not working. PHP extension soap not loaded. Current directory is not within in the current path.

No OpKernel was registered to support Op 'Conv2D' with these attrs

一个人想着一个人 提交于 2019-12-08 07:18:58
问题 new to this may be something dumb but cant get conv2d to run windows 10 anaconda 4.2.13 python 3.5.2 C:\windows\system32>nvcc --version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2016 NVIDIA Corporation Built on Sat_Sep__3_19:05:48_CDT_2016 Cuda compilation tools, release 8.0, V8.0.44 cudnn 5.1 TensorFlow 0.12 import numpy as np import tensorflow as tf graph1 = tf.Graph() with graph1.as_default(): f=tf.constant( np.ones(10).reshape(1,1,-1,1) ) g=tf.constant( np.ones(3).reshape(1

Conda-forge spaCy install fails - Error: WinError 87 - the parameter is incorrect

喜你入骨 提交于 2019-12-08 06:45:24
问题 I'm trying to install spaCy in a conda environment (Anaconda 2019.03 - latest release) on Windows 10 using the command "conda install -c conda-forge spacy" recommended on the spaCy website. However I'm receiving OS Error 22 / WinError 87(the parameter is incorrect) when conda tries to install dependencies. I've also tried installing spaCy using pip, but I run into similar difficulties. I get the same WinError 87 error - "the parameter is incorrect". The full output from the conda attempt is:

How to cancel asynchronous callback function in C++/WRL?

旧时模样 提交于 2019-12-08 06:08:59
问题 I'm writing Windows 10 Store / WinRT code using C++/WRL which I'm new to. And I'm curious to know how do I cancel long-pending asynchronous operation? The best way to illustrate it is with this example: #include <Windows.Services.Store.h> #include <wrl.h> auto onAppLicCompletedCallback = Callback<Implements<RuntimeClassFlags<ClassicCom>, IAsyncOperationCompletedHandler<StoreAppLicense*>, FtmBase>>( [](IAsyncOperation<StoreAppLicense*>* operation, AsyncStatus status) { //Asynchronous operation

Screenshot with BitBlt results in black image on Windows 10

放肆的年华 提交于 2019-12-08 05:47:32
问题 I am using the code below to capture a screenshot of the currently active window. This code comes from Capture screenshot Including Semitransparent windows in .NET, with a few small additions, i.e. it uses GetForegroundWindow and also a timer so that I can select the desired window. On Windows 10 (x64) this works fine for Firefox browser, but it does not work with Chrome or Edge. I find it strange that Screenshot captured using BitBlt in C# results a black image on Windows 10 [duplicate] is

Username with System.User

泄露秘密 提交于 2019-12-08 05:33:21
问题 Today I wanted to greet the user in my app by name, but I did not manage to get it. I found System.User , but lacking some examples I did not manage to get the info I needed. I saw no possibility to get the current user ( id ) to call User.GetFromId() . Can you guide me into the right direction? Have I been on the wrong path? 回答1: Okay, So first things first, getting access to a user's personal information is a privilege you have to request, so in your store app's Package.appxmanifest, you'll

High efficiency way to capture RGB video and display it in Windows 10 [closed]

瘦欲@ 提交于 2019-12-08 05:31:26
Closed . This question needs to be more focused . It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post . Closed 26 days ago . A 4K60Hz RGB video can have bandwith up to 2GB/s, PCs based on DDR3 have 25.6GB/s theoretical RAM bandwidth but the real performance can be far more lower like 10GB/s. If the video is first captured to system RAM than copied to VRAM for display, there will be 4GB/s bandwidth utilization on system RAM which consume too much bandwidth. To increase the efficiency, one-copy mode is

How to cancel asynchronous callback function in C++/WRL?

坚强是说给别人听的谎言 提交于 2019-12-08 05:22:28
I'm writing Windows 10 Store / WinRT code using C++/WRL which I'm new to. And I'm curious to know how do I cancel long-pending asynchronous operation? The best way to illustrate it is with this example: #include <Windows.Services.Store.h> #include <wrl.h> auto onAppLicCompletedCallback = Callback<Implements<RuntimeClassFlags<ClassicCom>, IAsyncOperationCompletedHandler<StoreAppLicense*>, FtmBase>>( [](IAsyncOperation<StoreAppLicense*>* operation, AsyncStatus status) { //Asynchronous operation is done return S_OK; }); //'opAppLic' is defined as: // ComPtr<IAsyncOperation<StoreAppLicense*>>