F
Felipe Garcia
We use some unmanaged components in our project.
Until now, we were importing this components with VS.NET IDE Help, I mean,
through "Add Reference" this works fine for us. But now we decided to create
the Assemblies with the tlbimp tool help.
We created the assemblies, but they have different content, events
signatures changed and so on.
And for example, we have some legacy projects that makes use of the
MsMask32.ocx, and when we import MsMask32.ocx through tlbimp we found out
that the Validated Event went away.
My doubt is, how VS.NET IDE imports this components and creates its interops
? Is there a way to achieve this with the tlbimp tool help ?
I'm using the following command to import:
tlbimp MsMask32.ocx /primary /keyfile:key.snk /out:Interop.MsMask32.ocx
Until now, we were importing this components with VS.NET IDE Help, I mean,
through "Add Reference" this works fine for us. But now we decided to create
the Assemblies with the tlbimp tool help.
We created the assemblies, but they have different content, events
signatures changed and so on.
And for example, we have some legacy projects that makes use of the
MsMask32.ocx, and when we import MsMask32.ocx through tlbimp we found out
that the Validated Event went away.
My doubt is, how VS.NET IDE imports this components and creates its interops
? Is there a way to achieve this with the tlbimp tool help ?
I'm using the following command to import:
tlbimp MsMask32.ocx /primary /keyfile:key.snk /out:Interop.MsMask32.ocx