We are experiencing a problem with the Metricam library.
The Metricam documentation states:
Your application platform target has to be “x86″. “AnyCPU” and “x64″
is currently not working because not all camera manufacturers supply
64-bit drivers / APIs. However, we are working on a 64-bit version of
MetriCam.
.NET 2.0 compatibility: If you have a .NET 4.0 project,
please add the following line to your app.config: <startup
useLegacyV2RuntimeActivationPolicy=”true” > </startup>
We have followed this instructions, and when we run our system, a small test app, on x64 it works fine, but when we run it on x86 we get a message saying
Could not load file or assembly: WebCam.dll
We are using .NET 4.0, and compile with Any CPU (attempting to compile with x86 fails due to other library dependencies).
The required .dll's are in the bin folder, and as I said, running this app works fine on x64.
At this stage we feel totally lost and out of ideas, so if anyone could help us, we would greatly appreciate it!
Thanks!
EDIT: We've now managed to compile in x86, to no avail. We have also discovered that the problem is in the Metricam.dll which is 32 bit. No closer to a solution though...