title: Implementing a stack trace on Windows
body: <p>I'm implementing a crash reporting tool for a game I'm writing, and I'd like to provide a (fairly) detailed native stack trace for the report.  I've already implemented this on GNU/Linux, but I'm having trouble on Windows.  Here's some sample code I tried to get working:</p>
  
  <p><a href="http://pastebin.com/m30b50f76" rel="nofollow noreferrer">http://pastebin.com/m30b50f76</a></p>
  
  <p>Each time I call SymFromAddr, I get the error "Attempt to access invalid address."  Does anyone have experience with using StackWalk64/SymFromAddr and their kin?</p>
  
  <p>Thanks,
  Rob</p>