Applies To:
  • CitectSCADA 5.21 Service Pack B

Summary:
The Cicode functions WinCopy and WinFile do not support file path substitutions for the sPalette parameter.  They also return an inappropriate error value.

Solution:
This problem can be worked around by using the PathToStr function. eg:                                   

WinCopy(1,1,PathToStr([Data]:MYPALETTE.PAL))

The error value returned was changed from CT_ERROR_SOFTWARE (256) to CT_ERROR_INVALID_ARG (274)

CIT has confirmed this to be a problem in Citect for Windows versions 5.21 Service Pack B and C.  This problem has been fixed in version 5.30.

 

Keywords:
 

Attachments