# REALMemoryBlockGetPtr replacement

**URL:** <https://forum.xojo.com/t/realmemoryblockgetptr-replacement/22688>\
**Category:** SDKs\
**Created:** [February 27, 2015, 9:55am UTC](https://forum.xojo.com/t/realmemoryblockgetptr-replacement/22688 "2015-02-27T09:55:47Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![Joe\_Ranieri](https://forum.xojo.com/letter_avatar_proxy/v4/letter/j/43a26b/32.png) [@Joe\_Ranieri](https://forum.xojo.com/u/Joe_Ranieri)\
**Post date:** [January 3, 2017, 1:03pm UTC](https://forum.xojo.com/t/realmemoryblockgetptr-replacement/22688/16 "2017-01-03T13:03:50Z")

</div>

> [@306287:@Christian Schmitz](#):
>
> read ptr from memory directly.

If you mean poking inside the REALobject itself, don’t. The internals are subject to change and it will only hurt users.

> [@306287:@Christian Schmitz](#):
>
> call once REALLoadObjectMethod for Operator\_Convert and cache it

I would recommend against this too, though more of an academic point to warn about doing this in other situations. It’s possible, albeit very unlikely, that you could get given a subclass of MemoryBlock that overrides this method.

---

_[View the full topic](https://forum.xojo.com/t/realmemoryblockgetptr-replacement/22688)._
