InvalidProgramException is present for compatibility reasons only. Never create instances of this class manually. Use the InvalidProgramException class instead. Never wrap the InvalidProgramException class instances into System::SmartPtr....int32_t ) Sets HRESULT, a coded numerical value that is assigned to...