Problem


If you are receiving “can't find the PXLAPI40.dll” error, but the dll is in the correct location (Windows\syswow64). The reason for this error is  that .NET application is not  using the re-director, it is looking for a 64 bit version PxLApi40.dll.  


Most likely when the app was built, it was using the default setting of “Any CPU” as the platform target which presumably, makes use of the .NET CLR to take care of determining if the host is 64 or 32 bit, and performs the right stuff.  


Solution


To fix this issue you will need to rebuild the app specifying “x86” as the target platform .

or

Install our latest SDK with our new 64-bit API.