Le 09/08/2019 à 14:19, James Richters a écrit :

Now I have a new problem.  I am able to successfully compile and run my project with the text IDE if I use the trunk version of FPC, and I can run the resulting exe just fine on the computer I compiled it on,  but when I run it on one of my other computers, one that I was always able to run the win32 version of my program on just fine,  the x64 version now comes up with

 

‘The code execution cannot proceed because MSVCR110.dll was not found. Reinstalling the program may fix this problem’

 

I do not understand this at all, I never needed anything like that dll before, and I have no idea what it is or why the 64bit version would need it, and I also don’t know why  this works fine on my development computer without it and why I need it on my other computers that I have been running the 32bit version of the exact same program on for years.

 

Any thoughts on this?

 

Yes , it just seems that libusb relies on MSVCR110.dll. Very likely you have another version on this machine.

I googled for MSVCR110.dll, it pointed to me to the MSVCR fro VisualStudio 2012:

https://www.microsoft.com/en-us/download/details.aspx?id=30679

It happens to me frequently when installing a  product on a customer's computer. Depending on the product you can have to install a different version of the redistributable. On some computers the dll is already there, sometimes not. As far as I know Microsoft now forbids you to include the dll directly in your distribution, you need to use their install program which installs it reliably (I think in C:\Windows\System32) and maybe some other stuff around and in the registry.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to