First time using an External
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
First time using an External
I was surprised to find that I have to keep the external
directory with the .exe when moving it to another computer.
Have I missed a switch somewhere that will include the
external(s) with the .exe?
directory with the .exe when moving it to another computer.
Have I missed a switch somewhere that will include the
external(s) with the .exe?
Is age an excuse? Eighty-four and counting.
Programming powered by coffee.
Programming powered by coffee.
Re: First time using an External
There's no way to include those. That's why they are called "externals" - - they need to be stored externally to the app.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: First time using an External
I thought it might be possible to "include" them
as in days of old.
Thought that perhaps and "external" in the IDE
could become and "internal" in the .exe.
Update:
It's strange that the externals have the extension ".dll"
(Dynamic Link Library) yet can't be linked which is
as I recall done in other languages with a line of code:
#include something.dll
Perhaps a useful improvement to LC?
as in days of old.
Thought that perhaps and "external" in the IDE
could become and "internal" in the .exe.
Update:
It's strange that the externals have the extension ".dll"
(Dynamic Link Library) yet can't be linked which is
as I recall done in other languages with a line of code:
#include something.dll
Perhaps a useful improvement to LC?
Is age an excuse? Eighty-four and counting.
Programming powered by coffee.
Programming powered by coffee.
Re: First time using an External
I believe the LC engine is doing the linking for us.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: First time using an External
Well, if it is it's a different thing to what I know as "linking" in which thejacque wrote:I believe the LC engine is doing the linking for us.
dll is included in the compiled programme and isn't "external" to it.
Is age an excuse? Eighty-four and counting.
Programming powered by coffee.
Programming powered by coffee.
-
- Livecode Opensource Backer
- Posts: 132
- Joined: Mon Jan 14, 2013 3:37 pm
Re: First time using an External
Hi Ross
Dll's are always external to the executables that link to them.
It may sometimes seem like the .dll is compiled "into" an executable when the .dll is in fact part of the Operating System, in which case there is no need for distributing the .dll along with your executable.
It should otherwise always be distributed along with the executable.
Edit: It is however possible to include a .dll as an embedded resource of the executable to make it easier to distribute, but the embedded .dll would have to be extracted from the executable and stored in a separate file before actually using it. It still remains an external in that it has to be extracted into a separate file before it can be used.
Dll's are always external to the executables that link to them.
It may sometimes seem like the .dll is compiled "into" an executable when the .dll is in fact part of the Operating System, in which case there is no need for distributing the .dll along with your executable.
It should otherwise always be distributed along with the executable.
Edit: It is however possible to include a .dll as an embedded resource of the executable to make it easier to distribute, but the embedded .dll would have to be extracted from the executable and stored in a separate file before actually using it. It still remains an external in that it has to be extracted into a separate file before it can be used.
010100000110010101100001011000110110010100111101010011000110111101110110011001010010101101010100011100100111010101110100011010000010101101001010011101010111001101110100011010010110001101100101
Re: First time using an External
A .dll is an executable file without the .exe extension
so even if it needs the OS to run (same as the .exe) it
should be possible to combine them into one package
for convenience.
Just my opinion.
so even if it needs the OS to run (same as the .exe) it
should be possible to combine them into one package
for convenience.
Just my opinion.
Is age an excuse? Eighty-four and counting.
Programming powered by coffee.
Programming powered by coffee.
-
- VIP Livecode Opensource Backer
- Posts: 858
- Joined: Wed Jun 24, 2009 1:17 pm
- Contact:
Re: First time using an External
Hi Ross - I used to do a bit of .NET development and always had to package .dlls externally - if the app needed a private .dll for when it was installed on the target machine (as opposed to calling on commonly available .dlls provided by the OS) they would be included in the installer package and installed alongside the .exe. And with some private .dlls there was extra code and/or certification needed to make sure they were properly registered with the OS or they couldn't run. However the last time I did this kind of stuff was about six years ago so I might have mis-remembered!
Regards
Dave
PS: and with Windows virtualisations there sometimes could be two copies of .dlls floating round (all obviously external to the .exe)
Regards
Dave
PS: and with Windows virtualisations there sometimes could be two copies of .dlls floating round (all obviously external to the .exe)
"...this is not the code you are looking for..."