Hi,
I'm trying to use a C# based dll with my VTScada application. To do so, I'm using The function DLL.
It's working well with integers, floats and strings, but I have to do some gymnastics to get a bool (I use an integer return type and apply a modulo 2 to the variable to get a 0 or a 1), and I flat out can't get any types of object. I'm trying to use a pointer as a return type but I always get an Invalid value.
My dll decrypt a file and return an array of objects. These objects represent events that I will store in the VTScada librarian. I can't decrypt my files in VTScada, this is why I need to make my dll work with it.
Is there a way to pass an object or an array of objects from a dll to VTScada?
Hi,
I'm trying to use a C# based dll with my VTScada application. To do so, I'm using The function DLL.
It's working well with integers, floats and strings, but I have to do some gymnastics to get a bool (I use an integer return type and apply a modulo 2 to the variable to get a 0 or a 1), and I flat out can't get any types of object. I'm trying to use a pointer as a return type but I always get an Invalid value.
My dll decrypt a file and return an array of objects. These objects represent events that I will store in the VTScada librarian. I can't decrypt my files in VTScada, this is why I need to make my dll work with it.
Is there a way to pass an object or an array of objects from a dll to VTScada?