Windows DLLs and path
Scott Kane
scott at cdroo.com
Fri May 25 23:06:06 EDT 2007
From: "Bill Vlahos" <bvlahos at mac.com>
> Is there a way to tell the standalone they are in a subfolder?
Possibly in Rev - but I've not tried it. However... It's normal practice
to place them in the standalone (executable) directory. Placing them in the
path can cause dll hell in that another application uses a dll of the same
name or even a newer or older dll that your app can not handle. So avoid
the path for this stuff. In terms of the dll being in the same folder as
the standalone (executable) why not do something like this (providing you're
not installing into c:\Program Files which will cause problems in Vista):
Put you dll into your standalone as a binary custom property. When the app
executes unpack it to a file (.dll) and when your program exits delete the
dll. This is pretty much what happens with some static linking programs
like C++, Delphi, VB etc. You'd have to be sure to free the dll before
deletion.
Scott Kane
CD Too - Voice Overs Artist &Original Game and Royalty Free Multi-Media
Music
"Nothing is as powerful as an idea whose time has come." Victor Hugo
More information about the use-livecode
mailing list