By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,600 Members | 1,666 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,600 IT Pros & Developers. It's quick & easy.

An outgoing call cannot be made since the application is dispatching an input-synchronous call

P: n/a
Hi

I use an ocx on my form ,when i use a buttons click event to call a method
on the ocx i have no problem.

I made a Socket communication class that invokes an eventhandler through a
delegate.

If i call the ocx method in that handler i get that error.

My eventhandler is invkod with the begininvoke async method.

What is wrong , and how can i solve it ? I think it has something to do
with threading .

any help welcome.

Johan

Nov 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Sagaert,

Why are you using BeginInvoke? Are you doing something on another
thread?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Sagaert Johan" <RE*************@hotmail.com> wrote in message
news:eq**************@TK2MSFTNGP10.phx.gbl...
Hi

I use an ocx on my form ,when i use a buttons click event to call a
method
on the ocx i have no problem.

I made a Socket communication class that invokes an eventhandler through a
delegate.

If i call the ocx method in that handler i get that error.

My eventhandler is invkod with the begininvoke async method.

What is wrong , and how can i solve it ? I think it has something to do
with threading .

any help welcome.

Johan

Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.