Hi all-
I'm working on an application where I have bypassed all the standard
window manager functions. I am not using constructor or any of the Palm
based windowing routines, I am however using some of the screen drawing
routines like WinDrawLine.
Anyhow, my app runs fine as long as I stay within my application, but if
I open the find dialog or the keyboard, I get the follwing:
"just read from memory location 0x800000020. This access indicates that
the application is calling a Window Manager function without first
establishing a valid DrawWindow"
My presumption is that when I open one of the system dialogs, the system
assumes I have a valid window so it can do a copy bits and maybe save
the DrawState or something, but since I don't have a window at all, it
fails. is there any way to bypass this check? I am using emulator 3.1
and have all debugging options turned off, although, I can turn all
debugging options on and run my application without any other failures
(that I have found. :-). The only failure I can create manually is to
open either the find dialog, keyboard, contrast, or any other system
generated dialog.
It runs fine on a release rom on both the emulator and the device, even
redraws the screen properly! It would have expected it to leave a
blank.
Anyhow, I'd like to do some gremlin testing with a debug rom, but can't
get past this error condition.
I am assuming there is a Palm supported API to tell the device I am not
using the standard windowing system, what have I missed?
Ted
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/