MSVC 2010: CrashRpt UI not called from IDE

16 views
Skip to first unread message

Paule

unread,
Jul 6, 2011, 9:17:03 AM7/6/11
to Crashrpt
Hello!

I am using CrashRpt (self-compiled) as Release DLL from MSVC 2010. The
system is a Win 7 x64, the software itself is purely 32 bit.

I am able to to register the handler. It seems my IDE interfers the
exception: It does not let the exception run through to CrashRpt. If I
call the .exe from command line, everything works fine as expected.

Btw: Can we please have a field in CR_INSTALL_INFO which defines the
language to use? I'd rather have several language INI files lying
around than copying files before CrashRpt is loaded.

Cheers,
Paule

zexspectrum

unread,
Jul 6, 2011, 11:08:02 PM7/6/11
to cras...@googlegroups.com
Hello!

Visual Studio IDE will always intercept exceptions in your software while debugging. There are no ways to fix this. If you need to test CrashRpt under IDE, use crGenerateErrorReport() function, it will generate a error report without exception raising.

See the CR_INSTALL_INFO::pszLangFilePath member. It allows to define language file name.

Paule

unread,
Jul 7, 2011, 1:57:06 AM7/7/11
to cras...@googlegroups.com
Thank you, zexspectrum, for making clear that IDE question!

Language selection also works :)
Reply all
Reply to author
Forward
0 new messages