Can anyone show me a simple example how this component is used.Thanks
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In your application (the one you want to protect by embedding a CRC), drop an
OgProtectExecomponent. Use theObject Inspectorto add a handler for it’s single event (OnChecked, if I remember correctly). The handler should contain something like this:Possible
TExeStatusvalues are:Build your application as usual. Use
StampExe(from the OnGuardexamples\Delphifolder) to stamp your executable with the CRC (or write your own app that calls theOgProExeunit’sProtectExefunction to stamp it).ProtectExetakes two parameters – the full path and filename of the executable to protect, and a boolean that indicates whether or not it should remove it’s special marker after protecting. You should passTrueunless you want to have the ability to unprotect the executable afterwards.