[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.interop

RegFree COM ClickOnce an PublicNotCreateable VB6 Class

Van den Driessche Willy

5/9/2007 1:56:00 PM

Hy,

I found a post in January 2006 by "Scott" <shembrough ... community.nospam>
titled "Reg-free COM problem".

He describes that RegFree COM doesn't work for a component written in VB6
that uses public not Createable classes.
I have exactly the same problem :

I have created a VB6 testproject with a global multiuse class (GMU), a
multiuse and a publicnotcreateable (PNC). From the moment I add a member to
the PNC class, I get this error in the .NET demo project that uses the demo
VB6 component :

Error Problem isolating COM reference 'TestRegFree': Registry key
'HKEY_CLASSES_ROOT\CLSID\{22e5a51d-4f83-47e0-9b2b-54ccdc269b9b}\InProcServer
32' is missing value '(Default)'. TestRegFreeCOM

( Bot other classes don't provoke any problems)

Besides changing the class to MultiUse, is there any known solution for
solving this problem ? Can I generate the RefFree COM manifest myself (-
and How do I integrate it in visual studio 2005 ?)


Thanks.
Van den Driessche Willy.