My codes (that were working with the 2024 version) do not work anymore with the 2025 release.
this is the error I get in the function “InitConnection()”:
Message: Could not load file or assembly 'ZemaxEngine.dll' or one of its dependencies. The dynamic link library (DLL) initialization routine failed. (Exception from HRESULT: 0x8007045A)
Source: mscorlib
HelpLink: None