Welcome Guest! To enable all features, please Login or Register.



Last Go to last post Unread Go to first unread post
#1 Posted : Thursday, September 9, 2010 5:39:00 AM(UTC)

Groups: Registered
Posts: 4

My application was originally written on XP using VS2005. I have since transferred the project to a machine running Win7 (32) VS2010. When I attempt to run the project I get "Could not load file or assembly 'file:///.......\Win32\LeadTools.WinForms.dll or one of its dependecies. An attempt was made to load a program with an incorrect format.

Could anyon throw any light on this,
Many thanks

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Friday, September 10, 2010 10:32:05 AM(UTC)


Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

You will get this error if you try to use 32bit DLLs in a 64bit app or vice-versa.  If your app is set to Any CPU then the app will run as 64bit if it is running on a 64bit OS, and if you have the 32bit DLLs referenced it will not be able to load them.  The solution is to set the project platform to x86 and use the Win32 DLLs or set the app to x64 and use the x64 DLLs.

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.040 seconds.