[fpc-pascal] dot net dll in free pascal?

Luca Olivetti luca at ventoso.org
Mon May 13 20:49:02 CEST 2019

A sizeable part of my day job is to program PLCs in the worst software 
environment ever (for the curious, simatic tia portal, actually I'm 
mostly using the older, only marginally better, step 7, but the times 
they are a-changin').
Said piece of sh^H^Hfine engineering, provides a dll to automate some 
tasks, however, being a steaming pile of...fine engineering, it's made 
with dot net and the instructions on how to use it only mention visual 
something (page 12 of this document 

Is it possible to someway use it with fpc?
I tried the "import type library.." menu item that lazarus provides with 
no success ("error loading the dll", strangely enough localized even if 
my lazarus is in english, so I suppose that comes from windows).

The file command under Linux says:
Siemens.Engineering.dll: PE32 executable (DLL) (console) Intel 80386 
Mono/.Net assembly, for MS Windows

TIA (pun intended)

More information about the fpc-pascal mailing list