Category: delphi
July 10, 2013
c #, code, compiler, debug, delphi, interpreter / compiler, programming languages, technical, tools / utilities, VMProtect, windows
The VMProtect (www.vmpsoft.com) is a great commercial tool that can be used to protect Win32/64 native programs written by C++ or Delphi. In one of my project, I use …
June 30, 2013
bug fixes, debug, delphi, interpreter / compiler, multithreading, programming languages, technical, tricks, Win32 API, windows scripting host
I’ve moved the following from the stackoverflow.com before I delete the post. It was suggested that “It’s not a valid question if the answer can be found only using …
If you have encounter the compiler problem in Delphi 2007 on Windows 8 x64 platform, like the following. You probably wondering what happens here. Some projects seem perfectly fine. …
May 31, 2013
compiler, delphi, floating point, implementation, interpreter / compiler, math, object pascal, optimization, programming languages, technical, tricks, windows
In Delphi, you can use the keyword absolute to force the union variable. e.g. Two variables share the same memory location, which is good to do some tricky things, for example, …
I was reading the source code of the FastMM4 and this short function came to my eyes. function GetThreadID: Cardinal; {$ifdef 32Bit} asm mov eax, FS: end; {$else} begin Result …