asdlei00 / crashrpt

Automatically exported from code.google.com/p/crashrpt
0 stars 0 forks source link

Crashrpt sample doesn't run in release mode in visual studio 2008 #86

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a visual studio 2008 win32 console app ( no clr ) project and set it 
up to link in crashrpt like the documentation says here 
http://crashrpt.sourceforge.net/docs/html/configuring_project.html.
2. Copy the code from 
http://crashrpt.sourceforge.net/docs/html/simple_example.html to the .cpp file 
in the new project to create a simple sample that uses crashrpt.
2. build the project in release 32. I first had to link in version.lib and 
change the va_start code in void log_write(LPCTSTR szFormat, ...) to
int i = 0;
va_start(args, i); instead of just
va_start(args)
3. Run the project in release mode without debugging

What is the expected output? What do you see instead?

The expected output is the crashrpt dialog. The actual result is the standard 
windows crash dialog with no output in the output window.

What version of the product are you using? On what operating system?

Version CrashRpt_v.1.2.9_r1150 on Windows 7 SP 1

Please provide any additional information below.

The crashrpt dialog comes up when I run the project in debug mode without 
debugging. I can also run the demo apps fine. By the way I built the source to 
get the libs and dlls. The source project built fine for me. And like I said 
the demos ran fine also. 

Original issue reported on code.google.com by ABrussZ...@gmail.com on 18 May 2011 at 3:07

GoogleCodeExporter commented 9 years ago
I mean the crashrpt sample doesn't show the crashrpt dialog in release mode. 
The program runs. Sorry.

Original comment by ABrussZ...@gmail.com on 18 May 2011 at 3:08

GoogleCodeExporter commented 9 years ago
I built the source in the Visual Studio 2008 IDE and then my VS 2008 console 
app worked as expected. I forced the 2005 solution to open with 2008, let the 
converter convert it and then built. This can be closed.

Original comment by ABrussZ...@gmail.com on 18 May 2011 at 8:06

GoogleCodeExporter commented 9 years ago
Issue closed per reporter's request.

Original comment by zexspect...@gmail.com on 20 May 2011 at 2:59