New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I use DLL's and Resource files in another folder? #13
Comments
Download CEF4Delphi again. I just added your suggestion and now you can set a customized location for libcef.dll using the GlobalCEFApp.LibCef property. Thanks! 😄 About the FrameworkDirPath, the CEF3 source comments say this about that parameter (cef_settings_t.framework_dir_path) :
Marshall Greenblatt also said this at the CEF3 forum :
http://magpcss.org/ceforum/viewtopic.php?f=6&t=14873&p=33742#p33742 Be careful moving those files beacuse you could have crashes in your application. |
Can you describe how this function should be used? In my .dpr file I have:
My dir structure is as follows: Exe folder:
Cef subfolder:
I receive CEF binaries missing when I run the app. |
I made some more tests setting GlobalCEFApp.CheckCEFFiles := False; to skip the file checking and it seems that the only files you can move safely are the locales. The moment you try to use another directory for the resources or the DLLs you'll get a crash in CEF3 initialization. |
Before, I used "https://github.com/hgourvest/dcef3" (very old) and I cold do it like this:
I wanna to separate my main executable from the other cef files, like this:
And all my distributed projects are working this way, is it just like the dcef3 I mentioned, could you add that possibility? Very Thanks!!!!, |
After some more test I could move a few more files but you have to use absolute paths. With this settings you can move all but 5 files. K: is a custom drive unit. Use whatever you want as long as it's a full path. The files that I couldn't move from the application directory were : icudtl.dat, natives_blob.bin, snapshot_blob.bin, libcef.dll and chrome_elf.dll. I could move all the *.pak files, locales and the rest of the DLLs. |
Hi,
How can I use dlls and resource files in different EXE folder?
Like this:
I tried this bu don't work:
In my project structure I separated my main EXE from another files (DLLs/resources).
Thank you!!!
The text was updated successfully, but these errors were encountered: