external dll

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
link76
Posts: 99
Joined: Fri Nov 04, 2011 1:52 pm

external dll

Post by link76 » Thu Jan 30, 2014 10:16 am

Hello,
how to call an external dll library?

I have this library: WGS_UTMD.dll

statement:

Code: Select all

int __stdcall BOAGA_WGS(double North, double East, int czona, double *Long, double *Lat)
thank you

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: external dll

Post by Klaus » Thu Jan 30, 2014 12:51 pm

HI,

you cannot use ANY DLL with LC! 8)
The external (DLL) needs to be made for Livecode or at least compatible with LC external APIs!
Is it?


Best

Klaus

link76
Posts: 99
Joined: Fri Nov 04, 2011 1:52 pm

Re: external dll

Post by link76 » Thu Jan 30, 2014 1:34 pm

how can I check it?

thanks

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: external dll

Post by Klaus » Thu Jan 30, 2014 2:04 pm

You need to know the Livecode calls/commands for the DLL.
But if you do not know them, the DLL is probably not compatible with LC.

link76
Posts: 99
Joined: Fri Nov 04, 2011 1:52 pm

Re: external dll

Post by link76 » Thu Jan 30, 2014 2:09 pm

where I find the documentation for the livecode calls / commands for the DLL?

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: external dll

Post by Klaus » Thu Jan 30, 2014 3:09 pm

No idea, ask the developer of the DLL!

Thierry
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 875
Joined: Wed Nov 22, 2006 3:42 pm

Re: external dll

Post by Thierry » Thu Jan 30, 2014 5:43 pm

link76 wrote:Hello,
how to call an external dll library?
I have this library: WGS_UTMD.dll
Hi,

I may help you if you give more infos about this WGS_UTMD dll.
Do you have any link for a doc or a full description?

I have already made few Windows DLL for Livecode; the latest one is sunnYpdf,
the most complicated one is sunnYperl... You can check on my site.

Regards,

Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: external dll

Post by MaxV » Thu Feb 06, 2014 12:28 pm

There is this old article about this topic: http://livecode.wikia.com/wiki/Working_with_DLL

I reformatted it and added some missing images. It's a wiki and you can correct and improve it.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

Thierry
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 875
Joined: Wed Nov 22, 2006 3:42 pm

Re: external dll

Post by Thierry » Thu Feb 06, 2014 3:18 pm

MaxV wrote:There is this old article about this topic: http://livecode.wikia.com/wiki/Working_with_DLL
For the record and to give back credits to the author,
I would say it was part of the official runrev documentation, written by Mark W.

These days, it seems there is only this one:

http://livecode.com/developers/guides/d ... externals/

is that true?

I've send a request to runrev support to correct the missing url in the doc..

Best,

Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!

Post Reply