Livecode builder Foreign Function Interface question.
Posted: Thu Mar 14, 2019 5:32 pm
Hello everyone! I want to wrap: https://twapi.magicsplat.com/ in livecode builder but I'm having trouble understanding the binding part. For example in this code (taken from levurehelper-app_updater made by Trevor Devore), if someone could explain the part. How does lcb know in which dll to search for? is the first part the dll name "c:winsparkle>" and the second part "win_sparkle_init!cdecl" the function inside the dll? If that's the case do I have to register the dll somewhere or just have it inside the .lcb folder?
Thank you.
Code: Select all
private foreign handler win_sparkle_init() \
returns nothing binds to "c:winsparkle>win_sparkle_init!cdecl"
Code: Select all
binds to "c:winsparkle>win_sparkle_init!cdecl"
Thank you.