I have an application which runs fine. However, when I try to execute it on my laptop, I get an “Failed to locate Framework.DLL” error. The laptop is running Vista. I have downloaded and installed Microsoft Net.framework but that doesn’t fix it. What do I need on the laptop to execute this program?
preface, i have worked with realbasic version 2007 until just recently and i moved to xojo 2014.
so, how do you copy the DLLs? i have created setup programs with an installer and an executable realbasic program many times and never seen the “failed . . . DLL” message but with xojo and a number of changes to my virus protectors, i just did.
[quote=147755:@Carl Mize]preface, i have worked with realbasic version 2007 until just recently and i moved to xojo 2014.
so, how do you copy the DLLs? i have created setup programs with an installer and an executable realbasic program many times and never seen the “failed . . . DLL” message but with xojo and a number of changes to my virus protectors, i just did.
[/quote]
When you generate an executable with Xojo, it no longer is a unique .EXE as in 2007. You also have to copy the lib folder that comes with it. Make sure you update your setup builder with that folder and it will be fine.
i went to the setup builder i use and i think i know where to add the lib folder ( on the window that says “Application files” it asks for the main executable file and if there are additional files and folders). i assume the lib folder would be selected as an additional folder). but i don’t know what the lib folder is.
[quote=147798:@Carl Mize]michel, thx for the quick answer.
i went to the setup builder i use and i think i know where to add the lib folder ( on the window that says “Application files” it asks for the main executable file and if there are additional files and folders). i assume the lib folder would be selected as an additional folder). but i don’t know what the lib folder is.[/quote]
When you build your application, it creates a folder called “My Application” (or whatever name you set), containing :
My Application.exe
A folder called My Application Libs
Both should be copied in the C:\\Windows\\Program Files(x86) directory.
Installer is always a good thing, but not required, no. You should be able to just copy the files in place and run. As a troubleshooting step, try copying it into “neutral territory” - some non-system folder. Windows does funny things in the Program Files directory.
What kind of errors do you get? Missing/Can’t load a DLL? Can’t access some project resource, like a database? That’s one example: if you add a database file directly to the project (rather than open it in code), it becomes less portable.
Hello all; I am having this same problem on WinPE. 32 bit Xojo app on 32 bit WinPE. DLLs in correct area. Even tried moving the DLLs directly next to the Xojo executable. No luck.
I used to be able to run Xojo apps (Maybe like Xojo 2014-ish) in WinPE. Not sure if anything changed on the Xojo side, or if it’s out WinPE side.
I can’t view Rick Plummer’s link, as it is either deleted or my account is not privy to that forum section.