The symbols to export in the C++ files generated by the IDL-to-C++ compiler are different when building on the x64 architecture. This sort of complicates things, but it is a manageable situation.