Hi,
i wrote a quite simple SAXparser with Visual Studio .NET. The compile
procedure finished without errors, but when i tried to execute the
application an error occured saying:

Assertion failed!
Program: ....
File: \xerces-c-src_2_5_0\src\xercesc\util\XMemory.cpp
Line: 102
Expression: manager !=0

When i look at the corresponding file (XMemory.cpp) at Line 102, it is part
of a method:

void* XMemory::operator new(size_t size, MemoryManager* manager)
{
    assert(manager != 0);      //LINE 102
        
        size_t headerSize = XMLPlatformUtils::alignPointerForNewBlockAllocation(
                                                                                
sizeof(MemoryManager*));
    void* const block = manager->allocate(headerSize + size);
    *(MemoryManager**)block = manager;

    return (char*)block + headerSize;
}
I have no experience in working with assertions in c++. Can anyone tell what
this method is necessary for and how my problem can be solved?
Thanks in advance!

Andre

-- 
+++ Jetzt WLAN-Router f�r alle DSL-Einsteiger und Wechsler +++
GMX DSL-Powertarife zudem 3 Monate gratis* http://www.gmx.net/dsl


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to