Steve Lemke <[EMAIL PROTECTED]> wrote:
>Another way to find out would be to attempt to open your database in
>read/write mode.
With the release of FlashPro I had reports of fatal exceptions in my app if
it is in ROM. I have found out that using DmOpenDatabase to try to open my
app in ReadWrite mode does not return 0 as it should but returns some
DmOpenRef value. Any following call (incl. DmCloseDatabase) using the
returned DmOpenRef then leads to fatal exception.
DmOpenDatabase works correctly if used on any other database but the running
app.
So is there a way to find out whether my running app is in ROM?
Thanks,
Petr Bajer