I'm going to make the developed program in dll format and import it inside WinCCOA, is it possible?
After making that program into a dll,
[ui]
CtrlDLL = "Test"
I wonder if I can use it in this format.
Unexpected state, The Ctrl Extension D:\GIT_PROJECT\SCRIPT\NEW_PLATFORM\NEW_PLATFORM\bin\CreateDLL.dll is not compatible with the current library version 318000 of WinCC OA.
It might be from version <= 3.6, or a needed external library could not be loaded. (See also previous error message)
How can I get you to refer to an external library?
If externally developed dll can be used, is there a license condition required to use it?
Can I import the externally developed dll file to WinCC OA?
- BongBongV
- Posts:16
- Joined: Thu Sep 24, 2020 10:41 am
Can I import the externally developed dll file to WinCC OA?
- kilianvp
- Posts:443
- Joined: Fri Jan 16, 2015 10:29 am
Re: Can I import the externally developed dll file to WinCC OA?
You have to create a Ctrl Extension if you want use your functions inside a CTRL Script. You have to use the offical WinCC OA C++ API. Or you write a foreign function interface (FFI) for CONTROL and load a DLL.
- BongBongV
- Posts:16
- Joined: Thu Sep 24, 2020 10:41 am
Re: Can I import the externally developed dll file to WinCC OA?
Thank you for your answer.
How can I make FFI(foreign function interface) between WinCC OA's CTRL and C++?
Do you have an example?
How can I make FFI(foreign function interface) between WinCC OA's CTRL and C++?
Do you have an example?
- BongBongV
- Posts:16
- Joined: Thu Sep 24, 2020 10:41 am
Re: Can I import the externally developed dll file to WinCC OA?
Thank you, Have a good day.
- kilianvp
- Posts:443
- Joined: Fri Jan 16, 2015 10:29 am
Re: Can I import the externally developed dll file to WinCC OA?
It's my fork. I'll update it to cmake soon.
- gschijndel
- Posts:376
- Joined: Tue Jan 15, 2019 3:12 pm
Re: Can I import the externally developed dll file to WinCC OA?
It would be nice if ETM includes this in the product or at least have it compiled available.
- kilianvp
- Posts:443
- Joined: Fri Jan 16, 2015 10:29 am
Re: Can I import the externally developed dll file to WinCC OA?
Yes