I have several ActiveX components that need to be obtained from a C # project.
I can import them using the Visual Studio Links dialog box, which will also automatically create a wrapper class. (i.e., ABCLib
and AxABCLib
)
I know that I can generate the primary assembly interop manually by running TLBIMP /primary
in each separate OCX file, but I could not find a way to generate the ActiveX wrapper if I did not do this using the Visual Studio user interface.
Is there a command line version that generates an ActiveX shell in the .NET SDK?
I want to generate the version AxABCLib
from PIA that I received from TLBIMP manually. (i.e. setting namespaces, output DLL file names, etc.) Is this possible?
source
share