﻿AllocConsole() WinApi function used from a StackOverflow answer by StackOverflow user Dmitry Markin.