22 lines
1.2 KiB
Plaintext
22 lines
1.2 KiB
Plaintext
ChangeTest - sample code to call DinkeyChange.dll in Delphi
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
This project is written in Delphi 6 but will also work in more recent versions
|
|
(they will upgrade the Project to the latest version).
|
|
|
|
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.
|
|
|
|
It is also recommended that you rename DinkeyChange.dll to a name of your choice. In
|
|
this case you will need to modify the dll name in the change.pas file.
|
|
|
|
Important Note - you will not be able to debug your program after our API has been called.
|
|
Our strong anti-debug code will cause the debugger to throw an exception. You will also
|
|
not be able to run your program from the development platform either as Delphi still has
|
|
the Debugger running. You should run it instead from My Computer or from the command line.
|
|
|
|
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. |