Re: Help! How to debug if only release version crashes...

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Alexander Gräf (graef_at_milanomedien.com)
Date: 01/05/05


Date: Wed, 5 Jan 2005 19:43:16 +0100


"Song" <aattccgg@hotmail.com> schrieb im Newsbeitrag
news:7FDC0B15-F77A-4C23-9484-162B9BCCE393@microsoft.com...
> Hi, gurus,
>
> I am new with visual studio... I am trying to build a standalone C++
> project
> by MS visual C++, the problem that I have is: if compile it as "Release"
> version

This has definetely nothing to do with .NET. In most cases where this
happens, it is because you are writting beyond allocated memory, or are
freeing it two times. That's a common error when handling BSTR in COM
programming. Simply download a trial of BoundsChecker
(http://www.compuware.com/products/devpartner/bounds.htm) and run Visual
Studio on the debug release. In most cases, this will show you a bunch of
errors, and maybe one of them is crashing your release built app.

Regards



Relevant Pages

  • Re: Best IDE, Program for .NET App
    ... > Hi all u gurus, ... > Just wondering what is the best program for getting started in writting ... > some .net apps, ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Best IDE, Program for .NET App
    ... > Hi all u gurus, ... > Just wondering what is the best program for getting started in writting ... > some .net apps, ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)