Resurrecting this due to end of semester and having to mark mountains of undergrad assignments getting in the way, I've played with this some more and still no joy. I am getting the error number 32768 for my call to
mdlSystem_registerCommandNumbers()
and a grep through the MDL headers provides no joy as to what this actually means. If memory serves me correctly isn't this a catch all "I've got no idea as to what just happened" sort of error number? I'm going to see if I can hack one of the Bentley examples to show this behaviour.
I'm declaring the function that's to be called as Public and it is in a different file to the MdlCommandNumber array. Would that be a problem?
Regards,
Andrew