Knowledge Base

Search Knowledge Base

KB #240062: Error running Borland Delphi Program with Encryptionizer APIs



Program may immediately terminate with a General Protection Error, or may simply not run at all.


Additional Information:
This applies only to Dephi applications that are including sectools.pas (or the equivalent). It may or may not be associated with a specific error message, but will happen immediately after trying to run the program.The cause for this may be that sectools.pas contains definitions of obsolete APIs that are no longer supported.

To resolve this error, edit sectools.pas and comment out any API calls that you are not specifically using in your application. Make sure to comment out both the Function() andDoGetProcAddress portions of the definition.

Alternatively you can request a new sectools.pas from us.