windows

How to find out why application crashes - Win 10 LTSB

只谈情不闲聊 提交于 2021-02-17 05:26:04
问题 I have application built with VS 2017 15.7.4, it is 64-bit command-line C++ app. I have copied it with all dependency DLL's to machine with Windows 10 Enterprise 2016 LTSB 64bit (ver says Version 10.0.14393). Application works. Then I copied it to another machine with the same version of windows. There it stops right away with message stopped working . edit: found the cause, details are in comments What I tried to fix the problem: Visual Studio 2017 redistributables do not change the

HandGesture Detection

*爱你&永不变心* 提交于 2021-02-17 05:17:12
问题 When I run this: contours,_,hierarchy = cv2.findContours(thresh.copy(),cv2.RETR_TREE, cv2.CHAIN_APPROX_NONE) I get this error: ValueError: not enough values to unpack (expected 3, got 2) I have also tried: _, contours,hierarchy = cv2.findContours(thresh.copy(),cv2.RETR_TREE, cv2.CHAIN_APPROX_NONE) and: contours,hierarchy,_ = cv2.findContours(thresh.copy(),cv2.RETR_TREE, cv2.CHAIN_APPROX_NONE) and got this error: Traceback (most recent call last): File "C:/Users/HASHMATI/AppData/Local/Programs

Unable to reset Root Password: windows, MySQL8.0

眉间皱痕 提交于 2021-02-17 05:13:29
问题 I have forgotten my root password and I am following the official page to reset my password.I have followed the exact steps. When I run the sql-init.txt file my bash gets stuck and the installation never completes. C:\Windows\system32>cd "C:\Program Files\MySQL\MySQL Server 8.0\bin" C:\Program Files\MySQL\MySQL Server 8.0\bin>mysqld --defaults-file="C:\\ProgramData\\MySQL\\MySQL Server 8.0\\my.ini" --init-file=C:\\mysql-init.txt --console 2019-03-04T12:06:43.930229Z 0 [Warning] [MY-010915]

Unable to reset Root Password: windows, MySQL8.0

自古美人都是妖i 提交于 2021-02-17 05:13:15
问题 I have forgotten my root password and I am following the official page to reset my password.I have followed the exact steps. When I run the sql-init.txt file my bash gets stuck and the installation never completes. C:\Windows\system32>cd "C:\Program Files\MySQL\MySQL Server 8.0\bin" C:\Program Files\MySQL\MySQL Server 8.0\bin>mysqld --defaults-file="C:\\ProgramData\\MySQL\\MySQL Server 8.0\\my.ini" --init-file=C:\\mysql-init.txt --console 2019-03-04T12:06:43.930229Z 0 [Warning] [MY-010915]

WINAPI EnumWindowsProc: Non-Standard Syntax; use & to create a point to a member

可紊 提交于 2021-02-17 04:44:10
问题 I keep getting an error when I call EnumWindows(EnumWindowsProc, 0); Which converts my BOOL CALLBACK selectionWindows::EnumWindowsProc(HWND hWnd, long lParam) function into a parameter. I know it has something to do with the classes and selectionWindows:: but I can't figure it out for the life of me. Here is the .h #ifndef SELECTIONWINDOWS_H #define SELECTIONWINDOWS_H #include <windows.h> #include "mainwindow.h" #include <QWidget> #include <iostream> class selectionWindows : public QWidget {

WINAPI EnumWindowsProc: Non-Standard Syntax; use & to create a point to a member

筅森魡賤 提交于 2021-02-17 04:43:27
问题 I keep getting an error when I call EnumWindows(EnumWindowsProc, 0); Which converts my BOOL CALLBACK selectionWindows::EnumWindowsProc(HWND hWnd, long lParam) function into a parameter. I know it has something to do with the classes and selectionWindows:: but I can't figure it out for the life of me. Here is the .h #ifndef SELECTIONWINDOWS_H #define SELECTIONWINDOWS_H #include <windows.h> #include "mainwindow.h" #include <QWidget> #include <iostream> class selectionWindows : public QWidget {

Batch script calling robocopy in Process won't terminate

五迷三道 提交于 2021-02-17 04:41:20
问题 If process.Kill() is called from another thread or even another program, the process never comes out of WaitForExit() if the batch script used robocopy.exe until it is finished as if it wasn't killed. Robocopy.exe is called from the batch script. Every other script or program ends as you'd expect. ProcessStartInfo startInfo = new ProcessStartInfo(); startInfo.FileName = "batch.bat"; startInfo.UseShellExecute = false; startInfo.CreateNoWindow = true; startInfo.RedirectStandardOutput = true;

Strange utf8 decoding error in windows notepad

醉酒当歌 提交于 2021-02-17 02:09:04
问题 If you type the following string into a text file encoded with utf8(without bom) and open it with notepad.exe,you will get some weired characters on screen. But notepad can actually decode this string well without the last 'a'. Very strange behavior. I am using Windows 10 1809. [19, 16, 12, 14, 15, 15, 12, 17, 18, 15, 14, 15, 19, 13, 20, 18, 16, 19, 14, 16, 20, 16, 18, 12, 13, 14, 15, 20, 19, 17, 14, 17, 18, 16, 13, 12, 17, 14, 16, 13, 13, 12, 15, 20, 19, 15, 19, 13, 18, 19, 17, 14, 17, 18,

Strange utf8 decoding error in windows notepad

╄→гoц情女王★ 提交于 2021-02-17 02:08:30
问题 If you type the following string into a text file encoded with utf8(without bom) and open it with notepad.exe,you will get some weired characters on screen. But notepad can actually decode this string well without the last 'a'. Very strange behavior. I am using Windows 10 1809. [19, 16, 12, 14, 15, 15, 12, 17, 18, 15, 14, 15, 19, 13, 20, 18, 16, 19, 14, 16, 20, 16, 18, 12, 13, 14, 15, 20, 19, 17, 14, 17, 18, 16, 13, 12, 17, 14, 16, 13, 13, 12, 15, 20, 19, 15, 19, 13, 18, 19, 17, 14, 17, 18,

Strange utf8 decoding error in windows notepad

人盡茶涼 提交于 2021-02-17 02:07:46
问题 If you type the following string into a text file encoded with utf8(without bom) and open it with notepad.exe,you will get some weired characters on screen. But notepad can actually decode this string well without the last 'a'. Very strange behavior. I am using Windows 10 1809. [19, 16, 12, 14, 15, 15, 12, 17, 18, 15, 14, 15, 19, 13, 20, 18, 16, 19, 14, 16, 20, 16, 18, 12, 13, 14, 15, 20, 19, 17, 14, 17, 18, 16, 13, 12, 17, 14, 16, 13, 13, 12, 15, 20, 19, 15, 19, 13, 18, 19, 17, 14, 17, 18,