On Feb 23, 2006, at 11:23 AM, Charles Yeomans wrote:

  call LockPixels(pixmap)
  baseaddr = GetPixBaseAddr(pixmap)

msgbox baseaddr.StringValue(0,1024) //<shows the same thign no matter what picture




pixmap seems ok, lock pixels doesnt fail - but the pixelType always returns "" and the baseaddr seems generic, perhaps its not really the start of data(its padded somehow at the head?)


This may be because the baseAddr field of the PixMap for an offscreen gworld is a handle, not a pointer.

--------------
Charles Yeomans

my impression (and i'm likely wrong) was that its a handle in the struct, but that GetPixBaseAddr() returns the ptr behind the handle.

mike
--
Mike Woodworth
[EMAIL PROTECTED]


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to