RE: [bdbxml] asString
"adrian" <[email protected]>
| Newsgroups | gmane.comp.db.dbxml.general |
|---|---|
| Message-ID | <[email protected]> |
You could try compiling everything with the _DLL pre-processor directive. This worked for me a while ago. I had a _CrtIsValidHeapPointer exception thrown on similar operations and it was due to objects allocated on a dll heap being destroyed on the application heap. I think that this switch forces all code to use the local application heap and came across it after digging through the CRT source. I am no expert on this stuff but it did get rid of the problem. I was using Visual Studio .NET 2003. Another recommendation at that time was ensure everything was compiled with the same switches (presumably do no mix and match debug and release code) but this didn't help. Regards, Adrian. _____ From: Chun, Nathan [mailto:[email protected]] Sent: 21 June 2005 13:29 To: [email protected] Subject: [bdbxml] asString Hi everyone: I'm new to DBXML, and having a problem with using the XmlValue.asString method. I get a micosoft exception trying do deallocate a pointer from the heap when I make the call. I'm using Visual C++ .Net 7.1. on XP. Can anyone help? Nathan