asked on April 30

Hello,

I was trying to write a script to connect to MS Access to read and write data from LF 11
The target CPU is x64 bits
I'm using LFSO and vb.net


The code works with x86 but it fails when connecting to Access (which is x64 bits)
If I use x64 it can connect to Access but cannot load the LFObjects.
In this last case the error is:
Retrieving COM class factory with CLSID failed ... Class not registered HRESULT error 0x80040154

My question is: Is there any way to make LFSO110.dll work with x64 target CPU?

 

The answer was that Laserfiche never released a specific version 11 of the SDK. If you're trying to use LFSO110.dll, that means you're just using a copy of the library that's installed by some other Laserfiche application on the local machine.

Please keep in mind that if your integration is referencing a library that's installed by a different application, there is no guarantee it will remain functional if you modify that other application, e.g. uninstall it, upgrade it, etc.

That being said, the last version of the SDK we released is 10.4 and it does contain an x64 version of LFSO104.dll, which may suit the needs of your integration. Please explore that as an option first.

 

So I installed SDK Runtime 10.4 and this solved the LFSO part.

 

Then I had a problem with the LFImageEnable80.dll because the version installed by the runtime 10.4 was not working fine, so I replaced by the same file but version 8.0.6.3 for 64bits (file size = 199 kb) and this problem was solved too.

 

I'm posting this here because I'm sure that in the future I will have the same problem again, and I need a way to remember how it was solved :)
 

Thanks to everyone in this community!

 

Best,

 

Ignacio PdeA

BMB sal

1 0