Home Forums General XMetaL Discussion Document.getDocumentObject() returns Null Reply To: Document.getDocumentObject() returns Null

tgoglia

Reply to: Document.getDocumentObject() returns Null

So the problem seems related to the computer going into sleep mode. If I open a file, if I call my app right away I get a value from the call to getDocumentObject(). But if the computer goes into sleep mode and then restarts, this value is null.

After sleeping, I tried a call to _Document.Reload() before the call to getDocumentObject(), but this causes other strange behavior: the “Choose DTD” window is opening and my application is left frozen waiting for user input.

Reply

Products
Downloads
Support