Home > database >  PBD encrypted to prevent be decompiled access to the source code
PBD encrypted to prevent be decompiled access to the source code

Time:10-10

PBD encryption instructions

A, functions:
Encrypt all other than the target in the PBD PBD (can choose, it is recommended that all sensitive PBD only encrypted, in order to achieve the best effect), to prevent be decompiled be cracked,

Second, version applies:
PB8 - PB2017 all version

Three, compiling methods:

Click on the toolbar button

In the red box:
1 input & gt; After the integer 0, compiler to generate encrypted PBD,
2, please note that the authorized time, to the time limit, after encryption program complains of PBD, cannot use,
3 and 4 in, for a fixed value, derived from the authorization documents,
4. Here you can choose whether to compile a PBL, whether to compile the PBD encryption, whether to use a resource file,
5. Each PBD can choose to use different resource files,
Need authorization for a long time, please contact the author, the need to provide:
A) the name of the company B) C) copyright statement the company LOGO, PNG format
Four, the development method used in the application
1. The PBD encryption, decryption needs in the process of running side, provide a DLL function for the call,
Function declaration methods:
PB7 PB8 PB9 statement:
The FUNCTION Boolean SetDllDirectory (string lpPathName) library "Kernel32. DLL" alias for "SetDllDirectoryA
"The FUNCTION long PBDMan_Start () library "PBDManA. DLL
"The FUNCTION long PBDMan_Stop () library "PBDManA. DLL
"
PB10 PB11 PB12 PB12.5 PB12.6 PB2017 statement methods:
The FUNCTION Boolean SetDllDirectory (string lpPathName) library "Kernel32. DLL" alias for "SetDllDirectoryW
"The FUNCTION long PBDMan_Start () library "PBDManU. DLL
"The FUNCTION long PBDMan_Stop () library "PBDManU. DLL
"PB9 and below, note that statement PB10 and above version, due to the different character encoding, use the DLL is different, the function of writing, use,

2. The function call
2.1 in application open top
//initialize the DLL environment, and enable the PBD encryption parsing mechanism
String ls_dir
Ls_dir=GetCurrentDirectory ()
SetDllDirectory (ls_dir)
Ls_dir=ls_dir + "\ DLLS"//should be here PBDManA (U). The location of the DLL is placed, I am under the current directory of the DLLS
SetDllDirectory (ls_dir)
PBDMan_Start ()//PBD encrypted, you must use this statement

2.2 the application close behind the most
//close the PBD encryption mechanism
PBDMan_Stop ()
DEMO: please refer to the latest version of FDW framework source code.

Five, note
1. The target of PBD is not encrypted and cannot be selected as the encryption, sensitive information not stored in the PBD,
2. The authorization file name should be written into the PBR, compile as a resource file into PBD,
3. Do not use automatic instantiation of the global object, unless the object is inside the target of the PBD, must ensure that the PBDMan_Start before () function call will not use other objects in the PBD, otherwise an error exit.
4. If you must use global automatically instantiated object, you can create a global non-automatic instantiation objects, in a statement the global automatic instantiation objects, PBDMan_Start () starts, to the global automatically instantiated object instantiated,
5. If there is an error, please first check PBDMan. The log log,





Download resources (including instructions) :
https://download.csdn.net/download/lxbin2003/10840994

CodePudding user response:

In the tertiary terrible!!!!!!!

CodePudding user response:

No C currency, can not download,

CodePudding user response:

High · · · · · · · · · · · · ·
  • Related