Delphi allows to write Console applications as well as GUI applications, while the latter is the default. But "Console" application is not clearly defined in the documentation as I found out only today (and I have been programming in Delphi for about 20 years). There is the {$AppType Console} compiler directive which corresponds to the … Continue reading Delphi Console Applications
Author: dummzeuch
Creating DLLs with Delphi
I just stumbled upon an article on The Delphi Wiki that I wrote years ago: Creating DLLs It's still mostly valid. There have been some improvements in newer Delphi versions, in particular since Delphi 2006 you no longer need the borlndmm.dll if you want to use ShareMem. (But still: Using ShareMem means that your DLL … Continue reading Creating DLLs with Delphi
Updating Windows Defender signatures (only)
One of my problems with Windows 8 is that Microsoft recommends to keep Automatic Updates on the setting "Install updates automatically" while I prefer the setting "Download updates but let me choose whether to install them". (Actually I don't really want to choose whether to install them but rather when to install them.) It's possible … Continue reading Updating Windows Defender signatures (only)
Translating file filters
You know these innocuous file filters used by Open / Save dialogs? They usually look like this: First Filetype (*.ex1)|*.ex1|Second Filetype (*.ex2)|*.ex2|All Files (*.*)|*.* And since typing them is so difficult because you must remember to type all these pipe symbols, Delphi provides a property editor for it. Is there anybody who actually likes this … Continue reading Translating file filters
Changing the mouse wheel scroll behaviour of TListBox
While working on my dzMdbViewer I wondered why the mouse wheel didn't seem to scroll the listbox containing the table names but did work in the dbtable. It turned out to be a misconception on my side: The listbox contained only a few items so it didn't have a vertical scroll bar. The default behaviour … Continue reading Changing the mouse wheel scroll behaviour of TListBox
Convert from Subversion to Mercurial fast
In my previous post about converting from Subversion to Mercurial I assumed that I would want to migrate the history of changes from my svn repository to the new hg repository. For some projects, I don't really care about the history so I decided to take the quick and dirty route: Create a new, empty … Continue reading Convert from Subversion to Mercurial fast
Logging into a Mercurial repository on Sourceforge with an SSH private key
I was just about to post the following to stackexchange.com: --- I have got a mercurial repository on sourceforge.net, generated an ssh key with PuttyGen and uploaded it to Shell Services Configuration as described in the relevant site documentation. I then started Pageant and entered my passphrase. Now, I can connect to shell.sourceforge.net without entering … Continue reading Logging into a Mercurial repository on Sourceforge with an SSH private key
Using MSConfig to disable autostart
I guess most of you know that you can use msconfig (Start->Run->"msconfig") to disable programs that are automatically started by Windows. And you might have wondered where these entries go, when you disable them. Especially it looks like magic if entries in the start menu's Startup folders are concerned: You disable them in msconfig and … Continue reading Using MSConfig to disable autostart
I bought a Kindle
I had decided to never buy a Kindle because I take issue with Amazon controlling it, not myself. Also, I hate it that all Kindle e-books from Amazon are encumbered by DRM. Nevertheless, as the price dropped below 50 Euros for the pre-Paperwhite version, I could no longer resist and bought it. The rationalization is … Continue reading I bought a Kindle
Using jclDebug
Today I was at the Delphi Frühstück (breakfast) at Comcept GmbH in Cologne. It was quite an inspiring talk there. Thanks to the guys who organized it, I am looking forward to going there again. One of the questions that came up was how to use jclDebug for getting source code location and call stack … Continue reading Using jclDebug