Refresh the taskbar of Windows 10

Sometimes windows 10 taskbar failed to draw the application icon. ie4uinit.exe can fix it. Create the following batch file and run it. REM @echo off set "UTIL=%SystemRoot%\System32\ie4uinit.exe"   IF NOT EXIST %UTIL% ( set "UTIL=%SystemRoot%\Sysnative\ie4uinit.exe" )   %UTIL% -ClearIconCache %UTIL% -showREM @echo off set "UTIL=%SystemRoot%\System32\ie4uinit.exe" IF NOT EXIST %UTIL% ( set "UTIL=%SystemRoot%\Sysnative\ie4uinit.exe" ) %UTIL% -ClearIconCache… Continue reading Refresh the taskbar of Windows 10

Differences of Command prompt of Visual Studio

There are many kind of shortcuts of command prompt of Visual Studio. Basically the differences are the setting of Host and Target. Host refers to the compiler or linker of which 64bit or 32bit is chosen. Target refers to the resultant exe or dll which is targeted 64bit or 32bit. Developer Command Prompt for VS… Continue reading Differences of Command prompt of Visual Studio

Build ffmpeg-debug with Windows10 64bit

Install msys2 Install the 64bit msys2. I downloaded msys2-x86_64-20161025.exe and installed it on C:\local\msys64. Install necessary tools Run msys2-64 and install tools as follows. $ pacman -S make pkg-config diffutils $ pacman -S mingw-w64-x86_64-yasm mingw-w64-x86_64-gcc mingw-w64-x86_64-SDL$ pacman -S make pkg-config diffutils $ pacman -S mingw-w64-x86_64-yasm mingw-w64-x86_64-gcc mingw-w64-x86_64-SDL Install git and obtain source files $ pacman… Continue reading Build ffmpeg-debug with Windows10 64bit

VMWare : Netwoking of Guest OS is not available after restoring

Stopping network related service will fix it. C:\WINDOWS\system32>net stop bits The Background Intelligent Transfer Service service is stopping.. The Background Intelligent Transfer Service service was stopped successfully.     C:\WINDOWS\system32>net stop wuauserv The Background Intelligent Transfer Service service is stopping.. The Background Intelligent Transfer Service service was stopped successfully.     C:\WINDOWS\system32>C:\WINDOWS\system32>net stop bits The… Continue reading VMWare : Netwoking of Guest OS is not available after restoring

MessageBox is not shown after Dialog was closed in MFC Dialog Application

In Win32, you can not show MessageBox after calling PostQuitMessage() until calling GetMessage to get out of message loop. In MFC dialog app, the dialog is set to m_pMainWnd and when dialog is closed, PostQuitMessage is called. If you want to show MessageBox after the dialog closed, there is two method to do this. Method… Continue reading MessageBox is not shown after Dialog was closed in MFC Dialog Application