#1
|
|||
|
|||
Upgrading CSharpClient to VS 2005 - Issue
Hi,
After upgrading the CSharpClient sample application to VS 2005 there are exeptions being thrown when the event 'StepDone' is fired. The following can be seen in the output window - 'A first chance exception of type 'System.InvalidOperationException' occurred in System.Windows.Forms.dll' Do I have to make some changes to get this to work with 2005? Regards, Simon. |
#2
|
|||
|
|||
The code was not properly marshalling the events back to the GUI thread (for some reason it only seems to be a problem when running under the VS2005 debugger). Attached is a fix.
|
#3
|
|||
|
|||
Many thanks, works a treat.
Simon. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|