Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-14-2006, 03: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, 07:55 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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, 1443 views)
Reply With Quote
  #3  
Old 07-15-2006, 01: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


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 04:24 AM.


Copyright © 1999-2023 Kinook Software, Inc.