Delphi

TStringBuilder – Optimizing Delphi’s strings for speed

Today I needed a function that will wrap a string (a contiguous block of characters with no spaces) after 80 characters. Not only that I have found SysUtils.WrapText unsuitable (it can only wrap text IF the text contains spaces) but it is also terrible slow. So I build my own function: function WrapString(CONST s: string;

TStringBuilder – Optimizing Delphi’s strings for speed Read More »

List of microcontrollers that can be programmed in Pascal (and Pascal-like) language

By micro-controller Arduino Lazarus? DK-Basic (8bit arduino) Pascal Compiler for AVR Cortex-M3 and M4 ARM LPC – 39euro on Amazon Oberon     Astrobe  (Windows) 8051 Turbo51 (Windows) PascalLite – unspecified price MicroPascal Pic 10 to Pic 18  Pic Micro Pascal ATMEGA MicroPascal Pro XMEGA/XTINY from Atmel MicroPascal Pro Raspberry Pi projects (ARM v6/ARM11) Lazarus ____________________________________________ By

List of microcontrollers that can be programmed in Pascal (and Pascal-like) language Read More »

Delphi XE7 IDE crash due to CnPAck MSDN Help Integrated

After spending 2 full hours I managed to find the culprit for an IDE crash (access violation in VCL210). The cause was …drum roll please… CnPack! There was a palette in IDE’s main tool bar called MSDN Help. However, when I right click to configure the toolbar, the palette was not listed there to show

Delphi XE7 IDE crash due to CnPAck MSDN Help Integrated Read More »

No mapping for the Unicode character exists in the target multi-byte code page

Today I tried to open an old project. While loading the main DFM form I got a “No mapping for the Unicode character exists in the target multi-byte code page” error. After some time I figured out what caused it: the form had a custom control that had a property like this: HeaderCellSpacing = 1.300000000000000000.

No mapping for the Unicode character exists in the target multi-byte code page Read More »

How to set paths (library, debug, BPL, DCP, search) in Delphi XE7 (for multiplatform use)

So, Delphi’s help doesn’t tell us much about how to set up paths for DPK packages. It is ok. So, I will tell you how I do it so they work both on 32 and 64 Win platforms: My packages I have these major packages/folders: Graphics32 Drag and Drop (Melander) 3rd  Party (many small packages

How to set paths (library, debug, BPL, DCP, search) in Delphi XE7 (for multiplatform use) Read More »

Fix for Exception EAccessViolation in module rtl210.bpl at 00016A9C [SOLVED]

I keep getting this error at Delphi shut down: Application Error – Exception EAccessViolation in module rtl210.bpl at 00016A9C. Access violation at address 50066A9C in module ‘rtl210.bpl’. Read of address 06152AF8. Solution 1: The problem is fixed by restoring this registry key to its original state: [HKEY_CURRENT_USERSoftwareEmbarcaderoBDS15.0Known IDE Packages] Here is the pristine value for

Fix for Exception EAccessViolation in module rtl210.bpl at 00016A9C [SOLVED] Read More »

Delphi: Access violation in module ‘bindcomp210.bpl’

I keep getting an “Access violation at address 1204F872 in module ‘bindcomp210.bpl’. Read of address 1423C764” message during Delphi startup. After poking around I have found the solution: delete the “Project” and/or “SaveFileDirectory” keys in [HKEY_CURRENT_USERSoftwareEmbarcaderoBDS15.0Session]   02.2015  

Delphi: Access violation in module ‘bindcomp210.bpl’ Read More »

How difficult is to write a solid software protection (licensing) scheme?

Extracting unique identification numbers from hardware and using them for software protection scheme I had customers that are purchasing a single software license but using it on multiple computers so I wanted to prevent them from doing so. The solution I have found was to generate a license key that is unique for each computer.

How difficult is to write a solid software protection (licensing) scheme? Read More »

Hosting – InMotion Hosting support sucks

IF YOU ARE AN INMOTION HOSTING CUSTOMER READ THIS!!! InMotion Hosting offer such horrible services. In time their reputation web down so they had to create a puppet company called…. Web Hosting Hub. Here is some proof: Click the Support button it will take you to a page that has InMotion Hosting logo: https://chatwithourteam.com/licence/1001/open_chat.cgi?lang=eh&params=HUB%20HUB%20HUB%20-%20WEB%20HOSTING%20HUB%20-%20HUB%20HUB%20HUB&groups=0 Here

Hosting – InMotion Hosting support sucks Read More »

Solve the “Cannot load a form that has itself as ancestor” error in Delphi

How to solve the “Cannot load a form that has itself as ancestor” error in Delphi This is how a new/empty project should look like: uses Forms, Unit1 in ‘Unit1.pas’ {Form1};  {$R *.res} And this how the project was: uses Forms, Unit1 in ‘Unit1.pas’ {Form} {$R *.res}; I spent on hour to find the well

Solve the “Cannot load a form that has itself as ancestor” error in Delphi Read More »

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 »

Webshots is dead. Smile!

So Webshots closed their little wallpaper changer software and replaced it with Smile. The Webshots users are very disillusioned because they were left with thousands of images/wallpapers encoded in WB1 format. But don’t worry! I have found a nice (actually a much much much nicer) replacement. It is called BioniX Wallpaper Changer. BioniX is the

Webshots is dead. Smile! Read More »

How to get thousand of software programs for free LEGALLY on BlueSnap Store?!?

I know that it sounds exactly as a scam but it isn’t, believe me. Plimus (a software reseller) added a new policy that force its software vendors to offer “30 days money back guaranty; no question asked”! Buy any software application listed on Plimus Store and then place a refund request and you will instantly

How to get thousand of software programs for free LEGALLY on BlueSnap Store?!? Read More »

Scroll to Top