# Hello, I assume people are still alive! + MemoryBlock Q

**URL:** <https://forum.juce.com/t/hello-i-assume-people-are-still-alive-memoryblock-q/106>\
**Category:** General JUCE discussion\
**Created:** [September 22, 2004, 4:47pm UTC](https://forum.juce.com/t/hello-i-assume-people-are-still-alive-memoryblock-q/106 "2004-09-22T16:47:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ModuLR](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@ModuLR](https://forum.juce.com/u/ModuLR)\
**Post date:** [September 22, 2004, 4:47pm UTC](https://forum.juce.com/t/hello-i-assume-people-are-still-alive-memoryblock-q/106/1 "2004-09-22T16:47:33Z")

</div>

hehehe…

just wanted to say wasuppers! 'ello! BTW, still tearing it to juce… w00t! :lol:

which reminds me… hey jules, why are you using MemoryBlock in the vst demo to pass getchunk info? isn’t it easier just to pass a pointer to your structure or whatever contains your parameters. I tried using memoryblock and could never get it to rebuild the chunk correctly. While passing a pointer to a struct was very easy and would rebuild itself with no problem. Just curious as to the reason… ? and maybe some help with what I might be doing wrong… 8)

---

<div class="post-metadata">

**Author:** ![ModuLR](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@ModuLR](https://forum.juce.com/u/ModuLR)\
**Post date:** [September 24, 2004, 4:57pm UTC](https://forum.juce.com/t/hello-i-assume-people-are-still-alive-memoryblock-q/106/2 "2004-09-24T16:57:55Z")

</div>

I figured out how to use MemoryBlock… I s’pose that is what docs are for… (void \*)MemoryBlock will return a pointer to the data contained in it. Duh! :lol:

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [September 27, 2004, 8:29pm UTC](https://forum.juce.com/t/hello-i-assume-people-are-still-alive-memoryblock-q/106/3 "2004-09-27T20:29:15Z")

</div>

MemoryBlocks are just a lot easier to keep track of and avoid memory leaks, and shouldn’t be any slower than allocating the memory manually.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [May 12, 2017, 9:50am UTC](https://forum.juce.com/t/hello-i-assume-people-are-still-alive-memoryblock-q/106/4 "2017-05-12T09:50:59Z")

</div>

Closed on May 12, 2017, 9:50am UTC


