Page 1 of 1

reloading externals?

Posted: Tue Feb 22, 2011 3:25 am
by luddy
Hi,

I'm writing some externals of my own and during the course of debugging I need to reload them into the Max runtime. It seems that Max loads up any externals it finds when it boots up, so that if I recompile an external, the newly compiled version is not seen unless I quite Live and restart it.

Is there a way to force Live/Max to reload the externals without shutting Live down altogether?

Thanks,

-Luddy

Re: reloading externals?

Posted: Tue Feb 22, 2011 9:53 am
by pid
with C externals? no. asfaik. you have to restart. PITA. not sure about Java externals though.

Re: reloading externals?

Posted: Tue Feb 22, 2011 2:27 pm
by emmanuel_2
pid is right, you have to relaunch Max/Live with C compiled externals. JavaScript objects can be reloaded on the fly (there's even a global property called autowatch for that), and for Java based objects, you just need to reinstantiate the mxj object.

Re: reloading externals?

Posted: Tue Feb 22, 2011 6:36 pm
by luddy
Thanks! These are indeed C externals, and will soon be asm externals. :D
-Luddy