I am trying to include an external C compiled library into a CODESYS library.
I have added a "C Implemented Library" object to the POU view and included a compiled dll with a simple function in it
Now I was wandering, how do I access the function in the dll?
My idea was to add a POU (Iface function in the POU tree) that just calls the function inside the loaded dll
Does this make sense? Is there any place where to add the header file?
Hello everyone,
I am trying to include an external C compiled library into a CODESYS library.
I have added a "C Implemented Library" object to the POU view and included a compiled dll with a simple function in it
Now I was wandering, how do I access the function in the dll?
My idea was to add a POU (Iface function in the POU tree) that just calls the function inside the loaded dll
Does this make sense? Is there any place where to add the header file?
Thanks
Hi,
Thank you in advance!
Hi,
Unfortunately I could never manage to use DLLs in my CODESYS projects.
Also, I've never seen the error you are reporting in your post
Hope someone more experienced can help you,
Good luck!