CtrlExtension

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
Search

Post Reply
3 posts • Page 1 of 1
ja_ma_
Posts: 10
Joined: Thu Jun 09, 2022 3:56 pm

CtrlExtension

Post by ja_ma_ »

Hello all,

i am using the https://www.winccoa.com/documentation/W ... et%20wird. to generate a DLL which i use inside Ctrl-Scripts.
I had no Problems so far. But since i reinstalled Windows and setup my PC from anew i am not able to load the DLL anymore. I get the following error:

Code: Select all

WCCOAui      (1), 2024.05.21 17:51:57.129, SYS,  WARNING,   133, Could not load shared library C:\Projekt\bin\CtrlMyExt.dll, Das angegebene Modul wurde nicht gefunden.
WCCOAui      (1), 2024.05.21 17:51:57.130, IMPL, FATAL,      54, Unexpected state, The Ctrl Extension  C:\Projekt\bin\CtrlMyExt.dll is not compatible with the current library version 319000 of WinCC OA.
It might be from version <= 3.6, or a needed external library could not be loaded. (See also previous error message)
First i thought the error really is because it's not from the correct version. But when i try a DLL from 3.16 in 3.19 i get the following error:

Code: Select all

WCCOAui      (1), 2024.05.22 08:08:43.257, IMPL, FATAL,      54, Unexpected state, The Ctrl Extension D:\Projekt\bin\CtrlMyDLL.dll is not compatible with the current library version 319000 of WinCC OA.
It might be from version 316000, or a needed external library could not be loaded. (See also previous error message)
As you can see, here it detects that the DLL is compiled with VC compiler from WinCC OA 3.16. My error on the other hand is that it cannot find/load the DLL correctly.

Is there something i am missing in the Installationsprocess, which could lead to this failure?

Setup (For both system. While it worked and while it didnt work anymore):
Windows 11
WinCC OA 3.19

User avatar
kilianvp
Posts: 443
Joined: Fri Jan 16, 2015 10:29 am

Re: CtrlExtension

Post by kilianvp »

Does your DLL load any dependencies that are missing on your PC?

gschijndel
Posts: 373
Joined: Tue Jan 15, 2019 3:12 pm

Re: CtrlExtension

Post by gschijndel »

You can use a dependency walker to check which libraries it depends on and which are missing

Post Reply
3 posts • Page 1 of 1