On Tue, 19 May 2020 at 23:09, ASAM <vmax28575@gmail.com> wrote:
Of course there is a documentation for the API. It is even an ISO standard. And if I can do that, I would also like to make it available on GitHub. That's why it should be good.
It is the ISO 22900-2 D-PDU-API. I can also attach the header file. However, the PDF is provided with a watermark. So please google.
The API is provided by different manufacturers.
The process is roughly the following, for Windows systems read a resitre key that says where the root.xml is. On Linux the pdu_api_root.xml is under /etc.
In the root.xml you can find where the individual suppliers have installed their dll. With the absolute path you can now load the dll.
Under Linux it would be a so-file which I have never seen live. I would say 95% use it only under windos.
Thanks for help.
ISO22900_2.h <http://forum.world.st/file/t372350/ISO22900_2.h>
Cool. I have an example using FFIOpaqueObject here... https://blog.openinworld.com/2016/09/pharo-libclang-ffi-part-2-simple-callou... cheers -ben