Garth, I think you misunderstood the issue. I have a C# assembly that is exposing functionality via COM. I will be using it both from a managed C# application and a legacy application: old, unmanaged C++ that can't be wholesale ported. (But ought to be!) I'd like to register a single AnyCPU dll so it can be used if the managed application is either 32 or 64 bit, as well as by the legacy app via COM. I suppose I can only register the 32 bit COM, at least for now. But can I do that with an AnyCPU dll, or do I still need to build two versions of the dll: 32 bit (==x86) for COM, and AnyCPU for managed app use?
"Fairy tales do not tell children the dragons exist. Children already know that dragons exist. Fairy tales tell children the dragons can be killed." - G.K. Chesterton