P
Pankaj S
Hi,
I want to use the EVC dll in my application at two forms (say form1 and
form2), so I wrote a wrapper over dll function in my application. I made the
wrapper class as singleton class. VS.net throws the following exception when
I move from form1 to form2 (or form2 to form1)
An unhandled exception of type 'System.ArgumentException' occurred in
System.Windows.Forms.dll
Additional information: ArgumentException
I'm using Application.Run and Application.Exit to move between form. If I
use ShowDialog to go the form, updating UI controls function from worker
thread doesn't get executed (it wait forever).
Does anyone have faced the same problem? what's the solution in this case?
Thanks in advance,
Pankaj
I want to use the EVC dll in my application at two forms (say form1 and
form2), so I wrote a wrapper over dll function in my application. I made the
wrapper class as singleton class. VS.net throws the following exception when
I move from form1 to form2 (or form2 to form1)
An unhandled exception of type 'System.ArgumentException' occurred in
System.Windows.Forms.dll
Additional information: ArgumentException
I'm using Application.Run and Application.Exit to move between form. If I
use ShowDialog to go the form, updating UI controls function from worker
thread doesn't get executed (it wait forever).
Does anyone have faced the same problem? what's the solution in this case?
Thanks in advance,
Pankaj