• DLL Dependency Issues with RSA API

    My coworker and I are both encountering difficulty getting the RSA API to work for us in Python.<br> <br> We both have the 3.23.0022 version installed from RSAAPI-64_3_23_0022_066169110.exe<br> I have the SignalVu PC application 5.0.0146 installed from SignalVu_PC_5.0.0146_066143440.exe - apparently downloaded during a limited window when that was available.<br> She has 5.0.0169 installed.<br> <br> I have these in the Windows PATH variable as reported in Powershell with &quot;echo $Env:path&quot;:<br> C:\Tektronix\RSA_API\lib\x64<br> C:\Program Files\Tektronix\SignalVu-PC\RSA\Client\<br> <br> I am starting &quot;py&quot; from Powershell in the C:\Tektronix\RSA_API\lib\x64 directory and running this: <pre>PS C:\Tektronix\RSA_API\lib\x64&gt; py Python 3.11.2 (tags/v3.11.2:878ead1, Feb 7 2023, 16:38:35) [MSC v.1934 64 bit (AMD64)] on win32 Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information. &gt;&gt;&gt; import os &gt;&gt;&gt; from ctypes import * &gt;&gt;&gt; rsa = cdll.LoadLibrary(&quot;RSA_API.dll&quot;) Traceback (most recent call last): File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt; File &quot;C:\Users\username\AppData\Local\Programs\Python\Python311\Lib\ctypes\__init__.py&quot;, line 454, in LoadLibrary return self._dlltype(name) ^^^^^^^^^^^^^^^^^^^ File &quot;C:\Users\username\AppData\Local\Programs\Python\Python311\Lib\ctypes\__init__.py&quot;, line 376, in __init__ self._handle = _dlopen(self._name, mode) ^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: Could not find module 'RSA_API.dll' (or one of its dependencies). Try using the full path with constructor syntax. &gt;&gt;&gt;</pre> <p>I've downloaded &quot;Dependencies&quot; from https://github.com/lucasg/Dependencies to try to figure out what DLL dependencies might be causing problems.<br> <br> So far I can see these problems in the red-marked items, typed here instead of showing a screenshot:<br> <br> C:\Tektronix\RSA_API\lib\x64\RSA_API.dll<br> depends on<br> C:\Tektronix\RSA_API\lib\x64\GPMeasDSP.dll<br> depends on<br> ...<br> RSAShared (&quot;could not be found on disk&quot;)<br> SAPlatformShared (&quot;could not be found on disk&quot;)<br> ...<br> <br> and<br> <br> C:\Tektronix\RSA_API\lib\x64\RSA_API.dll<br> depends on<br> C:\Tektronix\RSA_API\lib\x64\BaseDSPL.dll<br> depends on<br> ...<br> SAPlatformShared (&quot;could not be found on disk&quot;)<br> ...<br> <br> <br> <br> Both RSAShared and SAPlatformShared are DLLs in C:\Program Files\Tektronix\SignalVu-PC\RSA\Client\ - adding that directory to my path, in the hopes that DLLs would be located there, has not helped.<br> <br> Is there a compatibility problem between SignalVu PC released in 2023 and this API released in 2019? Is there another way we can try to figure out what it is about our installations that is making the RSA_API.dll mad?<br> <br> Thank you,<br> <br> -Michael</p>