On 2012-08-04 22:01, Timon Gehr wrote: > Return the exit code by reference: > Pass a tuple of delegate and return value to the visitorFunction per > the CXClientData pointer and make the visitorFunction store the exit > code inside the return code field. Then return that from opApply. That worked, thanks :) -- /Jacob Carlborg