C++ RC support (issue #19)