31 lines
1.6 KiB
Plaintext
31 lines
1.6 KiB
Plaintext
ChangeTest - sample code to call DinkeyChange.dll in Dev-C++
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
This project is written using Dev C++ 4.9.9.2 but should also work in other
|
|
versions (for olders version you may have to create the project yourself).
|
|
|
|
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
|
|
libDinkeyChange.a Samples\c\import_libs contains the function definitions for DinkeyChange.dll
|
|
changetest.rc Samples\c\Visual Studio 5\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.
|
|
|
|
Note - if you are interested in creating the libDinkeyChange.a import library yourself
|
|
then read the notes in the MinGW\Runtime\readme.txt file (Dev-C++ uses the minGW compiler).
|