I don't remember what the output was. Anyway, I solved the problem a different way by modifying my build system so that it generates CB project files instead of compiling the code. Then I just open the CB project file and everything works correctly. This has the desired effect and works much better with CB. Thanks for your help.