windows-10

How to make LoadLibrary to show error dialog when there are missing dependencies

老子叫甜甜 提交于 2021-01-27 07:36:15
问题 Suppose we have two dynamic libraries libfoo.dll and libbar.dll , given that libbar.dll depends on libfoo.dll . Further we compile an executable test.exe that loads our libbar.dll using WinAPI function LoadLibrary() . If we run text.exe on Windows XP with missing libfoo.dll , LoadLibrary() shows dialog box alerting than libfoo.dll is actually missing and sets LastError to ERROR_MOD_NOT_FOUND (126). If we run same text.exe in same conditions on Windows 10, LoadLibrary() sets LastError to ERROR

Debug flutter on iphone using VS Code on windows 10

℡╲_俬逩灬. 提交于 2021-01-27 06:53:40
问题 Is it possible to emulate a Flutter app in debug mode on an iphone connected to a windows 10 machine using VS Code? it all sounds like it wont work when I type it out :) 回答1: No, you need Xcode installed for that and that runs only on OSX. 来源: https://stackoverflow.com/questions/52175299/debug-flutter-on-iphone-using-vs-code-on-windows-10

Case-sensitive path collisions when I do git clone

走远了吗. 提交于 2021-01-26 07:10:55
问题 when I git clone the repository the following warning appears: ... warning: the following paths have collided (e.g. case-sensitive paths on a case-insensitive filesystem) and only one from the same colliding group is in the working tree: 'components/User/index.js' 'components/user/index.js' I've been reading and it may be a windows problem since case sensitive is not enabled in the folder paths. I also tried with git config --global core.ignorecase false but it keeps failing. I use Windows 10

Case-sensitive path collisions when I do git clone

天涯浪子 提交于 2021-01-26 07:10:20
问题 when I git clone the repository the following warning appears: ... warning: the following paths have collided (e.g. case-sensitive paths on a case-insensitive filesystem) and only one from the same colliding group is in the working tree: 'components/User/index.js' 'components/user/index.js' I've been reading and it may be a windows problem since case sensitive is not enabled in the folder paths. I also tried with git config --global core.ignorecase false but it keeps failing. I use Windows 10

is there a way to use the equivalent of touch in powershell to update time stamps of a file?

瘦欲@ 提交于 2021-01-24 07:16:37
问题 I use the unix command 'touch' a lot to update time-stamps of any new acquired/downloaded file in my system. Many a times the time-stamp of the existing file is old so it can get lost in the system. Is there a way in MS-Windows powershell to do so. I have both powershell 5 as well as powershell 6. 回答1: You can use $file = Get-Item C:\Intel\Logs\IntelCpHDCPSvc.log $file.LastWriteTime = (Get-Date) Or CreationTime or LastAcccessTime, if you prefer. As a function Function

How to force Win10 to install fonts in C:\Windows\Fonts?

那年仲夏 提交于 2021-01-21 03:30:06
问题 Formerly I copied a ttf-file to C:\Windows\Fonts, clicked the file to display the font, then clicked on [Install] and everything was fine. When I do this procedure now, the font is not installed in C:\Windows\Fonts, but in C:\Users\MyName\AppData\Local\Microsoft\Windows\Fonts - to the effect that when I do a GraphicsEnvironment.getAvailableFontFamilyNames() in java, the font is not found. On my PC there are currently 184 fonts installed, a number which I do not deem to cause the problem. 回答1:

Hyper-V: Create shared folder between host and guest with internal network

做~自己de王妃 提交于 2021-01-20 14:18:26
问题 Set up: Host: Windows 10 Enterprise Guest: Windows 10 Professional Hypervisor: Hyper-V Aim: Create a shared folder between Host and Guest via an internal network to exchange files How can I achieve this? 回答1: Share Files, Folders or Drives Between Host and Hyper-V Virtual Machine Prerequisites Ensure that Enhanced session mode settings are enabled on the Hyper-V host. Start Hyper-V Manager, and in the Actions section, select " Hyper-V Settings ". Make sure that enhanced session mode is

How to install OpenSSL in windows 10?

狂风中的少年 提交于 2021-01-20 14:01:32
问题 I have a question about how and what is the version of OpenSSl that I must install in Windows to later create certificates. Install a one version (openssl-1.0.2d-fips-2.0.10) found in SourceForge but it does not generate the files correctly. There is also the official website https://www.openssl.org, but I do not know how to install it and how, so that when it comes to generating the keys and .pem file, it works. Generate some environment variables that point to the folder where I unzipped

How to get a blurred translucent QML Window (similar to Fluent Design guidelines) on Windows 10?

不羁的心 提交于 2021-01-18 06:47:34
问题 I would like to get a semi-transparent blurred window in QML on Windows 10 similar to the Fluent Design guidelines (example). I know you can make a transparent window: Window{ visible: true color: "transparent" } but this doesn't achieve the blur effect I am looking at. I am also aware that one can blur elements inside the windows using QtGraphicalEffects like FastBlur but I would like to blur the entire window itself. Is there a way to achieve this? I have also tried using the QtWinExtras

Windows 10 won't recognize hand-made PE executables that work in WINE

你。 提交于 2021-01-07 02:48:32
问题 I have made (in assembler, without a linker) an EXE for x86-64 that runs perfectly well in Wine under Linux. It's a basic HelloWorld that calls MessageBoxA and ExitProcess. Windows 10 won't recognize it, saying 'This program cannot be executed on your computer, talk to your vendor for a version that will suit your computer'. I have used PE format readers (PE Tools and CFF Explorer) to analyze my PE EXE. All numbers in the PE Optional header are the same as in other working EXEs (like os