Excel 2010 64-bit is crashed with add-in

Nov 14, 2013 at 4:20 PM
Hello,

My Excel-DNA add-in prototype is working on 32-bit Excel. I decided to install 64-bit Office 2010 in order to verify Excel-DNA. I registered 64-bit version of XLL, having created appropriate .dna file. DNA file has reference to .NET framework 4.0. Excel was crashed.
I compiled exceldna-79914 in 64 bit (switched for ExcelDna project). Then ran debug with Excel. I found that Excel is crashed on the line:

hr = pAppDomainHelperType->InvokeMember_3(CComBSTR("CreateFullTrustSandbox"), (BindingFlags)(BindingFlags_Static | BindingFlags_Public | BindingFlags_InvokeMethod), NULL, sbTarget, sbArgs, &sbRetVal);
in the method LoadAppDomain().

Could you propose a solution for my case?

regards,
Stanislav Lekh
Nov 14, 2013 at 6:30 PM
Hello,

I found the reason. The problem was CryptoPro .NET provider that was seamlessly loaded for each .NET based application.
I removed CryptoPro .NET and Excel 2010 x64 add-in works now.
It is solved.

regards,
Stanislav Lekh
Coordinator
Nov 14, 2013 at 6:54 PM
Glad you were able to resolve it.
-Govert