.net Dll Does Not Load Unless The .net Project Is Built For X86
I am using the SDK in a vb.net 2005 project (although I experienced the same on a vb.net 2010 project). My development machine is a x64 machine. Unless I specifically build the project for an x86 platform, I get the message that it can't load the .DLL or one of it's dependencies. Is this normal and if so, will you be coming out with a .dll which is supported on x64. I generally program my applications to be built under the "Any CPU" option.
0
-
Hi, BumpaRoy :
BarTender is a 32 bit application but is fully compatible with 64 bit OS.
You need to set platform target (when compiling) to x86 (32bit) since Bartender is only 32bit at the moment. You can reference http://msdn.microsoft.com/en-us/library/5b4eyb0k.aspx for the setting.
You can check our web site http://www.seagullscientific.com/aspx/welcome.aspx for new information if we release 64 bit Bartender application. You can also register with us to get periodically newsletter for more information or contact local regional support to notify you when we release 64 bit application if this is very important feature for you.
Thanks!0 -
Got bit by this one too. "Any CPU" is a no go, and I cannot change our build method to accommodate just bartender's wrapper. 0 -
Gene Henson
★ BarTender Hero ★
Hello,
I just wanted to share a little bit more information about the misleading "Any CPU" option. Long story short, choosing "Any CPU" actually means that it will run natively on whatever CPU it is currently running on. So, on an x64 machine it will run as a 64-bit application. This causes a problem when using BarTender because BarTender is a 32-bit application, so our DLLs are 32-bit cannot be used by a native 64-bit application. The correct option is to specifically mark your application to run as x86. You will still be able to run your application on a 64-bit computer, but it will run in under WOW64 in that instance.
Here are a link that describes the situation in more detail:
//blogs.msdn.com/b/rmbyers/archive/2009/06/09/anycpu-exes-are-usually-more-trouble-then-they-re-worth.aspx0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
3 Kommentare