|
Boost Users : |
From: Nir Dremer (nir_dremer_at_[hidden])
Date: 2002-07-03 03:03:12
This problem is bad heap allocation.
if anywhere in your program you create something using
the new operand and afterward access some ilegal
position (beyond the end of the allocation) - vc7
compiler will detect that and will popup an assert.
regex++ is working excellent with vc7 so you can
assume it's something in the code you wrote that
corrupts the heap.
Good idea would be to refer to _CrtCheckMemory() API
and to debug you allocations code.
Cheers,
Nir
--- regexpp <john_maddock_at_[hidden]> wrote:
> --- In Boost-Users_at_y..., "john_p_osborn"
> <john_p_osborn_at_y...> wrote:
> > When I upgraded to Visual Studio .NET my programs
> that use regex++
> > stopped working. Many simple calls fail during
> string destruction
> > with bad heap pointers. I never had any problems
> under msvc
> version
> > 6. Has anyone else experienced this? Is a
> problem with the new MS
> > STL?
>
> Nope, but make doubly sure that you are using a
> shared memory
> allocator, and if your project uses dll's that all
> the dll's are
> built with the same code generation options (ie the
> dll runtime).
>
> Hope this helps,
>
> John Maddock
>
>
__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net