PowerBuilder 2019 R2 Build 2353
We receive "Error opening dll library pbCrypt.dll for external function in line 20..." when calling Sec_3DesCryptApi. In Runtime and only on one virtual machine. On others it works ok.
This function Sec_3DesCryptApi is declared in Local External function as following:
FUNCTION long Sec_3DesCryptApi( string input, long len, ref string output) LIBRARY "pbCrypt.DLL" alias for "Sec_3DesCryptApi;Ansi";
Just before calling this function I added opening file pbcrypt.dll for reading (with fileopen-fileread-fileclose) and it connstantly succeeds, then we get the error message about opening dll library pbCrypt.dll.
What can be the reason?