OK … this one’s just plain bizarre!
First of all, my setup is:
- Windows 7 Professional Service Pack 1
- Xojo 2016 r1.1
- 32-bit app build architecture selected
I have a folder on my hard drive that has about a half dozen build folders of compiled programs I’ve written over the past 6 months. Each of them contains the executable and the two supporting libs folders. As of 10:40 pm last night, all of them worked fine (clicking on the executable opened and ran the program as it should. The computer was left on and nobody touched my computer overnight. This morning at 6:45 am, here’s what I get when I try running those very same executables:
- Some of them work just fine.
- Some of them just sit and stare at me when I double click the executable to open the program (e.g., nothing happens … program doesn’t open).
- Some of them throw the runtime error “Failed to Locate Framework DLL”.
I have scoured the different applications looking for anything “different” but have found nothing (besides, these have been working all along until last night). I searched the forum and found a number of threads but none seem to address my symptoms.
Unless the evil computer bug fairies came overnight and pooped on my build folders, NOTHING changed! No Windows updates occurred (I have them turned off … besides MS killed Win 7 updates already). I tried rebooting the computer with no luck. I did not try re-installing Xojo (mainly because of some of the findings below … which indicate a re-install is not the issue).
Now, comes the really good part:
- I can open the same projects that won’t run from the builds folder executable and run them just fine from the IDE Debugger without any issue. If I then hit the build button, they seem to compile just fine (e.g., creates the build folder with the executable and supporting libs folders). But clicking on the executable then throws the Failed to Locate Framework DLL runtime error.
- I can take the exact same build folder from #1 above that wouldn’t work and copy it to the Desktop on the same machine and it DOES work without any errors.
- I can copy the folder with all the binary projects and build folders over to my Surface PRO 6 with Win 10 Home and they all work fine executing them from their respective build folders.
- I can open the project on my Win 10 computer, compile it and it runs just fine on the Win 10 computer.
- If I take the build folder compiled on Win 10 from #4 above that worked, and copy it back to the Win 7 machine in the same folder where it originally was, it once again throws the error.
I did notice in all the copying and pasting I did, that several times it gave me the message that what I was attempting to do (e.g., copy/paste) could not be done because the file names/paths were “too long”. This happened when I tried copying from the folder on the Win 7 machine directly to the folder on the Win 10 machine. Each of those folders does have a fairly lengthy path, for example
C:\Users\Don\Documents\Customer Projects\Hillphoenix\Miscellaneous\Publix Shelving Catalog Project\Builds - Publix Shelving Kit Finder App_070221_0833-2.xojo_binary_project
Could this have anything to do with it? If so, why has it worked all along until now?
This is a real head scratcher … anyone have any ideas???
Thanks in advance … Don