C# API

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
3 posts • Page 1 of 1
jeissonsierrac
Posts:62
Joined: Wed Jun 03, 2015 9:37 pm

C# API

Post by jeissonsierrac »

Hello

I´m trying to implement a third party software to WinCC OA using a API Manager or a Ctrl Extention, the problem is that this software only can programme in C#, ¿Is there anyway to implement it?


Thanks for your support

vogler
Posts:122
Joined: Thu Oct 28, 2010 8:32 am

Re: C# API

Post by vogler »

Hi,
As far as i know in version 3.15 there will be a C# API available! So that you can write OA Managers in C#.
regards,
Andreas

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: C# API

Post by Gertjan van Schijndel »

A .NET assembly can be used by C++(/CLI) code, so you can use it in a control extension.

To use a .NET assembly:
  • Include 'vcclr.h' and 'msclr\\marshal_cppstd.h'
  • Enable the 'Common Language Runtime' support for these source files
  • Optional: Implement 'AssemblyResolve' to find the assembly

3 posts • Page 1 of 1