Re: Using external libs and DLLs with HAXE
Your question is dragging a whole lot of concepts on the table
On FD side is pretty simple: just use the haxe class which will load and call a NDLL.
Which means you have to develop a "native extension". Such extension is composed of:
- some haxe classes (glue code) wrapping a NDLL,
- C++ code compiled as the NDLL (ie. a dll) wrapping the DLL you want to link to.
To link in your DLL you'll have to be fiddle in the extension's Build.xml.
As a simple example I suggest you look into hxSerial:https://github.com/andyli/hxSerial
PS: this extension is a 'haxelib' but an extension doesn't have to be one, you can ignore 'haxelib.xml' and stuff.
For more information you'll have to discuss that in haxe mailing list.