Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Upgrading CSharpClient to VS 2005 - Issue (https://www.kinook.com/Forum/showthread.php?t=1924)

simonr 07-14-2006 03:05 PM

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.

kinook 07-15-2006 07:55 AM

1 Attachment(s)
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.

simonr 07-15-2006 01:42 PM

Many thanks, works a treat.

Simon.


All times are GMT -5. The time now is 06:43 PM.


Copyright © 1999-2023 Kinook Software, Inc.