Using a windows 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: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
classic12
Posts: 7
Joined: Wed Jan 04, 2012 4:34 pm

Using a windows dll

Post by classic12 » Thu Aug 07, 2014 1:59 pm

I wrote a windows app a few years ago that used a dll to process images. (Number plate recognition ).

Is it possible to call a dll in livecode. Is there a simple demo app anywhere.

Cheers

Stevew

Klaus
Posts: 12284
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Using a windows dll

Post by Klaus » Thu Aug 07, 2014 3:00 pm

Hi Steve,

you can call DLLs that are made for Livecocde*, but not any Windows DLL per se, maybe with a SHELL command!
*Like Livecode does with revdb.dll, revxml.dll etc.


Best

Klaus

JackieBlue
Posts: 32
Joined: Sun Jun 22, 2014 2:37 am

Re: Using a windows dll

Post by JackieBlue » Thu Aug 07, 2014 3:17 pm

Klaus and others,

Is it possible to write a C wrapper for Windows DLL? I assume you do something similar when executing LiveCode Windows

Klaus
Posts: 12284
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Using a windows dll

Post by Klaus » Thu Aug 07, 2014 3:21 pm

Hi Jackie,
JackieBlue wrote:Is it possible to write a C wrapper for Windows DLL?
I think so, but on the other hand, I have no idea about C, C+, C++, C-, C--, ob-/sub-/rej-ective C etc 8)


Best

Klaus

MaxV
Posts: 1577
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

Re: Using a windows dll

Post by MaxV » Fri Aug 08, 2014 3:35 pm

Here is a guide about working with DLL: http://livecode.wikia.com/wiki/Working_with_DLL
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”