Greg Robinson's Blog

I report it, you decide

Click Once

Custom Authentication in Windows Forms

DataBinding Stuff

Favorite Links

My book contribution

My Book Reviews

My Personal Life

Richmond, VA .NET Users Group

Smart Client Stuff

What I am reading

Reg Free COM

Take a look at this feature in 2005:

Man do I look forward to this.  We use 3-4 3rd party com dlls in our app.  This may be a life saver for us.




Mikhail Arkhipov (MSFT) said:

Similar effect can be achieved by performing COM object instantiation old-fashion way :-). Load DLL using LoadLibrary. Locate DllGetClassObject function exported from the library using GetProcInstance(). Call the function and it returns IClassFactory. Call IClassFactory::CreateInstance with the desired GUID. No component registration is required. Works well for most native COM components.
# March 30, 2005 11:53 PM

Fedoresko said:

LoadLibrary sucks! It requires FreeLibrary!

OLE will not release DLL automatically.

# July 3, 2008 12:31 PM