The shared memory manager is the fly in the ointment I think.

I've just butchered QMem's shared memory manager a little and hooked that into the FPC memory manager of the DLL and rebuilt the EXE to use the same memory manager... BLERGH! *Crash* *Boom*

I did find an example online from someone who reads these boards (L505 I think) that illustrated having the application hook the DLL's memory manager. Thats an option too.

More tinkering is needed... much more :-)