Message 1 of 3
assertWriteEnabled causes error even though isWriteEnabled() returns true?
Not applicable
07-07-2003
07:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi again,
Can anyone help?
Here's what I'm doing
1) Lock the document for writing
2) I open an object from an entity's extension dictionary for kWrite
3) Try casting it to various classes using ::cast(p) to determine the class.
4) Use a setXXXX method of that class to try to set one of the properties
On executing assertWriteEnabled in this method I get this error message:
Fatal Error Unhandled Access Violation error reading 0x0000 Exception at
671c0e94h.
isWriteEnabled directly before the assertWriteEnabled verifies that the
object is open for write.
Does anyone have any thoughts?
Thanks in advance, (most deeply appreciated since this will be a real
sticking point) 🙂
Best regards,
Andrew Hoadley
Cavsoft
Can anyone help?
Here's what I'm doing
1) Lock the document for writing
2) I open an object from an entity's extension dictionary for kWrite
3) Try casting it to various classes using ::cast(p) to determine the class.
4) Use a setXXXX method of that class to try to set one of the properties
On executing assertWriteEnabled in this method I get this error message:
Fatal Error Unhandled Access Violation error reading 0x0000 Exception at
671c0e94h.
isWriteEnabled directly before the assertWriteEnabled verifies that the
object is open for write.
Does anyone have any thoughts?
Thanks in advance, (most deeply appreciated since this will be a real
sticking point) 🙂
Best regards,
Andrew Hoadley
Cavsoft