View Single Post
  #1  
Old 04-06-2014, 02:11
chessgod101's Avatar
chessgod101 chessgod101 is offline
Co-Administrator
 
Join Date: Jan 2011
Location: United States
Posts: 539
Rept. Given: 2,242
Rept. Rcvd 704 Times in 224 Posts
Thanks Given: 754
Thanks Rcvd at 1,021 Times in 191 Posts
chessgod101 Reputation: 700-899 chessgod101 Reputation: 700-899 chessgod101 Reputation: 700-899 chessgod101 Reputation: 700-899 chessgod101 Reputation: 700-899 chessgod101 Reputation: 700-899 chessgod101 Reputation: 700-899
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
Attached Files
File Type: rar UnitConverterProKeygen.rar (89.5 KB, 102 views)
__________________
"As the island of our knowledge grows, so does the shore of our ignorance." John Wheeler
Reply With Quote
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)