Zum Hauptinhalt gehen

Suche

Suche

.net Dll Does Not Load Unless The .net Project Is Built For X86

Kommentare

3 Kommentare

  • Avatar
    Susan Chen
    Moderator
    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
  • Avatar
    Legacy Poster
    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
  • Avatar
    Gene Henson
    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.aspx
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.