Re: MemPtrOwner runtime error

2004-05-20 Thread Chris Mitra
Thanks all... Mostly I was just calling this for debugging, to try to verify that the BitmapPtr created from my call was using my owner ID. (Since I wanted to try changing that owner ID by calling MemPtrSetOwner(), but that call failed with an memErrInvalidParameter error). -- Chris "Gavin Maxw

Re: MemPtrOwner runtime error

2004-05-20 Thread Jonatan Fernstad
>Sys 0505)(0,23)" Error code 505 means that the function you are trying to call (MemPtrOwner) is not implemented on the device you are running your app on. Jonatan "Chris Mitra" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, > > I'm running into a runtime error when tryin

re: MemPtrOwner runtime error

2004-05-20 Thread Gavin Maxwell
MemPtrOwner is an undocumented API and not supported under OS 5... Seems strange that you would want to call this anyway... what are you trying to achieve? There might be an easier/more supported way of doing it. HTH, Gavin. -- For information on using the Palm Developer Forums, or to unsubscr

MemPtrOwner runtime error

2004-05-20 Thread Chris Mitra
Hi all, I'm running into a runtime error when trying to retrieve the current owner ID of a newly created BitmapPtr. The code is pretty straightforward, so I'm wondering if there are some underlying assumptions which I'm missing. Basically: UInt16 bmerr = 0; BitmapType *newBm = BmpCreate(20, 20,