Page 1 of 1
external dll
Posted: Thu Jan 30, 2014 10:16 am
by link76
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
Re: external dll
Posted: Thu Jan 30, 2014 12:51 pm
by Klaus
HI,
you cannot use ANY DLL with LC!
The external (DLL) needs to be made for Livecode or at least compatible with LC external APIs!
Is it?
Best
Klaus
Re: external dll
Posted: Thu Jan 30, 2014 1:34 pm
by link76
how can I check it?
thanks
Re: external dll
Posted: Thu Jan 30, 2014 2:04 pm
by Klaus
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.
Re: external dll
Posted: Thu Jan 30, 2014 2:09 pm
by link76
where I find the documentation for the livecode calls / commands for the DLL?
Re: external dll
Posted: Thu Jan 30, 2014 3:09 pm
by Klaus
No idea, ask the developer of the DLL!
Re: external dll
Posted: Thu Jan 30, 2014 5:43 pm
by Thierry
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
Re: external dll
Posted: Thu Feb 06, 2014 12:28 pm
by MaxV
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.
Re: external dll
Posted: Thu Feb 06, 2014 3:18 pm
by Thierry
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