1. John Vanleeuwe
  2. PowerBuilder
  3. Saturday, 9 January 2021 15:28 PM UTC

Hi guys,

 

I have my emailing function to send authenticated tlsmail working on my development pc.

When i run it on a customers server , it crashes with the following error message

 

error opening dll library cl32.dll for external function at line 55 in function of_sendtlsmail_logon of object n_smtp

 

Anyone have an idea please ?

 

 

TIA

John

 

 

John Fauss Accepted Answer Pending Moderation
  1. Saturday, 9 January 2021 16:10 PM UTC
  2. PowerBuilder
  3. # 1

Greetings, John -

You've given the Community almost no information to help you diagnose the issue. I'm not claiming that I can help, but I doubt anyone else can with what little you've told us.

What version/release/build of PB are you using? What "emailing function" are you using? Is this function in an external DLL or in another PB (non-visual?) object? Did you write the function you are calling? If not, who did, and have you contacted the author/vendor? Is the PB app compiled for 32-bit or 64-bit execution?

crypt32.dll and cl32.dll are Microsoft-supplied DLL's that provide cryptological functionality. Are these available on the user's PC? What version of Windows does the user's machine have installed? Is the version of these DLL's on the user's system the same version that you are using on your development system?

Please also recognize that it is now the weekend and many of the people that help answer questions on the Q&A forum may not be online or otherwise available to respond as quickly as you would like.

Regards, John

Comment
  1. John Vanleeuwe
  2. Saturday, 9 January 2021 16:25 PM UTC
Hi John,



You are absolutely right , panick attack as i have to get this working before monday morning. I apologize for the lack of details.



I will try my best to answer your questions



- first off i am using Rolands smtp code

- it does work on my dev pc with PB 2017 R2

- i have to send authenticated tls emails smtp.office365.com

- 32 bit compilation

- its not a user pc , its a server pc , windows server 2019

- the error message says "cr32.dll" , but i cant seem to find this on my dev pc neither

- the version is indeed different compared dev pc to the windows server 2019





TIA

John

  1. Helpful
  1. mike S
  2. Saturday, 9 January 2021 17:17 PM UTC
did you download the Cryptlib open source library?



from roland's page: "EmailSMTP uses Cryptlib, an open source library to communicate with the server using SSL or TLS encryption. The file cl32.dll is the 32bit Cryptlib and cl64.dll is the 64bit Cryptlib."
  1. Helpful
  1. John Fauss
  2. Saturday, 9 January 2021 20:19 PM UTC
Mike makes a very good point and he is correct about the note on TopWiz free code download page for this example that Roland provides. Please ensure these DLL's are installed and ACCESSIBLE on the client's Windows Server 2019 box.
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Saturday, 9 January 2021 15:54 PM UTC
  2. PowerBuilder
  3. # 2

Hi John;

   The CRYPT32.dll (CL.dll) is not part of PowerBuilder. Sounds like your using a 3rd party product. I would advise you to contact the vendor on this issue.

Regards... Chris

Comment
  1. John Vanleeuwe
  2. Saturday, 9 January 2021 16:06 PM UTC
Hi Chris,



i am using Rolands smtp object which uses the cr32.dll





TIA

John

  1. Helpful
  1. Chris Pollach @Appeon
  2. Saturday, 9 January 2021 16:35 PM UTC
I thought maybe as much. Best to contact Roland for this IMHO. He might also have a newer version to try.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.