Hi ! While debugging a program, I found that MemHandleLock could return a pointer which does not contain a modulo 4 adress !! An exemple, is always more clear : handle = DmGet1Resource( type, id ); ptr = MemHandleLock( handle ); Here, ptr point to the datas in the ressource. I was expecting this pointer to be modulo 4, but it is not always the case... As the datas I access to are all aligned on 32 bits boundary, I woud like to know how I can force the value returned by MemHandleLock to be mod 4. BTW, I'm almost sure that accessing a 32 bits value on a non 32 bits address generate a bus error on a 68K processor, it is not the case under PalmPilot ?? Thanks. -- Daniel Morais -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
