+1 vote

I'm running vs 2013 on window 7 64 bits. I have reference to MailBrowserControl.dll and ProtocolEx.dll (x64 version). Unfortunately when I add component to vs2013 toolbox, it only shows the MailBrowserControl component (x86 version). As the result, I couldn't add control to my win form. Is there any solution for this issue?

by

1 Answer

+1 vote

There are 2 versions of MailBrowserControl.dll and ProtocolEx.dll: 64bit and 32bit.

You can find 64bit versions in:

"Program Files/Limilabs/Mail/Redistributables/MailBrowserControl/x64/"

and 32 version here:

"Program Files/Limilabs/Mail/Redistributables/MailBrowserControl/x86/"

The problem is that VisualStudio is 32 bit application. It can't load and use 64bit components at design time.

What you need to do is to develop your application as 32 bit (reference 32 bit versions of MailBrowserControl and ProtocolEx), and at build/release time create a 64 bit version with references to 64 bit assemblies.

by (301k points)
...