Is there a step-by-step description for makeing VBA and VBRUN PIAs anywhere?
Documentation suggests that only the publisher of the original DLLs can
produce PIAs, and this is born out by my attempts. However, I have seen on
various Web sites, people suggesting that they have succeeded in producing
such.
Here's what I did.
> tlbimp /primary "c:\windows\system32\msvbvm60.dll" /out:Interop.VBA.dll
/keycontainer:<keyContainer> /sysarray
> regasm Interop.VBA.dll
All seems fine (even to the point that if I repeat this, I get an warning
telling me that a PIA is already registered for VBA).
And then do the following:
> tlbimp /primary "c:\directory\eric.dll" /out:Interop.Eric.dll
/Keycontainer:<keyContainer> /sysarray
I get the following error:
TlbImp error: System.ApplicationException - Assembly 'Interop.VBA' which is
registered as the primary interop assembly for type library 'Interop.VBA' is
not actually a primary interop assembly.
Regards
Eric
rfmount - 21 Sep 2004 16:07 GMT
Eric, did you obain any more information about this? Will MS provide a PIA
for VBA?
> Is there a step-by-step description for makeing VBA and VBRUN PIAs anywhere?
> Documentation suggests that only the publisher of the original DLLs can
[quoted text clipped - 24 lines]
> Regards
> Eric