QTIPS - Compiling Protection Code

Published ByDateVersionKnowledge LevelKeywords
Sprezzatura Ltd01 JUL 19912.03+EXPERTCOMPILE, CODE, PROTECT

To see the generated code for the protection ("Compiling Protection Code"), create a blank record in the dict of the file to be protected called %PROTECT.SRC%. Then perform an action which causes the "Compiling Protection Code" message to be displayed. After the protection code has been compiled the source will be left in here. A careful examination of this code can be used to predict how many fields with conversions a file can have before SQL can no longer be used on it.

Failure to compile because the protection code is too large is usually evidenced by a FS251 message.

(Volume 3, Issue 3, Page 14)