How do you generate an RCW from a COM object?

Q

How do you generate an RCW from a COM object?

✍: Guest

A

Use the Type Library Import utility shipped with SDK. tlbimp COMobject.dll /out:.NETobject.dll or reference the COM library from Visual Studio in your project.

2014-12-04, 1440👍, 0💬