VSTO 2005 second edition

K

klav

I am trying to learn how to use VSTO 2005 (SE). I have worked only with VBA
up to this point and am new to the Visual Studio environment.

I have created a couple of simple Word add-in projects which customize the
ribbon. The projects work, but upon closing Word, the following message is
displayed in Visual Studio:

LoaderLock was detected. Attempting managed execution inside OS Loader Lock.
Do not attempt to run managed code inside a DllMain or image initialization
function since doing so can cause the application to hang.

I know I can turn off the option in Visual Studio that displays this
exception but I don't know what the exception means or how to fix it. Any
help would be greatly appreciated. Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top