Currently, I'm facing a problem with "CrashRpt_v.1.4.3_r1645".
If I turn on the video recording feature, the crashrpt.xml is generated with no properties. These properties are correctly generated when the video recording is disable.
CR_INSTALL_INFO info;
memset(&info, 0, sizeof(CR_INSTALL_INFO));
info.cb = sizeof(CR_INSTALL_INFO);
info.pszAppName = _T("XXXX"); // Define application name.
info.pszAppVersion = _T("1.0.0"); // Define application version.
// URL for sending reports over HTTP.
info.pszUrl = _T("http://XXX/crashfix/index.php/crashReport/uploadExternal");
// Define delivery transport priorities.
info.uPriorities[CR_HTTP] = 1; // Use HTTP.
info.uPriorities[CR_SMTP] = CR_NEGATIVE_PRIORITY; // Not use SMTP.
info.uPriorities[CR_SMAPI] = CR_NEGATIVE_PRIORITY; // Not use Simple MAPI.
// Define flags.
info.dwFlags = 0;
// Install all available exception handlers.
info.dwFlags |= CR_INST_ALL_POSSIBLE_HANDLERS;
//info.dwFlags |= CR_INST_NO_GUI;
info.uMiniDumpType = MiniDumpWithFullAuxiliaryState; // Define minidump size.
int nInstResult = crInstall(&info);
assert(nInstResult == 0);
crAddScreenshot2(CR_AS_VIRTUAL_SCREEN | CR_AS_USE_JPEG_FORMAT, 50);
SIZE FrameSize = { 0, 512 };
crAddVideo(CR_AV_VIRTUAL_SCREEN | CR_AV_QUALITY_GOOD | CR_AV_NO_GUI,
2000, // 10 seconds long video
100, // 100 msec between frames (5 FPS)
&FrameSize,
NULL
);
crSetCrashCallback(CrashCallback, NULL);
crAddProperty(_T("Test"), _T("Test"));