Page tree
Skip to end of metadata
Go to start of metadata


COM replacement with .NET assemblies is relatively easy if the two APIs are similar, i.e., they have similar classes and members -- at least in the areas used by your application.  Here, "similar" means the number of objects and arguments involved in setting up and making calls is the same and the exceptions raised by the calls are conceptually the same.  Basically, if the code to instantiate objects and make calls to the API can be updated "in place" without having to restructure the code, then it is a close match.  If additional objects/state must be declared and instantiated or if code has to be restructured, then it is not a close match.  
Note that most API upgrades are a mix -- mostly close, but a few things are gone, or very different.  The introduction of a little run time support can help in these cases.
  • No labels