Delphi

Delphi

How to prevent Delphi from generating ~bpl, identcache and local files

Delphi generates a series of annoying and useless files such as *.~bpl, *.identcache and *.local. They are totally safe to delete. Few people know that Delphi Distiller is capable to disable the generation of these files. This is because the panel from where you do this is hidden under an obscure menu called ‘Extras’. Just

How to prevent Delphi from generating ~bpl, identcache and local files Read More »

Caching issues with Delphi packages

The problem   My Delphi XE started to act strange lately. I have unit Unit2.pas that uses ‘FormatBytes’ declared in Unit1.pas. When I try to compile Unit2 Delphi says that it cannot find FormatBytes. But FormatBytes is there, in Unit1 !!Unit1 belongs to Package1 and Unit2 to Package2 (Package2 depends on Package1).Even more strange: if

Caching issues with Delphi packages Read More »

Hacking – Overtaking applications

There is a nice registry hack that allows you to execute a specific application when you try to execute actually a different application. For example if you try to run notepad.exe, the calc.exe will be launched instead. Details: The key you create in HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionImage File Execution Options must have the name of the application

Hacking – Overtaking applications Read More »

“Tpopupmenu not found” error in Delphi while loading a DPK file.

I got recently a nasty “tpopupmenu not found” error while trying to load an old DPK file. I finally figure out that the error was in the DOF file associated with the project. I just deleted the “c:program filesborlanddelphi7Bindclact70.bpl=Borland ActionBar Components” line from [Excluded Packages] section and it worked.

“Tpopupmenu not found” error in Delphi while loading a DPK file. Read More »

Scroll to Top