Page 1 of 1
Compiling and executibles
Posted: Tue Jun 24, 2014 6:50 pm
by JackieBlue
Hi again folks. Another general question. When distributing stacks, is it a single .exe file (in Windows)? No library or anything? I assume this is a translated language and the exe would include all the runtime and code. I would also assume external files such as video and sound would not be included in the exe. Is my thinking correct? Thank you.
Re: Compiling and executibles
Posted: Tue Jun 24, 2014 6:56 pm
by sefrojones
Depending on what your program does, there may be libraries that are included outside of the .exe. For example if your stack uses a MySQL database, there will be some external .DLL files. As far as including video files, you can include them as part of your stack by importing them, but they will be loaded into memory when the stack is opened. You can alternatively reference external sounds,images, etc by their filepath.
--Sefro
edit:
here's a relevant tutorial on importing/referencing image files:
http://lessons.runrev.com/m/4603/l/44144-using-images
Re: Compiling and executibles
Posted: Wed Jun 25, 2014 3:45 am
by JackieBlue
Thanks. Am I correct that LiveCode, when using the non-community version, is interpreted with a runtime built into the exe? Thanks.
Re: Compiling and executibles
Posted: Wed Jun 25, 2014 6:34 am
by sefrojones
As far as I know this is the case with both the community and commercial editions. I think the main difference between commercial/community is the licensing (anything created in LC community must be released under a GPL v.3 license) and the ability to password protect stacks.
--Sefro