fix _tWinMain return
also fixed output to console and StdOut
and suppressed warning
_tWinMain was missing return statement and executable returned random error code (713 happened to be in EAX)
Also it was also writing output to console only. Added writing to StdOut if it is open (good for pipe-ing)
Also OutputDebugStringW was polluting now only in _DEBUG
And suppressed warning for deprecated Win32 API (irrelevant)
fix _tWinMain return also fixed output to console and StdOut and suppressed warning
_tWinMain was missing return statement and executable returned random error code (713 happened to be in EAX) Also it was also writing output to console only. Added writing to StdOut if it is open (good for pipe-ing) Also OutputDebugStringW was polluting now only in _DEBUG And suppressed warning for deprecated Win32 API (irrelevant)