Basic question: Time Zone Library

David Bovill david.bovill at gmail.com
Sat Nov 7 14:02:02 EST 2020


Thanks Matthias - very helpful. Looks like there is no dictionary entry for revLibraryMapping :(
On 6 Nov 2020, 23:11 +0000, matthias rebbe via use-livecode <use-livecode at lists.runrev.com>, wrote:
> Hi,
>
> i am not sure if this is still the way how to do it with newer LC Server versions, but at least it still works with LC 9.6.1
>
> First copy the folder of of the time zone library to your server for example into a folder extension
>
> Then, to use the library you'll have to put the following 2 lines before your time zone specific code.
>
> set the revLibraryMapping["tz"] to "/home/ua829968/public_html/livecode.dermattes.de/tz-test/extensions/com.livecode.library.timezone/code/x86_64-linux/tz.so"
> load extension from file "./extensions/com.livecode.library.timezone/module.lcm"
> //here comes your timezone script
>
>
>
> In the first line you define where the needed shared libraries are located. It must contain the complete path to the shared libraries. In the above example the shared library for 64bit Linux is used. The second line then loads the extension.
>
> Mark Waddingham provided that information here 2 years ago
> https://www.mail-archive.com/use-livecode@lists.runrev.com/msg97605.html
>
> Regards,
>
> Matthias
>
>
>
>
>
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
>
> > Am 06.11.2020 um 23:29 schrieb David Bovill via use-livecode <use-livecode at lists.runrev.com>:
> >
> > Just created a handler that I want to use in a Livecode server that uses the Time Zone Library handler TimeZones(). So:
> >
> > 1. How do I find where the library is?
> > 2. How do I add it so the server code can use it?
> >
> > On 6 Nov 2020, 21:28 +0000, How to use LiveCode <use-livecode at lists.runrev.com>, wrote:
> > >
> > > ToUniversalTime
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list