> I have a similar problem that occurs only with OS v3.5. Basically, I do
> this:
>
> int dummy;
> WinHandle Save;
> RectangleType screen = {{0,0},{160,160}};
>
> Save=WinCreateOffscreenWindow(160,160,screenFormat,(Word *)&dummy);
> WinCopyRectangle(WinGetDisplayWindow(),Save,&screen,0,0,scrCopy);
>
> This causes POSER to give the following error:
>
> ...just read from memory location 0x80000020. This usually means
> that the application is calling a Window Manager Function without
> first establishing a valid DrawWindow.
>
> It be great if someone can point out what's going on here!
WinSetDrawWindow(WinGetDisplayWindow());
do that before you do anything with WinCopyRectangle() - you need to
make sure there is an active draw window :) easy fix. also discussed
in forum archives a while back
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO +46 70 656 1143
Mobile Wizardry http://www.mobilewizardry.com/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/