I'm just totally swallowing my pride on this one and posting this obscene mess of code. Forgive the cliche but I'm NOT a classically trained programmer, it's been my one of my pet projects for learning C which of course means lots of trial and error and beginners mistakes.
In particular I'm having issue with deleting and creating a new object and changing the camera dims during run time.
One thing that's missing from this code post (though it should be obvious what's required), you need a folder called artk.support in the Max5/ folder (can't be in the cycling 74 folder at the moment, fopen rejects any spaces in the path to camera.dat or multi/objectdata2
objectdata2 is being used with 4 obejcts, currently hard coded for 4 outlets.
The help patch is particularly scary but it's just an early version I picked out at this late hour so there was something to test with.
I know it's rough but I've heard a lot of interest in this recently. Hopefully someone will find it useful.
Currently the compile is Intel Mac only.