-
July 25th, 2005, 03:38 AM
#1
Exception Occured
Hi All,
I am using the Dom Parser for parsing the Xml document.
I am using the COM calls(CoInitialize ,CoInitialize ,CreateInstance ) for the parsing the xml.
The body of function code executing fine, But at the termination braces of function it is
giving strange exception (Unhandled Exception in Decrypt.exe (NTTDLL.dll) oxC0000005: Access
Violation .
I do not know why it is hapening . I am freeing every dynamically alocated memory.
Please help me out.
Thanks in advance
-
July 25th, 2005, 03:50 AM
#2
Re: Exception Occured
Originally Posted by CoolStar
Hi All,
I am using the Dom Parser for parsing the Xml document.
I am using the COM calls(CoInitialize ,CoInitialize ,CreateInstance ) for the parsing the xml.
The body of function code executing fine, But at the termination braces of function it is
giving strange exception (Unhandled Exception in Decrypt.exe (NTTDLL.dll) oxC0000005: Access
Violation .
I do not know why it is hapening . I am freeing every dynamically alocated memory.
Please help me out.
Thanks in advance
can you post your code plz.without this unable to tell wat's the problem.
and r u working with Internet Explorer .
-
July 25th, 2005, 03:51 AM
#3
Re: Exception Occured
That exception is caused by a memory error. You are probably reading or writing to invalid memory (maybe reading or writing to memory that you have already deleted or overstepping bounds).
If the error happens on termination it is because the destructors are possibly calling delete on memory that has already been deleted. It can also happen if you are trying to delete from the wrong heap, i.e. if a DLL allocated memory then the DLL must also call the final "delete" on it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|