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



Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, September 20, 2022 4:43:45 AM(UTC)


Groups: Registered
Posts: 10

I have this warning message twice at the 'Error list' when the vb.net project is open :
There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "Leadtools.Multimedia", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
Could you help me correcting it ?

Thank you very much

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 : Tuesday, September 20, 2022 9:30:03 AM(UTC)

Groups: Registered, Tech Support, Administrators
Posts: 89

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

Typically, an architecture error, when dealing with the LEAD Multimedia toolkit, is due to using x64 architecture with x86 libraries, or vice versa.

First, decide if the project is going to be x86 or x64.
In Visual Studio you can set this here:


Or by altering this in the "Configuration Manager" the exception references.
To find this:
>> GoTo Build
>> Configuration Manager...


Then check the "Active solution platform" and "Platform" match and are the same architecture you are developing for.


Once set, you will want to:
>> _rightClick on the project
>> GoTo Properties
>> Once properties is open, select the Build tab
>> then make sure the build path is set to the correct location
if not, you can select [Browse...] to find the correct file path

for x64 you will want to point to:

for x86 you will want to point to:


Additionally, sometimes libraries can inadvertently be overwritten when running an application pointing to the wrong architecture, so you should check the specified Leadtools.Multimedia.dll to make sure that it is still the same architecture as the file folder you are pointing to.

To make sure that the Leadtools.Multimedia.dll has not been overwritten:
>> GoTo the corresponding architecture file folder



>> Scroll to the Leadtools.Multimedia.dll
>> _rightClick on the dll
>> GoTo Properties
>> GoTo the Details tab
>> check to make sure the architecture listed matches the file folder that you are pointing to


If this is the incorrect architecture, you will want to replace the Leadtools.Multimedia.dll with the correct one.
For version 22 users, this can be done by reinstalling the SDK, which will replace all files.
For previous version users, if you do not have a copy of the file folder on hand that has not been altered, you can obtain a download link for an older version by submitting a request via email to our Support Department.
Please be sure to include the developer key being used with the request, so the Support Agent handling your request can validate a purchased license for that archived version of the SDK exists.
Chris Thompson
Developer Support Engineer
LEAD Technologies, Inc.

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.104 seconds.