Streamer problem in visual studio

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
E_521156
Level 4
Level 4
100 sign-ins 50 replies posted 50 sign-ins

Hi,
I am trying to run "streamer" in visual studio 2019 or 2015.  When i ticked "transferred data". I got this error : an unhandled exception of type 'system.invalidoperationexception' occurred in system.windows.forms.dll. I couldn't find the solution for that. is there any suggestion?
Thanks

0 Likes
1 Solution
YatheeshD_36
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello,

While debugging the application this issue is seen when you check the "Show Transferred Data" and then start streaming, as the application is accessing the control before the main thread is initialized. You can implement a thread safe call to the application source.

This is not a problem when the application is running.

Best Regards,

Yatheesh

View solution in original post

0 Likes
1 Reply
YatheeshD_36
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello,

While debugging the application this issue is seen when you check the "Show Transferred Data" and then start streaming, as the application is accessing the control before the main thread is initialized. You can implement a thread safe call to the application source.

This is not a problem when the application is running.

Best Regards,

Yatheesh

0 Likes