qmake fails after lrelease failed

6 years ago

Project ERROR: Failed to run: 'lrelease.exe' In 64bit Windows environment, 64bit and 32bit application have some different properties like the…

Visual Studio’s resource editor fails to open a Form because the class is not the first class in the header file (C++/CLI)

6 years ago

Suppose you have a following header file and tries to open it in the resource editor of Visual Studio. namespace…

Ruby does not run with missing _wfreopen_s

7 years ago

I do not know what causes this. But I upload my own build of ruby built with VC9. This must…

Firefox keeps asking to set it as a default browser

7 years ago

Run the following command as normal user and as administrator. firefox.exe -silent -setDefaultBrowser uninstall\helper.exe /SetAsDefaultAppGlobal uninstall\helper.exe /SetAsDefaultAppUser

warning LNK4075: ignoring ‘/EDITANDCONTINUE’ due to ‘/SAFESEH’ specification

7 years ago

When you upgraded your VC++ project to Visual Studio 2013 or later(?), this warning appears. It looks like VS failed…

BadImageFormatException not handled

7 years ago

This exception occurs when AnyCpu-C# app tries to load X86 assembly in 64bit environment. Change the app configuration to X86…

Install of VS2017 broke VC#2008 coloader80.dll configuration

7 years ago

Open command prompt with Admin priviledge and do followings. regsvr32 "%CommonProgramFiles%\Microsoft Shared\VS7Debug\coloader80.dll" if it fails, do this. regsvr32 "%CommonProgramFiles(x86)%\Microsoft Shared\VS7Debug\coloader80.dll"

CMake could not find boost

7 years ago

Create a new CMakeFiles.txt below in a new folder. cmake_minimum_required(VERSION 3.7) set(Boost_DEBUG 1) set(Boost_DETAILED_FAILURE_MSG 1) set(Boost_INCLUDE_DIR Y:/L/boost_1_53_0) set(Boost_LIBRARY_DIR Y:/L/boost_1_53_0/lib) set(Boost_USE_STATIC_LIBS…

How to check Windows or process is 64bit

7 years ago

typedef BOOL (WINAPI *LPFN_ISWOW64PROCESS) (HANDLE, PBOOL); bool Is64BitWindows() { #if defined(_WIN64) return true; // 64-bit programs run only on Win64…

Visual Studio 2017 add a context menu item “Open With Visual Studio” on the shell extension of directory

7 years ago

Remove HKEY_CLASSES_ROOT\Directory\Background\shell\AnyCode and HKEY_CLASSES_ROOT\Directory\shell\AnyCode from Registry to delete it.