30 lines
1.6 KiB
Plaintext
30 lines
1.6 KiB
Plaintext
ChangeTest - sample code to call DinkeyChange.dll in Visual Studio
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
This project is written in Visual Studio 5.0 but will work in more recent
|
|
versions of Visual Studio (they will upgrade the Project to the latest version).
|
|
For Visual Studio 2008 and higher please use the Visual Studio 2008 sample code.
|
|
|
|
The source files in the project are:
|
|
|
|
File name Folder Description
|
|
changetest.c Samples\c main source code file for C
|
|
changetest.h Samples\c contains some useful constants
|
|
DinkeyChange.lib Samples\c\import_libs contains the function definitions for DinkeyChange.dll
|
|
changetest.rc Samples\c\Visual Studio\DinkeyChange resource for main dialog
|
|
|
|
|
|
Note that the source paths are structured to minimise files. If you want to
|
|
move this project the references to these files will probably be no longer valid.
|
|
|
|
The sample code contains 7 functions. Just use which ever functions are most
|
|
appropriate and customise in your own way. The sample code is just a guide.
|
|
As none of the parameters are sensitive then there is no need to implement
|
|
strong security in calling DinkeyChange.
|
|
|
|
Note - you will not be able to debug your program after DinkeyChange has been called.
|
|
Our strong anti-debug code will cause the debugger to throw an exception. However,
|
|
if you do need to debug your code you can use our debug module for DinkeyChange:
|
|
DinkeyChangeDebug.dll. So, you can use DinkeyChange.dll for your release build
|
|
and DinkeyChangeDebug.dll for your debug build.
|