G
Guest
I have a com dll, and I add it to my VS 2005 C# project it wrap the dll in a
set of functions.
And when I'm generating the .NET wrapper dll manually by using the
TlbImp.exe, the function does not look the same.
For example:
(1) By using the add reference of the VS2005 I get the interop DLL with
function that looks like that:
void Func(int i, ref System.Array stream)
(2) By using the TlbImp.exe manually I get the interop DLL with function
that looks like that:
void Func(int i, ref byte[] stream)
Why the difference?
Can I make the VS2005 generate the interop libraries like the TlbImp.exe
does? How?
set of functions.
And when I'm generating the .NET wrapper dll manually by using the
TlbImp.exe, the function does not look the same.
For example:
(1) By using the add reference of the VS2005 I get the interop DLL with
function that looks like that:
void Func(int i, ref System.Array stream)
(2) By using the TlbImp.exe manually I get the interop DLL with function
that looks like that:
void Func(int i, ref byte[] stream)
Why the difference?
Can I make the VS2005 generate the interop libraries like the TlbImp.exe
does? How?