Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default ContextSwitchDeadlock with Excel VSTO

Hi,

I'm working in VS 2005 with an Excel VSTO. When I'm debugging the project,
suddenly after a specific time the "ContextSwitchDeadlock" exception occurs.
The project runs, but further debugging is impossible.

The MSDN documentation says that this code

<mdaConfig
<assistants
<contextSwitchDeadlock enable="false" /
</assistants
</mdaConfig

should be added, but where can I add this?
A collegue says that you have to set the MTAThreadAttribute to True in the
Main() of the application, but where is the Main () of a VSTO, I can't find
it.

Does anyone have a solution for this?

thanks
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VSTO 2.0 vs Excel VBA Ben Excel Programming 1 November 3rd 05 02:17 PM
VSTO: calling excel funcions? Lars Schouw Excel Programming 4 October 24th 05 07:31 PM
Excel in VSTO Milo Excel Programming 0 June 17th 05 02:57 AM
Get VSTO code to run on every launch of Excel Dave Excel Programming 1 December 8th 04 08:56 PM
VSTO Excel Addin JK Excel Programming 0 April 14th 04 09:26 PM


All times are GMT +1. The time now is 03:08 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"