#1
|
||||
|
||||
Pointers in Delphi
This is a simple example of how one can use pointers in delphi to read variables as a different data type. In this example, we will take an array of 12 bytes and read it as 3 different integers. By using pointers, you can overcome delphi's strict data type limitations and manipulate and write data more flexibly. This example is from a keygen for Unit Converter Pro 3.1.
I have done my best to document this source code in a way that makes it easy to understand. If you have trouble understanding the code, feel free to ask a question and I will do my best to answer it. Product Website: Code:
hxxp://www.unitconverterpro.com/download.html
__________________
"As the island of our knowledge grows, so does the shore of our ignorance." John Wheeler |
The Following 9 Users Gave Reputation+1 to chessgod101 For This Useful Post: | ||
besoeso (04-07-2014), giv (04-06-2014), Jay (04-06-2014), ontryit (04-19-2014), quygia128 (04-06-2014), serseri_1453 (04-07-2014), uranus64 (04-06-2014), wilson bibe (04-06-2014), XorRanger (04-07-2014) |
#2
|
||||
|
||||
Yep.
Thank you! I have looked also in the program verification routine. The serial have 16 chars. First 8 characters generates the next 8 trough a loop of XOR/AND/SHIFT of bytes of the inverted first 8 bytes . The resulted DWORD from the function that "translate" the first 8 chars is the second part of the serial. Nice protection. |
The Following User Gave Reputation+1 to giv For This Useful Post: | ||
chessgod101 (04-08-2014) |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Any pointers on this troublesome algorithm? | Cryo | General Discussion | 11 | 12-05-2016 07:35 |
Need some pointers with a .Net target | Sailor_EDA | General Discussion | 10 | 03-03-2010 12:18 |
x64 Website Pointers | Evilcry | x64 OS | 3 | 10-01-2009 22:25 |
Need some pointers | lorn | General Discussion | 8 | 11-04-2004 13:20 |