Bundling an External into a Windows EXE?
bobsneidar at iotecdigital.com
Mon Nov 21 17:36:17 CET 2016
I'm going to venture to say no. The whole point to having a dynamic linked library is to have it be external to the application, so that any updates to the dll can be accomplished without completely recompiling the exe. Also, they are designed to be used as shared libraries for other apps needing the same functionality.
Ideally, Livecode would put these "dll's" in the apData folder of the user, or in a folder where all drivers are accessible, but sandboxing has essentially made that impossible, or at least highly problematic, with the very real possibility that the next OS version will make it impossible.
So into the app folder they go, because LC knows that at least it *should* always have access to that one folder. At least that is how I see it.
On Nov 18, 2016, at 10:55 , Paul Dupuis <paul at researchware.com<mailto:paul at researchware.com>> wrote:
Does anyone have any tricks to bundle an external (revZip in my case)
into the EXE built by the Standalone maker?
Once really nice thing about the OSX app bundle (a special folder the OS
treats as a bundle) is that if a use drags an app somewhere, everything
that belongs to it moves with it. Certain resources, like icons, can be
bundled into the EXE, using various Windows resource editor tools, so
that has led me to wonder if there are any tricks to folding the dll of
an external into the exe in a way that the LiveCode engine can find it?
More information about the use-livecode