Article # 673, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
How to get handle of geode in GOC without using GeodeFind.
Q. In GOC code, how do I get the handle of another geode? In assembly I can do mov ax, handle ui ; new onwer call HandleModifyOwner How do I do this in GOC? A. Try the following code: HandleModifyOwner( myHandle, MemOwner( MemPtrToHandle( (void*)&SomeClassOrFixedRoutineInTheOtherGeode ) ) ); This way it doesn't have to lock/unlock all the coreblocks as when you're using GeodeFind().