Product | IDE version | Solution version(s) | Platform toolset | _MSC_VER |
---|---|---|---|---|
Visual Studio 2022 | 17.0 | ? | v143 | ? |
Visual Studio 2019 | 16.0 | ? | v142 | ? |
Visual Studio 2017 | 15.0 | 12.0 | v141 | 1910 |
Visual Studio 2015 | 14.0 | 12.0 | v140 | 1900 |
Visual Studio 2013 | 12.0 | 12.0 | v120 | 1800 |
Visual Studio 2012 | 11.0 | 12.0 | v110 | 1700 |
Visual Studio 2010 | 10.0 | 11.0 | v100 | 1600 |
Visual Studio 2008 | 9.0 | 10.0 | v90 | 1500 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Windows.h> | |
#include <iomanip> | |
#include <iostream> | |
#pragma comment(lib, "dxguid.lib") | |
#define DIRECTINPUT_VERSION 0x700 | |
#include <dinput.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved. | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: | |
// | |
// The above copyright notice and this permission notice shall be included in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Origin Helper | |
// @author anadius | |
// @namespace anadius.hermietkreeft.site | |
// @homepageURL https://anadius.hermietkreeft.site/origin-helper | |
// @match *://www.ea.com/* | |
// @version 2.2.3 | |
// @icon https://user-images.githubusercontent.com/8550471/187077252-2905e2dc-3241-4946-b1b3-f845a337d766.png | |
// @icon64 https://user-images.githubusercontent.com/8550471/187077254-476758f1-b784-45bf-a484-18d3ac704e44.png | |
// @grant GM.xmlHttpRequest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cmath> | |
// Sample of an optimizer bug in Visual Studio 2003 - 2019 (or more) | |
// | |
// Compiling this program in Release (/O1, /O2 or /Ox and LTCG) in both x86 and x64 | |
// configurations produces a different output from unoptimized (Debug) configurations. | |
// | |
// Expected output: 709 | |
// Produced output: 31 |
I need to clarify when I refer to TDecimate I'm referring to both TDecimate and VDecimate (which is a port of it to VapourSynth)
Time and time again I see people using this function to decimate for inverse-telecine purposes but I implore you to continue reading this and use an alternative decimation method.
Simply put, it's far too inaccurate and it is ruining a lot of encodes.
I started with a Windows 10 Enterprise Evaluation VM, version 1809, from here: https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/ Then I installed the needed tools:
- Install Visual Studio Community 2019 Edition from https://visualstudio.microsoft.com/downloads/, version 16.4.2. Make sure to install the Desktop development for C++ workload.
- Check here for the pinout. You will also need a 1.8V level shifter.
- Go to https://toolchains.bootlin.com
- Select arch: armv7-eabihf
- Select libc: glibc
- Download bleeding-edge
- Uncompress it (for example to
/opt
)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "stdafx.h" | |
void RasiePrivileges(void) | |
{ | |
HANDLE hToken; | |
TOKEN_PRIVILEGES tkp; | |
if (!OpenProcessToken(GetCurrentProcess(), | |
TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, | |
&hToken)) { |
NewerOlder