Create com class wrapper in VS 2010

Is there a way I can create a com class wrapper when developing in VS 2010? If so how do I add a reference to the COM type library?


If you just want a generic marshalling wrapper (e.g. no logic, just marshalling types) here are 2 ways:

  1. Right click on your project, click "Add Reference", choose the "COM" section on the far left, and search for the library you want to import.
  2. Use TLBIMP.EXE to create a wrapper class and add that to your project.

Need Your Help

How can I create a QuickTime reference movie (.mov)?

php quicktime

I'd like to generate QuickTime Reference Movies from code (preferably PHP). The only way I've been able to do this so far is to "save for web" from QuickTime but that re-encodes everything. If I al...

Why Realm "to many" relationship having always the same reference?

swift one-to-many realm

Why is the realm-list containing the very same elements instead of different ones ?