Sharing memory between Max and Java

Jul 14, 2012 at 11:57am

Sharing memory between Max and Java

Hi Developers,

for those who usually don’t read the Java forum (like me): I just posted a question there which might also have to do with ‘classic’ Max development: http://cycling74.com/forums/topic.php?id=41480 If you have any idea, please don’t hesitate to help me.

Thanks,
Ádám

#35911
Jul 18, 2012 at 4:31pm

Hi Ádám.

I guess you must go through the JNI. I can’t say I really know it, but it doesn’t look too complicated.
What I have no clue about is how to pass low-level data (i.e. pointers) from the Max environment to your JNI functions, but according to
http://cycling74.com/forums/topic.php?id=28424 it should be possible – the interesting part is Joshua’s reply of course ;)

sorry for not being very helpful…
good luck – and let me know if you find out something!!!
aa

#123031
Jul 18, 2012 at 4:35pm

Unrelated but still wanted to share this: whenever you post a question in a “sub-board” it always appears on the “all” board as well. Many people go over the ‘All’ board before checking up on the boards of their interest (in my case ‘maxmsp’ and ‘max for live’). So even if you post on a somewhat slow board chances are high many people see your post anyway.

#123032

You must be logged in to reply to this topic.