Visit site From Zero To One
March 2010
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
6
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 ...
0
votes
Windows 7 first impressions
From Zero To One
– A week ago my old XP died on me for the last time. And it was the longest installation period i had with XP. Almost two years of heavy duty work and countless installations. Before they never lasted more than a year of torture. Now after almost two years I got a BSOD. Instead of trying to resurrect ...



