<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tim Anderson's ITWriting &#187; delphi</title>
	<atom:link href="http://www.itwriting.com/blog/category/delphi/feed" rel="self" type="application/rss+xml" />
	<link>http://www.itwriting.com/blog</link>
	<description>Tech writing blog</description>
	<lastBuildDate>Wed, 17 Mar 2010 14:12:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Delphi and C++ Builder 2010 are out</title>
		<link>http://www.itwriting.com/blog/1727-delphi-and-c-studio-2010-is-out.html</link>
		<comments>http://www.itwriting.com/blog/1727-delphi-and-c-studio-2010-is-out.html#comments</comments>
		<pubDate>Tue, 25 Aug 2009 16:50:43 +0000</pubDate>
		<dc:creator>tim</dc:creator>
				<category><![CDATA[delphi]]></category>
		<category><![CDATA[embarcadero]]></category>
		<category><![CDATA[software development]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://www.itwriting.com/blog/1727-delphi-and-c-studio-2010-is-out.html</guid>
		<description><![CDATA[<p>I’ve installed the new Delphi from Embarcadero. I want to enthuse about this product, as a long-time Delphi enthusiast, but a few things have dampened my zeal:</p>
<p>1. The install on Windows 7 64-bit was not totally smooth. First Avira Antivir claimed that a file installed during setup, called convert.exe, contained a virus (not the fashionable <p><i>...continue reading</i> <a href="http://www.itwriting.com/blog/1727-delphi-and-c-studio-2010-is-out.html">Delphi and C++ Builder 2010 are out</a></p>


Related posts:<ol><li><a href='http://www.itwriting.com/blog/838-delphi-and-c-builder-2009-are-available-to-order.html' rel='bookmark' title='Permanent Link: Delphi and C++ Builder 2009 are available to order'>Delphi and C++ Builder 2009 are available to order</a></li>
<li><a href='http://www.itwriting.com/blog/824-whats-new-in-delphi-2009.html' rel='bookmark' title='Permanent Link: What&rsquo;s new in Delphi 2009'>What&rsquo;s new in Delphi 2009</a></li>
<li><a href='http://www.itwriting.com/blog/1717-delphi-developer-virus-exposes-weakness-in-anti-virus-defences.html' rel='bookmark' title='Permanent Link: Delphi developer virus exposes weakness in anti-virus defences'>Delphi developer virus exposes weakness in anti-virus defences</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I’ve installed the new Delphi from Embarcadero. I want to enthuse about this product, as a long-time Delphi enthusiast, but a few things have dampened my zeal:</p>
<p>1. The install on Windows 7 64-bit was not totally smooth. First <a href="http://www.avira.com/en/pages/index.php" target="_blank">Avira Antivir</a> claimed that a file installed during setup, called convert.exe, contained a virus (not the fashionable new one, something else called DR/Delphi.Gen dropper). I thought this was most likely a false positive. I tested the file with with <a href="http://www.kaspersky.com/" target="_blank">Kaspersky</a> which declared it clean, and I’ve emailed Avira about the problem. </p>
<p>I’m not sure why I bother at all with running anti-virus software. It is very little use. After all, what is the point of having it, if when it claims to find something you ignore it? On the other hand, what is the chance that this is a real virus on Embarcadero’s new CD, that Kaspersky does not detect? </p>
<p>None of this is Embarcadero’s fault, of course, unless it <strong>has</strong> shipped a virus, which I doubt.</p>
<p>2. Next, on running and quitting Delphi 2010 for the first time, the Windows Program Compatibility Assistant was triggered. See this <a href="http://www.itwriting.com/blog/1119-vistas-mysterious-compatibility-settings-what-do-they-do.html" target="_blank">earlier post</a> for what this guy looks like and what it does. This one made the same change, ELEVATECREATEPROCESS. </p>
<p>A minor niggle perhaps, but it looks bad. At this stage, the Delphi team should have come to terms with UAC and made RAD Studio properly UAC-aware. I’m guessing most of the team run with UAC disabled.</p>
<p>3. Another UAC issue. When the IDE starts up, you get a message:</p>
<blockquote><p>Error executing &#8216;C:\ProgramData\{BBD31133-40F8-4B57-9BA6-DB76C03D153B}\Setup.exe&#8217;: The parameter is incorrect</p>
</blockquote>
<p>This does not occur if you run as administrator.</p>
<p>4. I ran up the IDE and noticed there is a new <a href="http://docwiki.embarcadero.com/RADStudio/en/Main_Page" target="_blank">documentation wiki</a> with user contributions. I think this is a great idea. It seems to be built with <a href="http://www.mediawiki.org/wiki/MediaWiki" target="_blank">mediawiki</a>. Unfortunately it failed with “A database query syntax error has occurred”. Update: it’s working now.</p>
<p>5. I’d understood that Delphi 2010 is somewhat Windows 7 ready. It has great support for multi-touch and gestures. That’s fine, but I was interested to see how to support the Windows 7 Jump Lists. A Jump List is the menu that pops up when you right-click a taskbar icon. </p>
<p>Well, if support for this is there I can’t find it. There is support for the Windows 7 Direct 2D Canvas, and as I mentioned for multi-touch, but that’s about all I can find.</p>
<p>It’s a shame because only a few people will be using multi-touch in the near future, and Direct 2D is not a feature visible to users, but the new Windows 7 taskbar and its features – there’s also the ability to add controls to taskbar preview windows – is the thing that every Windows 7 user will notice.</p>
<p>Of course you can easily call the Windows API from Delphi, and the community will figure out how to support these features before long; there’s already an <a href="http://www.gumpi.com/Blog/2009/01/20/Alpha1OfWindows7ControlsForDelphi.aspx" target="_blank">alpha “Windows 7 controls for Delphi”</a> that Daniel Wischnewski has come up with. But I’d like to have seen it in the box, and it would have been a nice selling point. </p>
<p>Don’t let me put you off. There are other new features – including <a href="http://www.firebirdsql.org/" target="_blank">Firebird</a> support, integrated code formatter, better thread debugging -&#160; and no doubt the core of Delphi is as good as ever (no 64-bit yet, but it will come eventually).</p>
<p>Still, my impression is that Embarcadero still has to work a bit on that last degree of polish. One final gripe: why is the <a href="https://forums.embarcadero.com/index.jspa?categoryID=1" target="_blank">discussion forum so darn slow</a>? It has also been in beta forever.</p>
<p>More information <a href="http://www.embarcadero.com/products/delphi" target="_blank">here</a>.</p>


<p>Related posts:<ol><li><a href='http://www.itwriting.com/blog/838-delphi-and-c-builder-2009-are-available-to-order.html' rel='bookmark' title='Permanent Link: Delphi and C++ Builder 2009 are available to order'>Delphi and C++ Builder 2009 are available to order</a></li>
<li><a href='http://www.itwriting.com/blog/824-whats-new-in-delphi-2009.html' rel='bookmark' title='Permanent Link: What&rsquo;s new in Delphi 2009'>What&rsquo;s new in Delphi 2009</a></li>
<li><a href='http://www.itwriting.com/blog/1717-delphi-developer-virus-exposes-weakness-in-anti-virus-defences.html' rel='bookmark' title='Permanent Link: Delphi developer virus exposes weakness in anti-virus defences'>Delphi developer virus exposes weakness in anti-virus defences</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.itwriting.com/blog/1727-delphi-and-c-studio-2010-is-out.html/feed</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Delphi developer virus exposes weakness in anti-virus defences</title>
		<link>http://www.itwriting.com/blog/1717-delphi-developer-virus-exposes-weakness-in-anti-virus-defences.html</link>
		<comments>http://www.itwriting.com/blog/1717-delphi-developer-virus-exposes-weakness-in-anti-virus-defences.html#comments</comments>
		<pubDate>Thu, 20 Aug 2009 05:56:17 +0000</pubDate>
		<dc:creator>tim</dc:creator>
				<category><![CDATA[delphi]]></category>
		<category><![CDATA[embarcadero]]></category>
		<category><![CDATA[software development]]></category>

		<guid isPermaLink="false">http://www.itwriting.com/blog/1717-delphi-developer-virus-exposes-weakness-in-anti-virus-defences.html</guid>
		<description><![CDATA[<p>I found a real live instance of the Delphi-attacking virus W32/Induc-A yesterday. It was in the executable for FinalBurner Free from ProtectedSoft (ironic name in the circumstances), a decent freeware CD burning application. The file is burner.exe and I suspect the company has been shipping it for some time. I do not know if it <p><i>...continue reading</i> <a href="http://www.itwriting.com/blog/1717-delphi-developer-virus-exposes-weakness-in-anti-virus-defences.html">Delphi developer virus exposes weakness in anti-virus defences</a></p>


Related posts:<ol><li><a href='http://www.itwriting.com/blog/1951-sophos-windows-7-anti-virus-test-tells-us-nothing-we-dont-already-know.html' rel='bookmark' title='Permanent Link: Sophos Windows 7 anti-virus test tells us nothing we don&rsquo;t already know'>Sophos Windows 7 anti-virus test tells us nothing we don&rsquo;t already know</a></li>
<li><a href='http://www.itwriting.com/blog/1032-anti-virus-failure-leaves-xp-broken-dns-hijacked-user-frustrated.html' rel='bookmark' title='Permanent Link: Anti-virus failure leaves XP broken, DNS hijacked, user frustrated'>Anti-virus failure leaves XP broken, DNS hijacked, user frustrated</a></li>
<li><a href='http://www.itwriting.com/blog/1068-microsoft-plans-free-anti-malware.html' rel='bookmark' title='Permanent Link: Microsoft plans free anti-malware'>Microsoft plans free anti-malware</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I found a real live instance of the Delphi-attacking virus W32/Induc-A yesterday. It was in the executable for <a href="http://www.protectedsoft.com/" target="_blank">FinalBurner Free</a> from ProtectedSoft (ironic name in the circumstances), a decent freeware CD burning application. The file is burner.exe and I suspect the company has been shipping it for some time. I do not know if it affects the paid-for versions. </p>
<p><img src="http://www.itwriting.com/images/delphi-virus.gif" /></p>
<p>This malware was <a href="http://www.sophos.com/blogs/sophoslabs/v/post/6117" target="_blank">highlighted by Sophos</a> though one thing Sophos does not make clear (as it is in the scaremongering business) is that the virus has only a mild affect. It only affects machines with ancient versions of Delphi installed – versions 5, 6 and 7 <a href="http://blog.marcocantu.com/blog/virus_attacks_delphi.html" target="_blank">according to Marco Cantu</a> – and its activity appears to be limited to replication. In other words, a successfully infected machine modifies Delphi’s runtime library so that it compiles infected executables, but does nothing else that I know of.</p>
<p>The implication is that the anti-virus companies, far from doing a great job at protecting us, have only just spotted a problem that has been around for months or possibly years. The burner.exe I found was dated 16 June 2009. If anyone has an older example, I would be interested to know; I’ve seen one report of an August 2008 infection.</p>
<p>Thus, when Delphi Product Manager Mike Rozlog <a href="http://www.theregister.co.uk/2009/08/19/delphi_malware/comments/" target="_blank">comments to the Register’s report</a>:</p>
<blockquote><p>The best ways to combat these types of issues are to establish a deployment protocol that checks for viruses and trojans before shipping any applications</p>
</blockquote>
<p>you have to ask: how? Clearly scanning with an anti-virus product would not have helped ProtectedSoft. Note that Sophos <a href="http://www.sophos.com/security/analyses/viruses-and-spyware/w32induca.html" target="_blank">admits in its database</a> that protection has been available only since 18 August 2009. </p>
<p>Despite the mild impact of W32/Induc-A (as far as we know so far) it is not something to take lightly. The attack looks like a proof-of-concept, to be followed by similar code with more serious impact, or possibly just an experiment that escaped into the wild. Maybe there are other more serious variants that the vigilant anti-virus folk will find in a month or two’s time.</p>
<p>How then can developers protect their machines? Another Reg reader says:</p>
<blockquote><p>Instead, people should try to ensure the integrity of their development systems. Don&#8217;t connect them to the &#8216;net and don&#8217;t play games on them (duh!). Don&#8217;t have any foreign executables on them besides the OS and the compiler, transfer the sources there and compile them there. Run some kind of integrity checker to make sure that your compiler distribution hasn&#8217;t been tampered with. That sort of stuff.</p>
</blockquote>
<p>Good advice, though not trivial to implement. A suggestion for <a href="http://www.embarcadero.com/" target="_blank">Embarcardero</a>: how about giving some thought to the problem and coming up with an easy means for developers to check the integrity of their runtime library files? </p>
<p>The disturbing aspect of this story is how malware can end up in shipping software from reputable companies; it could even be signed code. How long before something like this ends up in an executable shipped with an operating system itself, maybe with a timed payload so it lies dormant until well distributed?</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:c1fd921e-32bc-4f97-874e-d7c9df3bce98" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/delphi" rel="tag">delphi</a>,<a href="http://technorati.com/tags/embarcadero" rel="tag">embarcadero</a>,<a href="http://technorati.com/tags/anti-virus" rel="tag">anti-virus</a>,<a href="http://technorati.com/tags/sophos" rel="tag">sophos</a></div>


<p>Related posts:<ol><li><a href='http://www.itwriting.com/blog/1951-sophos-windows-7-anti-virus-test-tells-us-nothing-we-dont-already-know.html' rel='bookmark' title='Permanent Link: Sophos Windows 7 anti-virus test tells us nothing we don&rsquo;t already know'>Sophos Windows 7 anti-virus test tells us nothing we don&rsquo;t already know</a></li>
<li><a href='http://www.itwriting.com/blog/1032-anti-virus-failure-leaves-xp-broken-dns-hijacked-user-frustrated.html' rel='bookmark' title='Permanent Link: Anti-virus failure leaves XP broken, DNS hijacked, user frustrated'>Anti-virus failure leaves XP broken, DNS hijacked, user frustrated</a></li>
<li><a href='http://www.itwriting.com/blog/1068-microsoft-plans-free-anti-malware.html' rel='bookmark' title='Permanent Link: Microsoft plans free anti-malware'>Microsoft plans free anti-malware</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.itwriting.com/blog/1717-delphi-developer-virus-exposes-weakness-in-anti-virus-defences.html/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Survey ranks developer tools, and reveals what developers care about most</title>
		<link>http://www.itwriting.com/blog/1536-survey-ranks-developer-tools-and-reveals-what-developers-care-about-most.html</link>
		<comments>http://www.itwriting.com/blog/1536-survey-ranks-developer-tools-and-reveals-what-developers-care-about-most.html#comments</comments>
		<pubDate>Thu, 18 Jun 2009 14:47:33 +0000</pubDate>
		<dc:creator>tim</dc:creator>
				<category><![CDATA[delphi]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[embarcadero]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[software development]]></category>
		<category><![CDATA[visual studio]]></category>
		<category><![CDATA[web authoring]]></category>

		<guid isPermaLink="false">http://www.itwriting.com/blog/1536-survey-ranks-developer-tools-and-reveals-what-developers-care-about-most.html</guid>
		<description><![CDATA[<p>Evans Data has published its 2009 Software Development Platforms survey, to which around 1200 developers contributed, scoring their chosen development tools in eighteen different categories. </p>
<p></p>
<p>The tools covered are Eclipse, Embarcadero’s Delphi, IBM’s Rational Suite, IntelliJ, Microsoft’s Visual Studio, NetBeans, Oracle JDeveloper and Sun Studio.</p>
<p>I was sorry not to see more products covered. Flex Builder <p><i>...continue reading</i> <a href="http://www.itwriting.com/blog/1536-survey-ranks-developer-tools-and-reveals-what-developers-care-about-most.html">Survey ranks developer tools, and reveals what developers care about most</a></p>


Related posts:<ol><li><a href='http://www.itwriting.com/blog/1568-eclipse-survey-shows-windows-decline.html' rel='bookmark' title='Permanent Link: Eclipse survey shows Windows decline'>Eclipse survey shows Windows decline</a></li>
<li><a href='http://www.itwriting.com/blog/989-when-will-php-developer-tools-be-mainstream-at-eclipse.html' rel='bookmark' title='Permanent Link: When will PHP Developer Tools be mainstream at Eclipse?'>When will PHP Developer Tools be mainstream at Eclipse?</a></li>
<li><a href='http://www.itwriting.com/blog/49-borland-keeps-its-developer-tools-after-all.html' rel='bookmark' title='Permanent Link: Borland keeps its developer tools after all'>Borland keeps its developer tools after all</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Evans Data has published its 2009 <a href="http://www.evansdata.com/reports/viewRelease_download.php?reportID=19" target="_blank">Software Development Platforms survey</a>, to which around 1200 developers contributed, scoring their chosen development tools in eighteen different categories. </p>
<p><img src="http://www.itwriting.com/images/tools-ranking.gif" /></p>
<p>The tools covered are Eclipse, Embarcadero’s Delphi, IBM’s Rational Suite, IntelliJ, Microsoft’s Visual Studio, NetBeans, Oracle JDeveloper and Sun Studio.</p>
<p>I was sorry not to see more products covered. <strike>Flex Builder</strike> <a href="http://www.adobe.com/products/flex/" target="_blank">Flash Builder</a>, <a href="http://zend.com/en/products/studio" target="_blank">Zend Studio</a>, <a href="http://www.aptana.com/" target="_blank">Aptana</a> and <a href="http://www.embarcadero.com/products/jbuilder" target="_blank">JBuilder</a> would all have been interesting, for example. Each developer only scored the product they actually use (a good thing), so the sample is not as big as it first appears.</p>
<p>I’m also mistrustful of the survey results, particularly when you look at it in detail. For example, one of the categories is “Support for frameworks”.&#160; Visual Studio came top, while Eclipse was last. But hang on: in Visual Studio (for example) are we talking MFC, or .NET Framework? The development experience for each is totally different. And were developers primarily judging on the framework tools, or the framework itself? It is hard to attach much meaning to the scores in this category.</p>
<p>Another flaw: the versions of the products is not specified. That means a weakness may have been fixed in a later version, but the survey does not tell you.</p>
<p>A third flaw: some tools are weak in several categories, dragging down their overall score, but that does not matter to developers who do not use them for that purpose. It is hard to compare like with like.</p>
<p>Still, while I’m wary of the survey overall, I though it brought out some interesting points. One is that developers were asked what features matter most to them. So:</p>
<p><strong>The three things developers care about most (highest priority first):</strong></p>
<p>1. Basic tools (editor/compiler/debugger)</p>
<p>2. Documentation</p>
<p>3. Tool integration</p>
<p><strong>The things developers care about least (lowest priority first):</strong></p>
<p>1. Support for remote development</p>
<p>2. Support for parallel programming (sorry Intel!)</p>
<p>3. App Modeling tools</p>
<p>What about the winners and losers in the survey? I almost forgot. IBM’s Rational Suite came top, followed by Microsoft’s Visual Studio. <a href="http://www.eclipse.org" target="_blank">Eclipse</a> came last, though it still got a decent score, well below its rival <a href="http://www.netbeans.org" target="_blank">NetBeans</a>.</p>
<p>The low ranking for Eclipse (which is nevertheless wildly popular) deserves some comment, particularly as the top tool, IBM Rational Suite, is built on Eclipse. I spoke to Eclipse executive director Mike Milinkovich while researching <a href="http://www.theregister.co.uk/2009/06/12/embarcadero_codegear_tools_future/" target="_blank">this Register piece</a> recently. One of the points we discussed was the tension (if there is one, which he disputes) between tools vendors sharing resources to build the best possible platform, and holding resources back to retain commercial differentiation. I’ll write this up in more detail shortly; but it shows why certain areas in Eclipse may not receive the attention they deserve – localization was a specific example. </p>
<p>Another problem with Eclipse is that it is all a bit messy, confusing and hard to manage, particularly in a team where you want every member to have an identical setup. It is still worth it though, for the riches it provides for free.</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:0bdd7548-f459-46aa-b65d-70b34cec0459" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/eclipse" rel="tag">eclipse</a>,<a href="http://technorati.com/tags/evans+data" rel="tag">evans data</a>,<a href="http://technorati.com/tags/software+development+tools" rel="tag">software development tools</a>,<a href="http://technorati.com/tags/visual+studio" rel="tag">visual studio</a>,<a href="http://technorati.com/tags/ibm+rational" rel="tag">ibm rational</a>,<a href="http://technorati.com/tags/netbeans" rel="tag">netbeans</a></div>


<p>Related posts:<ol><li><a href='http://www.itwriting.com/blog/1568-eclipse-survey-shows-windows-decline.html' rel='bookmark' title='Permanent Link: Eclipse survey shows Windows decline'>Eclipse survey shows Windows decline</a></li>
<li><a href='http://www.itwriting.com/blog/989-when-will-php-developer-tools-be-mainstream-at-eclipse.html' rel='bookmark' title='Permanent Link: When will PHP Developer Tools be mainstream at Eclipse?'>When will PHP Developer Tools be mainstream at Eclipse?</a></li>
<li><a href='http://www.itwriting.com/blog/49-borland-keeps-its-developer-tools-after-all.html' rel='bookmark' title='Permanent Link: Borland keeps its developer tools after all'>Borland keeps its developer tools after all</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.itwriting.com/blog/1536-survey-ranks-developer-tools-and-reveals-what-developers-care-about-most.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Embarcadero CEO on cross-platform native code</title>
		<link>http://www.itwriting.com/blog/1528-embarcadero-ceo-on-cross-platform-native-code.html</link>
		<comments>http://www.itwriting.com/blog/1528-embarcadero-ceo-on-cross-platform-native-code.html#comments</comments>
		<pubDate>Tue, 16 Jun 2009 10:43:23 +0000</pubDate>
		<dc:creator>tim</dc:creator>
				<category><![CDATA[delphi]]></category>
		<category><![CDATA[embarcadero]]></category>
		<category><![CDATA[software development]]></category>

		<guid isPermaLink="false">http://www.itwriting.com/blog/1528-embarcadero-ceo-on-cross-platform-native-code.html</guid>
		<description><![CDATA[<p>I had a long chat with Embarcadero CEO Wayne Williams last week. I used a few snippets on the Reg – on cross-platform Delphi and Eclipse &#8211; and hope to post more from it shortly. In the meantime, here’s what he said about using native code rather than Java or other types of managed code <p><i>...continue reading</i> <a href="http://www.itwriting.com/blog/1528-embarcadero-ceo-on-cross-platform-native-code.html">Embarcadero CEO on cross-platform native code</a></p>


Related posts:<ol><li><a href='http://www.itwriting.com/blog/1432-delphi-moving-towards-cross-platform-64-bit.html' rel='bookmark' title='Permanent Link: Delphi moving towards cross-platform, 64-bit'>Delphi moving towards cross-platform, 64-bit</a></li>
<li><a href='http://www.itwriting.com/blog/2361-no-native-code-on-windows-phone-7-says-microsoft-so-what-about-flash.html' rel='bookmark' title='Permanent Link: No native code development on Windows Phone 7 says Microsoft &ndash; so what about Flash?'>No native code development on Windows Phone 7 says Microsoft &ndash; so what about Flash?</a></li>
<li><a href='http://www.itwriting.com/blog/1079-embarcadero-rad-studio-2009-is-done.html' rel='bookmark' title='Permanent Link: Embarcadero RAD Studio 2009 is done'>Embarcadero RAD Studio 2009 is done</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I had a long chat with Embarcadero CEO Wayne Williams last week. I used a few snippets on the Reg – on <a href="http://www.theregister.co.uk/2009/06/12/embarcadero_codegear_tools_future/" target="_blank">cross-platform Delphi and Eclipse</a> &#8211; and hope to post more from it shortly. In the meantime, <a href="http://www.itjoblog.co.uk/2009/06/native-codes.html" target="_blank">here’s what he said</a> about using native code rather than Java or other types of managed code for cross-platform apps. It felt like 1996 all over again, but he has a point.</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:d389add7-f690-4578-90fd-80db3e453cb6" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/embarcadero" rel="tag">embarcadero</a>,<a href="http://technorati.com/tags/native+code" rel="tag">native code</a>,<a href="http://technorati.com/tags/delphi" rel="tag">delphi</a>,<a href="http://technorati.com/tags/java" rel="tag">java</a></div>


<p>Related posts:<ol><li><a href='http://www.itwriting.com/blog/1432-delphi-moving-towards-cross-platform-64-bit.html' rel='bookmark' title='Permanent Link: Delphi moving towards cross-platform, 64-bit'>Delphi moving towards cross-platform, 64-bit</a></li>
<li><a href='http://www.itwriting.com/blog/2361-no-native-code-on-windows-phone-7-says-microsoft-so-what-about-flash.html' rel='bookmark' title='Permanent Link: No native code development on Windows Phone 7 says Microsoft &ndash; so what about Flash?'>No native code development on Windows Phone 7 says Microsoft &ndash; so what about Flash?</a></li>
<li><a href='http://www.itwriting.com/blog/1079-embarcadero-rad-studio-2009-is-done.html' rel='bookmark' title='Permanent Link: Embarcadero RAD Studio 2009 is done'>Embarcadero RAD Studio 2009 is done</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.itwriting.com/blog/1528-embarcadero-ceo-on-cross-platform-native-code.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delphi moving towards cross-platform, 64-bit</title>
		<link>http://www.itwriting.com/blog/1432-delphi-moving-towards-cross-platform-64-bit.html</link>
		<comments>http://www.itwriting.com/blog/1432-delphi-moving-towards-cross-platform-64-bit.html#comments</comments>
		<pubDate>Fri, 15 May 2009 07:38:56 +0000</pubDate>
		<dc:creator>tim</dc:creator>
				<category><![CDATA[codegear]]></category>
		<category><![CDATA[delphi]]></category>
		<category><![CDATA[embarcadero]]></category>
		<category><![CDATA[software development]]></category>

		<guid isPermaLink="false">http://www.itwriting.com/blog/1432-delphi-moving-towards-cross-platform-64-bit.html</guid>
		<description><![CDATA[<p>Embarcadero’s Delphi Live conference is running this week, and there are some interesting reports coming out. Robert Love has the best summary I’ve found so far. As I understand it, the next Delphi is codenamed “Weaver” and adds Windows 7 support, including the Touch APIs. More interesting is that this will be followed at some <p><i>...continue reading</i> <a href="http://www.itwriting.com/blog/1432-delphi-moving-towards-cross-platform-64-bit.html">Delphi moving towards cross-platform, 64-bit</a></p>


Related posts:<ol><li><a href='http://www.itwriting.com/blog/1528-embarcadero-ceo-on-cross-platform-native-code.html' rel='bookmark' title='Permanent Link: Embarcadero CEO on cross-platform native code'>Embarcadero CEO on cross-platform native code</a></li>
<li><a href='http://www.itwriting.com/blog/71-wpfe-preview-is-out-but-no-cross-platform-net-for-now.html' rel='bookmark' title='Permanent Link: WPF/E preview is out &#8211; but no cross-platform .NET for now'>WPF/E preview is out &#8211; but no cross-platform .NET for now</a></li>
<li><a href='http://www.itwriting.com/blog/954-prism-official-delphi-language-comes-to-visual-studio.html' rel='bookmark' title='Permanent Link: Prism: official Delphi language comes to Visual Studio'>Prism: official Delphi language comes to Visual Studio</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Embarcadero’s <a href="http://delphilive.com/" target="_blank">Delphi Live</a> conference is running this week, and there are some interesting reports coming out. Robert Love has the <a href="http://www.delphifeeds.com/go/t/56264" target="_blank">best summary</a> I’ve found so far. As I understand it, the next Delphi is codenamed “Weaver” and adds Windows 7 support, including the Touch APIs. More interesting is that this will be followed at some point by “Project X”, a cross-platform native code compiler for Windows, Mac and Linux. There is also mention of “Project Commodore”, which brings full 64-bit support.</p>
<p>Project X is the one that particularly grabs my attention. Cross-platform Delphi has been tried before, with Kylix, Delphi for Linux. Although promising, Kylix suffered on the technical side from Wine dependencies and on the marketing side from lack of demand for Delphi desktop applications. I do not have any technical information about Project X yet, but on the marketing side Mac OS X (and perhaps iPhone) is a great deal more promising than Linux.</p>
<p>After suffering from under-investment for many years, it is great to see Delphi now getting a new lease of life in its new home, and I’m looking forward to finding out more.</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:94327d13-92b6-491f-8aa9-56fddb48eb1f" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/delphi" rel="tag">delphi</a>,<a href="http://technorati.com/tags/project+x" rel="tag">project x</a>,<a href="http://technorati.com/tags/weaver" rel="tag">weaver</a>,<a href="http://technorati.com/tags/commdore" rel="tag">commdore</a>,<a href="http://technorati.com/tags/delphi+live" rel="tag">delphi live</a></div>


<p>Related posts:<ol><li><a href='http://www.itwriting.com/blog/1528-embarcadero-ceo-on-cross-platform-native-code.html' rel='bookmark' title='Permanent Link: Embarcadero CEO on cross-platform native code'>Embarcadero CEO on cross-platform native code</a></li>
<li><a href='http://www.itwriting.com/blog/71-wpfe-preview-is-out-but-no-cross-platform-net-for-now.html' rel='bookmark' title='Permanent Link: WPF/E preview is out &#8211; but no cross-platform .NET for now'>WPF/E preview is out &#8211; but no cross-platform .NET for now</a></li>
<li><a href='http://www.itwriting.com/blog/954-prism-official-delphi-language-comes-to-visual-studio.html' rel='bookmark' title='Permanent Link: Prism: official Delphi language comes to Visual Studio'>Prism: official Delphi language comes to Visual Studio</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.itwriting.com/blog/1432-delphi-moving-towards-cross-platform-64-bit.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The end of the Borland story: acquired by Micro Focus</title>
		<link>http://www.itwriting.com/blog/1413-the-end-of-the-borland-story-acquired-by-micro-focus.html</link>
		<comments>http://www.itwriting.com/blog/1413-the-end-of-the-borland-story-acquired-by-micro-focus.html#comments</comments>
		<pubDate>Wed, 06 May 2009 18:14:25 +0000</pubDate>
		<dc:creator>tim</dc:creator>
				<category><![CDATA[borland]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[delphi]]></category>

		<guid isPermaLink="false">http://www.itwriting.com/blog/1413-the-end-of-the-borland-story-acquired-by-micro-focus.html</guid>
		<description><![CDATA[<p>It is not unexpected, but still sad to see loss-making Borland acquired by Micro Focus for a knock-down price of $75m. Borland’s release says little beyond the financial details. Micro Focus, which is also acquiring Compuware’s ASQ (Automated Software Quality) tools (such as QADirector, DevPartner and Optimal Trace, I presume) says:</p>
<p>Acquiring Borland and the Compuware <p><i>...continue reading</i> <a href="http://www.itwriting.com/blog/1413-the-end-of-the-borland-story-acquired-by-micro-focus.html">The end of the Borland story: acquired by Micro Focus</a></p>


Related posts:<ol><li><a href='http://www.itwriting.com/blog/1418-the-compuware-tools-that-are-going-to-micro-focus.html' rel='bookmark' title='Permanent Link: The Compuware tools that are going to Micro Focus'>The Compuware tools that are going to Micro Focus</a></li>
<li><a href='http://www.itwriting.com/blog/49-borland-keeps-its-developer-tools-after-all.html' rel='bookmark' title='Permanent Link: Borland keeps its developer tools after all'>Borland keeps its developer tools after all</a></li>
<li><a href='http://www.itwriting.com/blog/124-codegear-borland-to-support-php-tools.html' rel='bookmark' title='Permanent Link: CodeGear (Borland) to support PHP tools'>CodeGear (Borland) to support PHP tools</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>It is not unexpected, but still sad to see loss-making Borland acquired by Micro Focus for a knock-down price of $75m. <a href="http://www.borland.com/us/company/news/press_releases/2009/05_06_09_borland_to_be_acquired_by_micro_focus.html" target="_blank">Borland’s release</a> says little beyond the financial details. Micro Focus, which is also <a href="http://investor.compuware.com/releasedetail.cfm?ReleaseID=381984" target="_blank">acquiring</a> Compuware’s ASQ (Automated Software Quality) <a href="http://www.compuware.com/solutions/3596_ENG_HTML.htm" target="_blank">tools</a> (such as QADirector, DevPartner and Optimal Trace, I presume) <a href="http://www.microfocus.com/AboutMicroFocus/pressroom/releases/pr20090506308750.asp" target="_blank">says</a>:</p>
<blockquote><p>Acquiring Borland and the Compuware Testing and ASQ Business will give Micro Focus a leading market position in the highly complementary Application Testing / ASQ market. This market is estimated to be worth c.US$2 billion a year and is logically adjacent to Micro Focus’ core application management and modernization business.&#160; The move into the ASQ market is consistent with Micro Focus’ stated strategy of extending in logically adjacent segments to expand its addressable market.</p>
</blockquote>
<p>Why sad? Well, if you were around in the eighties and nineties you will remember a bold company which came up with a series of excellent products: Turbo Pascal, Borland C/C++, Quattro Pro, Paradox, and of course the incomparable Windows development tool Delphi. The visual development model in Delphi was successfully transitioned to Java in the JBuilder product, which in its early versions used a Delphi-compiled IDE.</p>
<p>These developer-focused products live on, of course, mostly in the hands of <a href="http://www.embarcadero.com/" target="_blank">Embarcadero</a>. The Borland that has been acquired is what was left when, in my developer-centric opinion, the best parts had already left.</p>
<p>What went wrong at Borland? It is mostly the victim of changes in the industry, made worse today by the economic downturn. It was a tools company, and the tools market was hit by the double blow of excellent open-source competition on one side (Eclipse, GCC) and vendor-subsidised tools on the other (Visual Studio).</p>
<p>Still, there were some spectacular own goals along the way. The 1991 acquisition of Ashton-Tate, at the time the market leader in PC database managers, was one, mainly because dBASE IV was not very good and did nothing to help Borland transition to Windows; in any case, Borland already had a better product in the form of Paradox.</p>
<p>Talking of Paradox, Paradox for Windows was another disaster. Wonderful product, but mostly incompatible with its DOS predecessor, and probably a tad too complex as well. It also had to compete with Microsoft Access, which was both cheaper and part of the impregnable Microsoft Office suite.</p>
<p>The company made up for it with Delphi; but even that under-performed relative to its quality. Enterprises felt safer with Microsoft’s Visual Basic. JBuilder did well at first; but its market share diminished rapidly in the face of competition from Eclipse and NetBeans. In retrospect, Borland should have made its core Java IDE free much earlier, to build a community round it, though competing with free is never easy.</p>
<p>Since it was so hard making money out of compilers and IDEs, Borland changed tack in order to target Enterprise ALM (Application Lifecycle Management). It could have worked, but it wasn’t actually a great fit with the independent developers who formed a large part of its customer base, and who tended to ignore large, complex and expensive supplementary tools in favour of just getting on with coding.</p>
<p>The nadir was 1998 when Borland changed its name to Inprise, to reflect its Enterprise focus. “Many thought Borland had gone out of business”, <a href="http://en.wikipedia.org/wiki/Borland" target="_blank">says Wikipedia</a>. It was changed back to Borland in 2001.</p>
<p>Another mis-step was the way Borland (then Inprise) handled <a href="http://www.codegear.com/products/interbase" target="_blank">InterBase</a>, its client-server database. In 2000, with a burst of community enthusiasm, the product was made open source. A couple of years later, it changed its mind and continued to develop InterBase as a proprietary product; but by then <a href="http://www.firebirdsql.org/" target="_blank">FireBird</a> had been born, based on the open source code.</p>
<p>Thought for the day: Borland paid more for TogetherSoft in 2002 (around $185m, including $82.5m cash), than Micro Focus is paying now for Borland.</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:83649097-0c33-468d-8d57-08440c026529" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/borland" rel="tag">borland</a>,<a href="http://technorati.com/tags/micro+focus" rel="tag">micro focus</a>,<a href="http://technorati.com/tags/dbase" rel="tag">dbase</a>,<a href="http://technorati.com/tags/jbuilder" rel="tag">jbuilder</a>,<a href="http://technorati.com/tags/togethersoft" rel="tag">togethersoft</a></div>


<p>Related posts:<ol><li><a href='http://www.itwriting.com/blog/1418-the-compuware-tools-that-are-going-to-micro-focus.html' rel='bookmark' title='Permanent Link: The Compuware tools that are going to Micro Focus'>The Compuware tools that are going to Micro Focus</a></li>
<li><a href='http://www.itwriting.com/blog/49-borland-keeps-its-developer-tools-after-all.html' rel='bookmark' title='Permanent Link: Borland keeps its developer tools after all'>Borland keeps its developer tools after all</a></li>
<li><a href='http://www.itwriting.com/blog/124-codegear-borland-to-support-php-tools.html' rel='bookmark' title='Permanent Link: CodeGear (Borland) to support PHP tools'>CodeGear (Borland) to support PHP tools</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.itwriting.com/blog/1413-the-end-of-the-borland-story-acquired-by-micro-focus.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Embarcadero RAD Studio 2009 is done</title>
		<link>http://www.itwriting.com/blog/1079-embarcadero-rad-studio-2009-is-done.html</link>
		<comments>http://www.itwriting.com/blog/1079-embarcadero-rad-studio-2009-is-done.html#comments</comments>
		<pubDate>Fri, 28 Nov 2008 17:18:32 +0000</pubDate>
		<dc:creator>tim</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[delphi]]></category>
		<category><![CDATA[embarcadero]]></category>
		<category><![CDATA[software development]]></category>
		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://www.itwriting.com/blog/1079-embarcadero-rad-studio-2009-is-done.html</guid>
		<description><![CDATA[<p>Embarcadero / CodeGear has released RAD Studio 2009, which includes Delphi 2009, C++ Builder 2009 and Delphi Prism. Note that Prism has its own IDE, which is actually the Visual Studio shell; this is the new take on Delphi for .NET that targets Mono as well as Microsoft .NET. You can also install Prism into <p><i>...continue reading</i> <a href="http://www.itwriting.com/blog/1079-embarcadero-rad-studio-2009-is-done.html">Embarcadero RAD Studio 2009 is done</a></p>


Related posts:<ol><li><a href='http://www.itwriting.com/blog/954-prism-official-delphi-language-comes-to-visual-studio.html' rel='bookmark' title='Permanent Link: Prism: official Delphi language comes to Visual Studio'>Prism: official Delphi language comes to Visual Studio</a></li>
<li><a href='http://www.itwriting.com/blog/1035-code-for-mac-cocoa-in-visual-studio-surprised-to-see-this.html' rel='bookmark' title='Permanent Link: Code for Mac Cocoa in Visual Studio &ndash; surprised to see this?'>Code for Mac Cocoa in Visual Studio &ndash; surprised to see this?</a></li>
<li><a href='http://www.itwriting.com/blog/838-delphi-and-c-builder-2009-are-available-to-order.html' rel='bookmark' title='Permanent Link: Delphi and C++ Builder 2009 are available to order'>Delphi and C++ Builder 2009 are available to order</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Embarcadero / CodeGear has released <a href="http://www.codegear.com/products/radstudio">RAD Studio 2009</a>, which includes <a href="http://www.codegear.com/products/delphi/win32">Delphi 2009</a>, C++ Builder 2009 and <a href="http://www.codegear.com/products/delphi/prism">Delphi Prism</a>. Note that Prism has its own IDE, which is actually the Visual Studio shell; this is the new take on Delphi for .NET that targets <a href="http://www.mono-project.com/Main_Page">Mono</a> as well as Microsoft .NET. You can also install Prism into an existing Visual Studio installation.</p>
<p>Looking at the UK prices, RAD Studio starts at £979.00, whereas Delphi starts at £549.00. Upgrades are much cheaper – less than half the price in some cases. The message seems to be: get RAD Studio if you think you might need more than one of these three products.</p>
<p>I’ve been asked whether the upgrade to Delphi 2009 is worth it. I have no idea, of course, since it depends what you need it for &#8211; though if you need Unicode I’d have thought it was worth it for that alone. I do think it is the best so far in the post-Delphi 7 series. Personally I prefer it to Delphi 7 as well; though check Mason Wheeler’s <a href="http://www.itwriting.com/blog/824-whats-new-in-delphi-2009.html#comment-106720">comments</a> to a previous post for a contrary view. Vista compatibility is another advantage, though you can hack this in any version of Delphi. I doubt that Windows 7 will be much problem here; it is close to enough to Vista that the same stuff should work fine.</p>
<p>
<div class="wlWriterEditableSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:56cdf943-9b67-4b02-8ced-f98fd5334606" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati tags: <a href="http://technorati.com/tags/embarcadero" rel="tag">embarcadero</a>, <a href="http://technorati.com/tags/codegear" rel="tag">codegear</a>, <a href="http://technorati.com/tags/delphi+2009" rel="tag">delphi 2009</a>, <a href="http://technorati.com/tags/rad+studio+2009" rel="tag">rad studio 2009</a>, <a href="http://technorati.com/tags/prism" rel="tag">prism</a></div></p>


<p>Related posts:<ol><li><a href='http://www.itwriting.com/blog/954-prism-official-delphi-language-comes-to-visual-studio.html' rel='bookmark' title='Permanent Link: Prism: official Delphi language comes to Visual Studio'>Prism: official Delphi language comes to Visual Studio</a></li>
<li><a href='http://www.itwriting.com/blog/1035-code-for-mac-cocoa-in-visual-studio-surprised-to-see-this.html' rel='bookmark' title='Permanent Link: Code for Mac Cocoa in Visual Studio &ndash; surprised to see this?'>Code for Mac Cocoa in Visual Studio &ndash; surprised to see this?</a></li>
<li><a href='http://www.itwriting.com/blog/838-delphi-and-c-builder-2009-are-available-to-order.html' rel='bookmark' title='Permanent Link: Delphi and C++ Builder 2009 are available to order'>Delphi and C++ Builder 2009 are available to order</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.itwriting.com/blog/1079-embarcadero-rad-studio-2009-is-done.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SQLite and Delphi 2009</title>
		<link>http://www.itwriting.com/blog/987-sqlite-and-delphi-2009.html</link>
		<comments>http://www.itwriting.com/blog/987-sqlite-and-delphi-2009.html#comments</comments>
		<pubDate>Thu, 16 Oct 2008 22:49:23 +0000</pubDate>
		<dc:creator>tim</dc:creator>
				<category><![CDATA[delphi]]></category>
		<category><![CDATA[software development]]></category>

		<guid isPermaLink="false">http://www.itwriting.com/blog/987-sqlite-and-delphi-2009.html</guid>
		<description><![CDATA[<p>I created a simple Delphi wrapper for SQLite, the popular open source database library. I’ve just updated it to work with Delphi 2009 – I’m not happy with what I’ve done, because I’ve changed a bunch of declarations from PChar to PAnsiChar and from String to AnsiString, just to get it working quickly. SQLite is <p><i>...continue reading</i> <a href="http://www.itwriting.com/blog/987-sqlite-and-delphi-2009.html">SQLite and Delphi 2009</a></p>


Related posts:<ol><li><a href='http://www.itwriting.com/blog/304-sqlite-wrapper-for-delphi.html' rel='bookmark' title='Permanent Link: SQLite wrapper for Delphi'>SQLite wrapper for Delphi</a></li>
<li><a href='http://www.itwriting.com/blog/429-extend-sqlite-with-delphi-functions.html' rel='bookmark' title='Permanent Link: Extend SQLite with Delphi functions'>Extend SQLite with Delphi functions</a></li>
<li><a href='http://www.itwriting.com/blog/658-sqlite-with-delphi.html' rel='bookmark' title='Permanent Link: SQLite with Delphi'>SQLite with Delphi</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I created a <a href="http://www.itwriting.com/blog/a-simple-delphi-wrapper-for-sqlite-3">simple Delphi wrapper</a> for <a href="http://www.sqlite.org">SQLite</a>, the popular open source database library. I’ve just updated it to work with Delphi 2009 – I’m not happy with what I’ve done, because I’ve changed a bunch of declarations from PChar to PAnsiChar and from String to AnsiString, just to get it working quickly. SQLite is fine for Unicode, so the next step is to revise it properly to support Unicode &#8230; when I or someone else has time.</p>
<p>It was interesting to do some work with Delphi 2009. It has the old problem: out of date documentation. Here’s what it says about PChar, in the entry on pointer types:</p>
<blockquote><p>The fundamental types <strong>PAnsiChar</strong> and <strong>PWideChar</strong> represent pointers to <strong>AnsiChar</strong> and <strong>WideChar</strong> values, respectively. The generic <strong>PChar</strong> represents a pointer to a <strong>Char</strong> (that is, in its current implementation, to an <strong>AnsiChar</strong>).</p>
</blockquote>
<p>Further, if you have the following code:</p>
<blockquote><p>var      <br />strTest: PChar;       <br />begin       <br />strTest := StrAlloc(6);       <br />strcopy(strTest,&#8217;Hello&#8217;);       <br />strdispose(strTest);       <br />end;</p>
</blockquote>
<p>and hover the mouse over strTest in the editor, the pop-up tip says:</p>
<blockquote><p>strTest – System.PAnsiChar</p>
<p><img src="http://www.itwriting.com/images/d2009error.gif" /> </p>
</blockquote>
<p>However, this is wrong. In Delphi 2009, a generic PChar is a PWideChar. Here’s the code in SysUtils for StrAlloc:</p>
<blockquote><p>function StrAlloc(Size: Cardinal): PChar;      <br />begin       <br />{$IFDEF UNICODE}       <br />&#160; Result := WideStrAlloc(Size);       <br />{$ELSE}       <br />&#160; Result := AnsiStrAlloc(Size);       <br />{$ENDIF}       <br />end;</p>
</blockquote>
<p>UNICODE is defined in Delphi 2009, so StrAlloc returns a PWideChar.</p>
<div class="wlWriterEditableSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:d3d8264a-46a2-43b5-9c64-9183607d7969" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati tags: <a href="http://technorati.com/tags/delphi" rel="tag">delphi</a>, <a href="http://technorati.com/tags/sqlite" rel="tag">sqlite</a>, <a href="http://technorati.com/tags/unicode" rel="tag">unicode</a></div>


<p>Related posts:<ol><li><a href='http://www.itwriting.com/blog/304-sqlite-wrapper-for-delphi.html' rel='bookmark' title='Permanent Link: SQLite wrapper for Delphi'>SQLite wrapper for Delphi</a></li>
<li><a href='http://www.itwriting.com/blog/429-extend-sqlite-with-delphi-functions.html' rel='bookmark' title='Permanent Link: Extend SQLite with Delphi functions'>Extend SQLite with Delphi functions</a></li>
<li><a href='http://www.itwriting.com/blog/658-sqlite-with-delphi.html' rel='bookmark' title='Permanent Link: SQLite with Delphi'>SQLite with Delphi</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.itwriting.com/blog/987-sqlite-and-delphi-2009.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Prism: official Delphi language comes to Visual Studio</title>
		<link>http://www.itwriting.com/blog/954-prism-official-delphi-language-comes-to-visual-studio.html</link>
		<comments>http://www.itwriting.com/blog/954-prism-official-delphi-language-comes-to-visual-studio.html#comments</comments>
		<pubDate>Mon, 06 Oct 2008 11:54:16 +0000</pubDate>
		<dc:creator>tim</dc:creator>
				<category><![CDATA[borland]]></category>
		<category><![CDATA[codegear]]></category>
		<category><![CDATA[delphi]]></category>
		<category><![CDATA[embarcadero]]></category>
		<category><![CDATA[software development]]></category>

		<guid isPermaLink="false">http://www.itwriting.com/blog/954-prism-official-delphi-language-comes-to-visual-studio.html</guid>
		<description><![CDATA[<p>Embarcadero is to release Delphi for .NET as a Visual Studio add-on, called Prism. Marco Cantu has a summary. Note that according to this post, which is based on an announcement statement by product manager Nick Hodges at the SDN conference near Amsterdam, there will be:</p>
<p>full support for the .NET framework 3.5 (WinForms, WFP, Silverlight, <p><i>...continue reading</i> <a href="http://www.itwriting.com/blog/954-prism-official-delphi-language-comes-to-visual-studio.html">Prism: official Delphi language comes to Visual Studio</a></p>


Related posts:<ol><li><a href='http://www.itwriting.com/blog/1035-code-for-mac-cocoa-in-visual-studio-surprised-to-see-this.html' rel='bookmark' title='Permanent Link: Code for Mac Cocoa in Visual Studio &ndash; surprised to see this?'>Code for Mac Cocoa in Visual Studio &ndash; surprised to see this?</a></li>
<li><a href='http://www.itwriting.com/blog/1079-embarcadero-rad-studio-2009-is-done.html' rel='bookmark' title='Permanent Link: Embarcadero RAD Studio 2009 is done'>Embarcadero RAD Studio 2009 is done</a></li>
<li><a href='http://www.itwriting.com/blog/592-generics-anonymous-methods-unicode-coming-to-delphi.html' rel='bookmark' title='Permanent Link: Generics, anonymous methods, Unicode coming to Delphi'>Generics, anonymous methods, Unicode coming to Delphi</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.embarcadero.com/">Embarcadero</a> is to release Delphi for .NET as a Visual Studio add-on, called Prism. Marco Cantu <a href="http://blog.marcocantu.com/blog/nick_announces_delphi_prism.html">has a summary</a>. Note that according to this post, which is based on an <strike>announcement</strike> statement by product manager Nick Hodges at the <a href="http://www.sdc.nl/">SDN conference</a> near Amsterdam, there will be:</p>
<blockquote><p>full support for the .NET framework 3.5 (WinForms, WFP, Silverlight, ASP.NET, WCF, LINQ) &#8230; CodeGear will provide Datasnap 2009 integration and dbExpress for ADO.NET support </p>
</blockquote>
<p>It looks as if this will be a full alternative language for .NET developers. Note that many of the language changes, such as generics, in the Win32 version of Delphi 2009 seemed to have .NET compatibility in mind. It makes sense for Embarcadero to use Visual Studio to host .NET development tools, just as it uses Eclipse for Java.</p>
<p>There remains an awkward question. What advantage is there in using Delphi (a version of Pascal) rather than C# for .NET development? If this is aimed only at existing Delphi developers migrating code, it will only ever be a niche.</p>
<p>Not good news for RemObjects <a href="http://www.remobjects.com/oxygene">Oxygene</a>, which is also an Object Pascal add-on for Visual Studio; but Oxygene has some other tricks like <a href="http://www.mono-project.com/">Mono</a> support, for running on Linux, which may sustain it.*</p>
<p>I am trying to clarify a couple of points. To what extent, if at all, will Prism support the .NET version of Delphi’s VCL (Visual Component Library), which would not fit smoothly with the Visual Studio design tools? Even if VCL.NET applications work, you would probably be better off using Delphi’s own IDE for them. Code ported from Win32 Delphi will likely use the VCL, so this is tough to get right. And what is the future of Delphi for .NET in RAD Studio? I will update this post when I know more.</p>
<p>*Comments below suggest that this is in fact Oxygene rebadged; I won’t say more until I’ve got official confirmation.</p>
<div class="wlWriterEditableSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:7e2b9c79-47c6-42a4-a9b5-1d7dd2c93741" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati tags: <a href="http://technorati.com/tags/prism" rel="tag">prism</a>, <a href="http://technorati.com/tags/emarcadero" rel="tag">emarcadero</a>, <a href="http://technorati.com/tags/delphi" rel="tag">delphi</a>, <a href="http://technorati.com/tags/.net" rel="tag">.net</a>, <a href="http://technorati.com/tags/visual+studio" rel="tag">visual studio</a>, <a href="http://technorati.com/tags/remobjects" rel="tag">remobjects</a>, <a href="http://technorati.com/tags/oxygene" rel="tag">oxygene</a>, <a href="http://technorati.com/tags/pascal" rel="tag">pascal</a></div>


<p>Related posts:<ol><li><a href='http://www.itwriting.com/blog/1035-code-for-mac-cocoa-in-visual-studio-surprised-to-see-this.html' rel='bookmark' title='Permanent Link: Code for Mac Cocoa in Visual Studio &ndash; surprised to see this?'>Code for Mac Cocoa in Visual Studio &ndash; surprised to see this?</a></li>
<li><a href='http://www.itwriting.com/blog/1079-embarcadero-rad-studio-2009-is-done.html' rel='bookmark' title='Permanent Link: Embarcadero RAD Studio 2009 is done'>Embarcadero RAD Studio 2009 is done</a></li>
<li><a href='http://www.itwriting.com/blog/592-generics-anonymous-methods-unicode-coming-to-delphi.html' rel='bookmark' title='Permanent Link: Generics, anonymous methods, Unicode coming to Delphi'>Generics, anonymous methods, Unicode coming to Delphi</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.itwriting.com/blog/954-prism-official-delphi-language-comes-to-visual-studio.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>It is time we stopped talking about Rich Internet Applications</title>
		<link>http://www.itwriting.com/blog/855-it-is-time-we-stopped-talking-about-rich-internet-applications.html</link>
		<comments>http://www.itwriting.com/blog/855-it-is-time-we-stopped-talking-about-rich-internet-applications.html#comments</comments>
		<pubDate>Tue, 02 Sep 2008 13:56:19 +0000</pubDate>
		<dc:creator>tim</dc:creator>
				<category><![CDATA[adobe]]></category>
		<category><![CDATA[codegear]]></category>
		<category><![CDATA[delphi]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.itwriting.com/blog/855-it-is-time-we-stopped-talking-about-rich-internet-applications.html</guid>
		<description><![CDATA[<p>I have a couple of posts on a new blog aimed at IT Professionals:</p>
<p>Delphi: a secret weapon for Windows developers</p>
<p>Is Adobe Flex and Air in your future?</p>
<p>The latter post is already out of date, following Google’s Chrome announcement. In it, I summarize the different approach to Rich Internet Applications, and argue that rather than discussing <p><i>...continue reading</i> <a href="http://www.itwriting.com/blog/855-it-is-time-we-stopped-talking-about-rich-internet-applications.html">It is time we stopped talking about Rich Internet Applications</a></p>


Related posts:<ol><li><a href='http://www.itwriting.com/blog/1333-ria-rich-internet-applications-one-day-all-applications-will-be-like-this.html' rel='bookmark' title='Permanent Link: RIA (Rich Internet Applications): one day, all applications will be like this'>RIA (Rich Internet Applications): one day, all applications will be like this</a></li>
<li><a href='http://www.itwriting.com/blog/346-john-resig-makes-the-case-for-standards-based-rich-internet-applications.html' rel='bookmark' title='Permanent Link: John Resig makes the case for standards-based Rich Internet Applications'>John Resig makes the case for standards-based Rich Internet Applications</a></li>
<li><a href='http://www.itwriting.com/blog/1304-tim-brays-contrarian-views-on-rich-internet-applications.html' rel='bookmark' title='Permanent Link: Tim Bray&rsquo;s contrarian views on Rich Internet Applications'>Tim Bray&rsquo;s contrarian views on Rich Internet Applications</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I have a couple of posts on a new blog aimed at IT Professionals:</p>
<p><a href="http://www.itjoblog.co.uk/2008/08/delphi-a-secret-weapon-for-win.html">Delphi: a secret weapon for Windows developers</a></p>
<p><a href="http://www.itjoblog.co.uk/2008/08/is-adobe-flex-and-air-in-your.html">Is Adobe Flex and Air in your future?</a></p>
<p>The latter post is already out of date, following Google’s Chrome announcement. In it, I summarize the different approach to Rich Internet Applications, and argue that rather than discussing RIAs we should simply talk about the next generation of the client. I noted that “Google and Mozilla are also stretching browser technology”; now that we have Chrome this looks like a full-on battle.</p>
<div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:5e11a920-8208-4833-aeed-1e88d0ce5fc7" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati tags: <a href="http://technorati.com/tags/ria" rel="tag">ria</a>, <a href="http://technorati.com/tags/delphi" rel="tag">delphi</a>, <a href="http://technorati.com/tags/adobe" rel="tag">adobe</a>, <a href="http://technorati.com/tags/flex" rel="tag">flex</a>, <a href="http://technorati.com/tags/air" rel="tag">air</a>, <a href="http://technorati.com/tags/google" rel="tag">google</a>, <a href="http://technorati.com/tags/mozilla" rel="tag">mozilla</a></div>


<p>Related posts:<ol><li><a href='http://www.itwriting.com/blog/1333-ria-rich-internet-applications-one-day-all-applications-will-be-like-this.html' rel='bookmark' title='Permanent Link: RIA (Rich Internet Applications): one day, all applications will be like this'>RIA (Rich Internet Applications): one day, all applications will be like this</a></li>
<li><a href='http://www.itwriting.com/blog/346-john-resig-makes-the-case-for-standards-based-rich-internet-applications.html' rel='bookmark' title='Permanent Link: John Resig makes the case for standards-based Rich Internet Applications'>John Resig makes the case for standards-based Rich Internet Applications</a></li>
<li><a href='http://www.itwriting.com/blog/1304-tim-brays-contrarian-views-on-rich-internet-applications.html' rel='bookmark' title='Permanent Link: Tim Bray&rsquo;s contrarian views on Rich Internet Applications'>Tim Bray&rsquo;s contrarian views on Rich Internet Applications</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.itwriting.com/blog/855-it-is-time-we-stopped-talking-about-rich-internet-applications.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
