I would like to know whether it is possible to use LiveCode to create a DDL (for Windows) that can be accessed from another application. The DDL I have in mind would need to to some elementary database access using ODBC drivers.
If LiveCode can't do it, I can probably do it in Delphi or Lazarus, but I think it would be much easier in LiveCode, if that is possible.
Thanks in advance for the assistance.
Bruce
Creating a DDL using LiveCode - is it possible?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Creating a DDL using LiveCode - is it possible?
Hi Bruce,
I don't think this is possible with LC.
Best
Klaus
I don't think this is possible with LC.
Best
Klaus
Re: Creating a DDL using LiveCode - is it possible?
Thanks for your reply, Klaus.
Re: Creating a DDL using LiveCode - is it possible?
Hello Bruce27,
Assuming you mean a dll (dynamic linked library), I believe the answer as Klaus says is 'no', which he further elucidates upon here.
However, you could use Lc to create a program that other programs can access, providing the language you are calling from provides a means to execute programs outside of itself (almost all languages can do this).
Of course, if your going to use Lc for that kind of functionality, why not just use it to write the entire program?
If you really need to be able to create a dll, though, you don't have to drop all the way to C level, you can do that in languages like Pascal/Delphi, some basics, etc.
As I think about it, it might be possible to create a dll from Lc itself in a roundabout way, since you do have access to the shell and can run commands through it. If you knew all the things you would need to know about making one in C, you could create the file and format everything in Lc, then shell out to the linker and compile it.
Something to think about
Assuming you mean a dll (dynamic linked library), I believe the answer as Klaus says is 'no', which he further elucidates upon here.
However, you could use Lc to create a program that other programs can access, providing the language you are calling from provides a means to execute programs outside of itself (almost all languages can do this).
Of course, if your going to use Lc for that kind of functionality, why not just use it to write the entire program?
If you really need to be able to create a dll, though, you don't have to drop all the way to C level, you can do that in languages like Pascal/Delphi, some basics, etc.
As I think about it, it might be possible to create a dll from Lc itself in a roundabout way, since you do have access to the shell and can run commands through it. If you knew all the things you would need to know about making one in C, you could create the file and format everything in Lc, then shell out to the linker and compile it.
Something to think about