Link to home
Start Free TrialLog in
Avatar of cossy74
cossy74

asked on

C# Classes Copy Constructors and DLLs

Hi,

i have a class <A> which has a copy constructor in it.
I have a DLL that i pass the  class <a> as a parameter to a function.
But i when i try to pass that class in as an object i get the message cannot convert class <A> to class <A>.

Here is the line i think it is breaking on:
           // Run Function
          fRun.Invoke(oClass, new object[] { "Test", "Test", Class <a>, "Test" });

Can anyone help??
ASKER CERTIFIED SOLUTION
Avatar of gregoryyoung
gregoryyoung
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial