S
swapna_munukoti
Hi all,
I am new to .net and that c#. I am currently working for a project
that includes migration from vb6 application to c#.
VB6 application communicates with a modules developed in VC++.
Now, the same logic I am trying with c#. That is c# application to
interact with VC++ modules.
I have 2 VC++ dlls, like m1 and m2, in which I used to interact with
class c1 in m1 and class c2 in m2.
something like m1.c1, m2.c2...
In m2.c2, there are functions that needs parameters (byref) of type
ic1.
where ic1 interface which includes all the definitions of m1.c1
Now the current vb6 application passes parameters of type m1.c1 to the
functions in m2.c2 and it is working fine.
But when tried to write the same in c#, it is throwing an error. It is
expecting only parameters of type ic1 interface...
Why is it so? Wont there be any other way to pass that argument of
m1.c1 type????
Thanks,
Swapna.
I am new to .net and that c#. I am currently working for a project
that includes migration from vb6 application to c#.
VB6 application communicates with a modules developed in VC++.
Now, the same logic I am trying with c#. That is c# application to
interact with VC++ modules.
I have 2 VC++ dlls, like m1 and m2, in which I used to interact with
class c1 in m1 and class c2 in m2.
something like m1.c1, m2.c2...
In m2.c2, there are functions that needs parameters (byref) of type
ic1.
where ic1 interface which includes all the definitions of m1.c1
Now the current vb6 application passes parameters of type m1.c1 to the
functions in m2.c2 and it is working fine.
But when tried to write the same in c#, it is throwing an error. It is
expecting only parameters of type ic1 interface...
Why is it so? Wont there be any other way to pass that argument of
m1.c1 type????
Thanks,
Swapna.