You must use the same structure alignment in your application the pre-compiled Xerces library uses. You could try rebuilding Xerces with the structure alignment you want to use, but I wouldn't recommend it.
The bottom line is you shouldn't be mucking with such an option unless you understand the ramifications.
Dave
"Gopi Krishna" <[EMAIL PROTECTED]>
01/23/2002 11:33 AM | To: <[EMAIL PROTECTED]> cc: Subject: VC++ /Zp1....failure |
HI,
�
I have a small cpp file where I will create a parser object as
�
DOMParser��� parser� = new DOMParser();
....
,,....
�
�
and call
�
delete parser after that in the same block.
�
I created this in a VC++ Debug Mode. If I set the structure alignment option as /Zp8 ( default ),
everything works fine but when I change to /Zp1, it cribs at the line where i do
delete parser. The error is
�
�DAMAGE: after Normal block(#48) at 0x010c.......
�
�
�
could anyone tell me why this is happening?
�
Your help will be Highly appreciated...
�
Regards and Thanks
gopi
