I’ve recently switched to Xojo 2016 Release 3, which I’m using on my MacBook, and I’ve just encountered a problem running an app on Windows (in this particular case, Windows 7 64-bit) that ran perfectly fine when compiled with an older version of Xojo. The error message is “Failed to locate Framework DLL” and no matter what I try - and I have checked through various forum posts here and tried everything suggested from making sure the app has the right permissions, moving it to various places on the drive - I cannot get my app to start. The folder structure my app resides in is as follows:
The App Libs directory contains the following files:
My app was compiled for the x86 32-bit architecture so I presume when it starts up it is trying to find XojoGUIFramework32.dll? Why can’t my app find the DLL it’s after?!
@Michel Bujardet Thank you for your reply. I tried this before posting here, but I’m still getting the same error message.
@Christian Schmitz I tried to install the Visual C++ Redistributable For Visual Studio 2015 as I was getting an error message about a missing api-ms-win-crt-runtime-l1-1-0.dll file initially, but that failed to install properly, so I copied the DLL’s into the same folder as my app executable instead, which resolved the missing api-ms-win-crt-runtime-l1-1-0.dll issue, but did not resolve the framework issue.
Okay, after successfully getting Visual C++ Redistributable For Visual Studio 2015 to install correctly my app now starts. It appears as though Service Pack 1 for Windows 7 is required to install the redistributable successfully. This raises a worrying point now, though, in that if I have clients that are not able to update their Windows machines, and they’re also not able to install the redistributable correctly, then the “solution” of copying the DLL files to the same directory as my app’s executable will not work for them and they won’t be able to run my app.
Hmm. I’m pretty sure I copied all the 41 DLL’s from the /Extras/Windows Runtime/Files/x64 directory. I guess I could have missed one, though… especially if Microsoft is saying it’s “guaranteed” to work… I’ll try again.
Yes, that might be an option depending on how many clients this potentially affects…
It’s possible that this is the mistake I made. I will check.
Thats why we publish system requirements for using the IDE & for the applications that Xojo creates[/quote]
Thank you for this, Norman. I’ve only just moved to 2016 Release 3 and I just assumed (always a bad thing to do) that this version would build apps with the same Windows compatibility that my older IDE does - now I see that to run apps built with 2016 Release 3 my clients will need Windows 7 Service Pack 1 as a minimum.