Hi Any idea what is causing the error shown in the snippet? Code worked in VS 2019. Error occurred in VS 2022. Related to PISDKRegistry.dll apparently. Any help appreciated.


image.png

Parents Reply
  • Hi ​ ,

    good catch! I wasn't sure as the error indicates the exception occurs in PISDKRegistry.dll, indicating the failing component is PI SDK. Might be that Anthony was using the legacy AF SDK which itself is based on PI SDK. The legacy AF SDK is also not included with the recent PI AF Client setup kit and we should only use the Rich Data Access (RDA) flavor of AF SDK with recent projects. I wouldn't assume Visual Studio 2022 creating better executables compared to the compilation results delivered by Visual Studio 2019 but using a recent AF SDK really makes a difference.

Children
No Data