Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-14-2006, 04:05 PM
simonr simonr is online now
Registered User
 
Join Date: 07-14-2006
Posts: 2
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.
Reply With Quote
  #2  
Old 07-15-2006, 08:55 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,757
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.
Attached Files
File Type: zip form1.zip (3.5 KB, 467 views)
Reply With Quote
  #3  
Old 07-15-2006, 02:42 PM
simonr simonr is online now
Registered User
 
Join Date: 07-14-2006
Posts: 2
Many thanks, works a treat.

Simon.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 07:32 PM.


Copyright 1999-2019 Kinook Software, Inc.