> Poking around in the headers I found this trap. It says it was obsoleted for
> OS 3.5. Anyone know what replaced it? I'm hoping its not
> GetWindowPointer(WinGetDisplayWindow())...

  for 3.5... its :)

    void *ptr = BmpGetBits(WinGetBitmap(WinGetDisplayWindow()));

  or... just use the new API's

    void *ptr = WinScreenLock(...); // (experiment with it)

  for previous os (2.0+) versions.. its like this:

    void *ptr = (void *)WinGetDisplayWindow()->displayAddrV20;

  a little word of warning though.. while at PalmSource, testing on the
  prototype board in the lab sessions - doing any form of direct screen
  writing will *definately* fail in future devices (that dont use the
  motorolla CPU). if you are going to use direct screen access, check 
  a) version of os, b) what processor is being used.

  the ARM implementation may have a different endian implementation :)

  cheers

// az
[EMAIL PROTECTED]
http://www.ardiri.com/    <--- free games!


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to