- Anna Meriina
- PowerBuilder
- Thursday, 1 February 2024 03:52 PM UTC
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?
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.