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?
If we need to use Sec_3DesCryptApi, how should we declare it? It has been working for years the way I described, so I suppose Sec_3DesCryptApi is inside pbcrypt.dll.
Regards