TLS Callbacks causing error when wrapping with Instant Protection PLUS 3
Your executable is using TLS callbacks which are not supported by the Instant Protection PLUS 3 wrapper. The common error message when wrapping an application with TLS callbacks is: This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. This limitation is documented in the manual under the Wrapping Feature section of the System Requirements topic.
TLS (thread local storage) callbacks are a mechanism provided by the Windows loader to give your program a chance to do initialization/deinitialization tasks when the process starts, terminates, a thread is created or terminated. The TLS callbacks are encoded inside the compiled program’s TLS data directory(IMAGE_DIRECTORY_ENTRY_TLS). You may find more information on this from Microsoft.
If you are unable to remove the TLS callbacks, you may use the Instant Protection PLUS 3 DLL which will not have this limitation.