libsodium on LiveCode?

Monte Goulding monte at appisle.net
Mon Feb 19 17:19:09 EST 2018



> On 20 Feb 2018, at 8:56 am, Brian Milby via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Made my first attempt to just initialize the library and something is not
> working:
> 
> Message execution error:
> Error description: LCB Error in file
> C:/Users/milby/Dropbox/LiveCode/Downloads/lcSodium/sodium.lcb at line 34:
> unable to load foreign library
> Hint: runtime
> 
> Here's all that the LCB does:
> 
> private __safe foreign handler _sodium_init() returns CInt binds to
> "c:libsodium-23>sodium_init!stdcall"
> public handler sodiumInit() returns Integer
> return _sodium_init() --this is line 34
> end handler
> 
> DLLs are in code\x86-win32 and code\x86-win64


> (tried with and without the !stdcall)
> 
> I probably need to start with something a little simpler ;)




More information about the use-livecode mailing list