Even i am facing a similar kind of problem.This is my stack info when the exeption occurs.And while debugging, i found that dynamic memory allocation is failing, and it gives an NTDLL access violation.Pls provide me with a solution. NTDLL! 7c91b3fb() NTDLL! 7c96d6aa() NTDLL! 7c949d18() NTDLL! 7c91b298() _heap_alloc_base(unsigned int 34608) line 161 _heap_alloc_dbg(unsigned int 34560, int 1, const char * 0x00000000, ...