DLL / OCX Protection Sample
Previous Top Next



clip0353

Files
sample_dll.tsp
Thinstall Project file, load this using Thinstall to build the protected DLL
dll_loader2\dll_loader2.cpp
Source code for a simple MFC application that tries to load a DLL
dll_loader2\Debug\dll_loader2.exe
Compiled MFC application
sample_app\dll_loader2.exe
same as dll_loader2\Debug\dll_loader2.exe
sample_app\test.dll
Thinstall Protected DLL (simple_dll.dll)
simple_dll\simple_dll.cpp
Source code for a simple DLL
simple_dll\Debug\simple_dll.dll
Compile version of simple_dll



This sample shows how Thinstall can be used to protect DLL and OCX files.
The general procedure for doing this:

1. Download Thinstall Studio
2. Select "Empty Project" to begin
3. Enter the filename of your DLL under "Input EXE/DLL/OCX"
4. Optionally, you may want to adjust the messages displayed when the registration dialogs are displayed and the Default License Conditions.
5. Click "Build!" to build your protected EXE.
6. Distribute the protected DLL to your customers via the Internet, CDROM, disk, etc.

Download the Demo

Description
Download Link
Sample Files
Includes:
· Source code for an EXE and DLL file
· Original Compiled EXE and DLL file
· Protected DLL file
· Thinstall project file

Sample Files (4MB)
Requires Thinstall Version 2.460 or higher




Notes about protecting DLLs

1. A DLL or OCX protected by Thinstall can only be loaded by a process one time. The DLL will remain in memory until the application quits even if the application tries to free the DLL.
2. The standard license for Thinstall Studio does not allow redistribution of the Thinstall Runtime by middle-ware companies. If you are a component developer who sells software components to 3rd parties, who then add these components to another product which is resold, please contact us about obtaining a middle-ware license.