[Mingw-w64-public] dbghelp: different behavior when compiling with mingw or vc++

2012-03-13 Thread Vincent Torri
Hey, I'm trying to get the callstack of programs, so I try to use dbghelp. The code is here: http://codepad.org/wAhYYChY compilation is fine (see the first line to see how I compile it with mingw). I use mingw-w64, Windows XP SP2 running in virtualbox. The binary compiled with Visual Studio

Re: [Mingw-w64-public] dbghelp: different behavior when compiling with mingw or vc++

2012-03-13 Thread Earnie Boyd
On Tue, Mar 13, 2012 at 4:41 AM, Vincent Torri vincent.to...@gmail.com wrote: Hey, I'm trying to get the callstack of programs, so I try to use dbghelp. The code is here: http://codepad.org/wAhYYChY compilation is fine (see the first line to see how I compile it with mingw). I use

Re: [Mingw-w64-public] dbghelp: different behavior when compiling with mingw or vc++

2012-03-13 Thread Kai Tietz
2012/3/13 Earnie Boyd ear...@users.sourceforge.net: On Tue, Mar 13, 2012 at 4:41 AM, Vincent Torri vincent.to...@gmail.com wrote: Hey, I'm trying to get the callstack of programs, so I try to use dbghelp. The code is here: http://codepad.org/wAhYYChY compilation is fine (see the first

Re: [Mingw-w64-public] dbghelp: different behavior when compiling with mingw or vc++

2012-03-13 Thread Vincent Torri
On Tue, Mar 13, 2012 at 12:46 PM, Kai Tietz ktiet...@googlemail.com wrote: 2012/3/13 Earnie Boyd ear...@users.sourceforge.net: On Tue, Mar 13, 2012 at 4:41 AM, Vincent Torri vincent.to...@gmail.com wrote: Hey, I'm trying to get the callstack of programs, so I try to use dbghelp. The code

Re: [Mingw-w64-public] dbghelp: different behavior when compiling with mingw or vc++

2012-03-13 Thread Vincent Torri
On Tue, Mar 13, 2012 at 12:40 PM, Earnie Boyd ear...@users.sourceforge.net wrote: On Tue, Mar 13, 2012 at 4:41 AM, Vincent Torri vincent.to...@gmail.com wrote: Hey, I'm trying to get the callstack of programs, so I try to use dbghelp. The code is here: http://codepad.org/wAhYYChY