How to use external library in ctrlExtension?

Find and share HowTos to various installations / configurations!
2 posts • Page 1 of 1
jinwonds
Posts:12
Joined: Thu Oct 05, 2017 7:58 pm

How to use external library in ctrlExtension?

Post by jinwonds »

Hello,
I made example ctrlExtension project by visual studio 2015. (WinCC OA 3.16 Ver)
And I confirmed that the dll file created through the sample project worked succeed.
But when I linked external library(.lib) and used the external function through .lib in xxxExternHdl class,
WinCC OA occured error log like below. (And I also used CTRL_EXTENSION macro.)

"XXX.dll is not compatible with the current library version 316000 of WinCC OA.
It might be from version <= 3.6, or a needed external library could not be loaded."

Please let me know how to use external library.

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

Re: How to use external library in ctrlExtension?

Post by gschijndel »

That error is also shown when the external library cannot be found.

2 posts • Page 1 of 1