Visit site From Zero To One
April 2011
14
votes
How to make a very small windows service executable
From Zero To One
– I a recent stack overflow question, a user asked how to make a Delphi generated NT Service executable smaller. There was some debate, if Delphi was appropriate to do this and if the executable size it generates was to big. Let me answer those two question as I see them: The size is not to big. In ...
March 2011
0
votes
Contant on the blog
From Zero To One
– If you tried to contact me via the contact page in the last few days, I was not reachable. The reason is, that I changed my gmail account password and forgot to change it in wordpress SMTP plugin. So if you did not receive a response, please try again and sorry for the inconvenience.
4
votes
New version of SimpleStorage and other updates
From Zero To One
– Quite a lot of new code got piled up so without further ado here are the news. (You can get all new releases from the download page) SimpleStorage This a new major release (1.7.3) of SimpleStorage. And sadly also a breaking one. At least if you were writing your own filters and adapters. There was ...
December 2010
3
votes
Your passwords security on the Internet
From Zero To One
– Before I begin to write about what the title implies, a clarification is in place. Why I haven’t blogged for so long. It has been months since I wrote anything. I do not like it, but the truth is I was extremely busy. Family, start up company, regular job, occasional projects and trying to ...
March 2010
3
votes
TValue and other “variable” like implementation tests
From Zero To One
– The recent post from Mason Wheeler about TValue speed was very interesting. I always had the impression, that variants were slow, but never tested that. So this was a surprise to me. But how fast the variants really are? There are other “variants” like implementations out there, so I ...
1
vote
Build your XML the LinqToXML style in native code – Part I.
From Zero To One
– A lot of you probably already know SimpleStorage. For those who don’t: http://www.cromis.net/blog/2008/07/simple-xml-based-storage/ http://www.cromis.net/blog/2008/07/simple-xml-based-storage-part-ii/ http://www.cromis.net/blog/2009/07/simple-xml-based-storage-part-iii/ ...
February 2010
0
votes
Updated SimpleStorage demos and added IDocument
From Zero To One
– As I promised, I updated the demos. I added two new demos. One showing how to manipulate collection of documents and the other to show how to Encrypt / Decrypt whole documents. I also made a change in the “Cromis.SimpleStorage.Collection.pas” unit. There is now a new ...
2
votes
What is new in SimpleStorage
From Zero To One
– As you probably know by now (or not) SimpleStorage is a set of interfaces to ease the manipulation of XML documents. It is based on OmniXML, a wonderful Delphi XML parser. Simple Storage aims to treat XML as a practical data storage and means of data serialization and transportation. I have written ...
1
vote
Yahoo messenger and Windows VirtualStore
From Zero To One
– Today I had an interesting challenge in front of me. As I already wrote about in a couple of posts I have a NAS set up for backing up my personal data, as well as my important VMWare machines. I switched my Windows backup client to Cobian last week, because GFI has serious issues with task ...
January 2010
7
votes
How to start a GUI process from service, under Windows Vista/7
From Zero To One
– Today I had a interesting challenge in front of me. I had to start a GUI application under Windows Vista or 7 with elevated privileges. And I had to start it from a restricted account. Why? Because the process was meant to start from a USB drive and act as a data synchronization tool. So in order to ...
2
votes
What do you do when your VMware server dies?
From Zero To One
– You start panicking of course Ok seriously now. You try to fix the problem first. If that doesn’t work then you bring the server back from the backups you are so regularly making. You are aren’t you? And you always make sure that your backup plan is actually working. Don’t you? ...
November 2009
0
votes
How to correctly handle cryptography in ANSI and Unicode flavor
From Zero To One
– As you know, Delphi is now Unicode able, from Delphi 2009 and up. This had caused a lot of headaches to a lot of developers out there. Unicode is not easy, you need to understand how it works and know how to use it. It is maybe simpler for .NET developers because they had it from the beginning (but ...
0
votes
XTEA (TEA) Delphi implementation available for download
From Zero To One
– I have updated the XTEA algorithm implementation and made it available for download. The algorithm works on array of bytes or on streams. You also have support functions that help you encrypt / decrypt strings. The interface is shown bellow. // XTEA encryption and decryption function function ...
0
votes
Tiny Encryption Algorithm (TEA).
From Zero To One
– I had fun this weekend. Some time passed since I coded (or better said modified) some low level code like this. I mean really low level, not Win32 API. And encryption in its true form is low level coding (and much more than just coding behind the screen). The initial problem that led to me to this ...
0
votes
Cromis IPC – Fast inter process communication (Named Pipes)
From Zero To One
– About half a year ago I had a mission to make a server that was able to handle multiple ISAPI modules and DLL modules over HTTP. I did not want to use Apache or IIS, for two reasons I must support clean, easy installations of the software, even on feeble laptops with easy maintenance over time. I ...




