Check out the Inline modules. Inline:CPP may be of use for your current problem, but they're all fun to work with :).
In reply to Re: Can this be done? by cjf in thread Can this be done? by nikita