PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

PocketHAL as a DLL

Is it possible to compile PocketHAL as static DLLs instead of *.lib files?

I am considering putting together a .NET interface for using PocketHAL in C# or VB.NET, but will need a set of static DLLs instead of LIB files to test it out.
I already have many targets to support and don't want to add any on my side. I would suggest writting a thin "C" API layer on them and put it in a DLL if that is what you need. Shouldn't be too much work.

What is a "static DLL"? Do you mean an import lib to a DLL?
I meant just a normal DLL file as opposed to a *.LIB file.

With .NET, you can call external DLLs via DLLImport. If PocketHAL was compiled this way, then you'd have access to the library from any .NET enabled language (VB.NET, C#, IronPyton, etc).