How to Setup a strong name wrapper for com interop dll.

  • Thread starter Jason Garland \(Secure Access Pty Ltd\)
  • Start date
J

Jason Garland \(Secure Access Pty Ltd\)

Hi

I am trying to work out how to either create a strong name wrapper for AxInterop.SHDocVw.dll

I have researched the following :

- 'Wrapper Assembly Key' but this is apparently for c# projects only

- i tried tlbimp.exe but i get

tlbimp.exe AxInterop.SHDocVw.dll /keyfile:"C:\Signing\SA.Pair.Snk" /out:AxInterop.SHDocVw.Strong.dll

Microsoft (R) .NET Framework Type Library to Assembly Converter 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

TlbImp error: The input file 'C:\ClassControl.Signing\StrongName3rdParty DLLS\AxInterop.SHDocVw.dll' is not a valid type library

- I also tried Aximp.exe

AXIMP.exe AxInterop.SHDocVw.dll /keyfile:"C:\Signing\SA.Pair.Snk" /out:AxInterop.SHDocVw.Strong.dll
AxImp Error: Error loading type library/DLL.


any Thoughts ?
 
M

Mattias Sjögren

Jason,

The input to Aximp/Tlbimp should be Shdocvw.dll, not an existing
interop assembly.



Mattias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top