Hello. I need to use Crypter Object (PBCRYPT.DLL) in my project, but i don´t have it, and i don´t know hot to add to my project.
Any help is welcome..!!!
Thank You in advance.
Hello. I need to use Crypter Object (PBCRYPT.DLL) in my project, but i don´t have it, and i don´t know hot to add to my project.
Any help is welcome..!!!
Thank You in advance.
Hi, Francisco -
Since you are running a version of PB that is 11+ years old, you will need to utilize the Microsoft Crypto API. Roland has a free code sample on his Top Wiz Programming web site:
https://www.topwizprogramming.com/freecode_cryptoapi.html
Good luck!
You didn't mention what version of PB you are using but as Armeen and Chris said, if it's >= 2017 R3 then you can just do something like:
CrypterObject lcrypter
lcrypter = CREATE CrypterObject
lcrypter.somefunction()
It's as easy as that.
Any idea of how to do it something similar...??
I need to Crypt the connection data in mi application.ini file.
THANY YOU IN ADVANCE.
PBCRYPT.DLL is one of the runtime libraries in the newer versions of PowerBuilder for supporting the new CrypterObject: https://docs.appeon.com/pb2022/application_techniques/PowerBuilder_runtime_files.html
What version of PowerBuilder are you using?
Hi Francisco;
That DLL is not from Appeon. This was originally (AFAIK) from an external 3rd party product.
However, the built-in Cryptor object was not introduced into Appeon PB until release PB2019 R2 or higher. So if you are not on a newer release, this would not be in the PB runtime.
Regards ... Chris
THANK YOU.