Sunday, March 20, 2005

Virtual Machines & VMware--Part II

Virtual Machines & VMware--Part II

Some funky stuff about vmware using the redo files and such for effectively multiple machines based on the one baseline, etc etc. Cool stuff!

Wednesday, March 16, 2005

Calling a .NET Component from a COM Component

Calling a .NET Component from a COM Component

Actually, here's the goods on calling .net assemblies from Win32. The title should really be "Calling a .NET Component from a COM CLIENT", but I can't help that.

Assembly Registration Tool (Regasm.exe)

Assembly Registration Tool (Regasm.exe)

Use this to register assemblies for COM Interop.

In something more like english, you can use this to make a .net dll look like a com in-process server. However, the .net assembly needs to be in the working folder of whatever tries to invoke it as a com object (weird but true).

To fix that, you need to register your object in the GAC. Then it can sit in a registered spot and be accessible everywhere, like an ordinary com server.