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 https://support.industry.siemens.com/cs/attachments/108716692/108716692_TIA_Openness_GettingStartedAndDemo_V14SP1_en.pdf).

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)
--
Luca



_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to