<?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"
	>

<channel>
	<title>flickdotnet.de &#187; 2008 &#187; September</title>
	<atom:link href="http://www.flickdotnet.de/index.php/2008/09/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flickdotnet.de</link>
	<description>Opinions, reviews and software for the Microsoft .NET Framework - focusing on Linq, ECO &#38; XPO</description>
	<pubDate>Thu, 06 May 2010 17:59:22 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>ModelMaker Tools releases ModelMaker 10 with support for Delphi 2009</title>
		<link>http://www.flickdotnet.de/index.php/2008/09/modelmaker-tools-releases-modelmaker-10-with-support-for-delphi-2009/</link>
		<comments>http://www.flickdotnet.de/index.php/2008/09/modelmaker-tools-releases-modelmaker-10-with-support-for-delphi-2009/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 12:08:28 +0000</pubDate>
		<dc:creator>holger</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.flickdotnet.de/index.php/2008/09/modelmaker-tools-releases-modelmaker-10-with-support-for-delphi-2009/</guid>
		<description><![CDATA[I just got an email from ModelMaker Tools that ModelMaker 10 has been released. With my interest in MDA, ModelMaker is a tool I simply cannot miss in my toolbox in order to create UML class diagrams. 
Reading through the new feature list it is being said that the new syntax for the Delphi 2009 [...]]]></description>
			<content:encoded><![CDATA[<p>I just got an email from ModelMaker Tools that ModelMaker 10 has been released. With my interest in MDA, ModelMaker is a tool I simply cannot miss in my toolbox in order to create UML class diagrams. </p>
<p>Reading through the new feature list it is being said that the new syntax for the Delphi 2009 language constructs is being supported, i.e. Anonymous Methods and Generics. Furthermore, a lot of productivity features habe been added to make creation of diagrams and navigating from those to your source code much easier.</p>
<p>Have a look at <a href="http://www.modelmakertools.com/modelmaker/history/mm1000.html">http://www.modelmakertools.com/modelmaker/history/mm1000.html</a> for a complete list of features. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.flickdotnet.de/index.php/2008/09/modelmaker-tools-releases-modelmaker-10-with-support-for-delphi-2009/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Delphi 2009: Couple of hints on Debugging</title>
		<link>http://www.flickdotnet.de/index.php/2008/09/delphi-2009-couple-of-hints-on-debugging/</link>
		<comments>http://www.flickdotnet.de/index.php/2008/09/delphi-2009-couple-of-hints-on-debugging/#comments</comments>
		<pubDate>Wed, 24 Sep 2008 17:21:09 +0000</pubDate>
		<dc:creator>holger</dc:creator>
		
		<category><![CDATA[Delphi]]></category>

		<guid isPermaLink="false">http://www.flickdotnet.de/index.php/2008/09/delphi-2009-couple-of-hints-on-debugging/</guid>
		<description><![CDATA[As a result of my last seminar, I would like to present some neat facts about the debugger and the interaction of the Delphi IDE with the debugger.
Our lab project will be a simple VCL Forms Application created using File / New &#8230; / VCL Forms Application.
On the dialog being shown as a result of [...]]]></description>
			<content:encoded><![CDATA[<p>As a result of my last seminar, I would like to present some neat facts about the debugger and the interaction of the Delphi IDE with the debugger.</p>
<p>Our lab project will be a simple VCL Forms Application created using File / New &#8230; / VCL Forms Application.</p>
<p>On the dialog being shown as a result of this, we will drop a TButton and double-click it in order to implement the OnClick event.</p>
<p>The dialog should look like this:</p>
<p><a href="http://www.flickdotnet.de/wp-content/uploads/2008/09/image.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="183" alt="Form" src="http://www.flickdotnet.de/wp-content/uploads/2008/09/image-thumb.png" width="300" border="0" /></a> </p>
<p>In the OnClick event we will implement some very insightful piece of Delphi code:</p>
<p><a href="http://www.flickdotnet.de/wp-content/uploads/2008/09/image1.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="122" alt="source code" src="http://www.flickdotnet.de/wp-content/uploads/2008/09/image-thumb1.png" width="443" border="0" /></a> </p>
<p>The code checks the Sender reference if it has been instantiated from TButton and shows a message if true. Wonderful.</p>
<p>Now to debugging. </p>
<p>Breakpoints are great to start investigating variable values at a certain line in code. Delphi makes it easy to set breakpoints by pressing F5 (default layout) or clicking in the gutter on the left side of the code. Let&#8217;s add a breakpoint in line 28 (referring to the line numbering above):</p>
<p><a href="http://www.flickdotnet.de/wp-content/uploads/2008/09/image2.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="184" alt="image" src="http://www.flickdotnet.de/wp-content/uploads/2008/09/image-thumb2.png" width="444" border="0" /></a> </p>
<p>When running the application and clicking the button, the debugger stops at the location we wanted it to, however, we are unable to gain any useful information without additional work.</p>
<p>First of all, the value of Sender is displayed as &quot;()&quot;&#160; and the value of &quot;Self&quot; is denoted as inaccessible. This means that the compiler has optimized our code and this is something one can switch off in the project settings. Thus, cancel debugging by pressing Ctrl+F2 and select the menu items Project / Options&#8230;</p>
<p><a href="http://www.flickdotnet.de/wp-content/uploads/2008/09/image3.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="555" alt="image" src="http://www.flickdotnet.de/wp-content/uploads/2008/09/image-thumb3.png" width="499" border="0" /></a> </p>
<p>In the &quot;Delphi Compiler&quot; section, select the item named &quot;Compiler&quot; and have a look at the &quot;Code generation&quot; group.</p>
<p>You will find the item named &quot;Optimization&quot;. Set this to &quot;false&quot; and it will be much easier to debug your applications. Performance will be worse, but while developing applications it might be more helpful to be able to debug easily.</p>
<p>Furthermore, a lot of Delphi developers always complain that they get redirected to the CPU view showing Assembler code when they try to step into VCL code. CodeGear deploys the Delphi VCL and a lot of other things with source code, so one should be able to step into it, don&#8217;t you think? </p>
<p>A simple switch will make this possible: In the &quot;Debugging&quot; group on the same options page mentioned above, set &quot;Use debug .dcus&quot; to true and rebuild. Let me emphasize: reBUILD. A simple compile will not do the trick if you have already compiled your application and change the setting afterwards.</p>
<p>Let us rebuild the application, run it with debugging and click the button. We will find out that now we get a lot of information about &quot;self&quot;. Great!</p>
<p>However, Sender is still displayed as (). If we evaluate the value using Run / Evaluate or simply press Ctrl+F7, we get the same thing. If we type TButton( Sender ) however, we get the information we desire.</p>
<p>So, it is good to remember that Sender is being passed as TObject and the debugger tries not to get into any trouble. It accesses the variable reference with this exact type and thus there is no information to display. You as the developer have to do the thinking and type-cast it manually to TButton.</p>
<p>One final note. The result displayed by the evaluation dialog is not very nice to read:</p>
<p><a href="http://www.flickdotnet.de/wp-content/uploads/2008/09/image4.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="285" alt="image" src="http://www.flickdotnet.de/wp-content/uploads/2008/09/image-thumb4.png" width="406" border="0" /></a> </p>
<p>Click on the Inspect button in order to get an Object Inspector-like view:</p>
<p><a href="http://www.flickdotnet.de/wp-content/uploads/2008/09/image5.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="756" alt="image" src="http://www.flickdotnet.de/wp-content/uploads/2008/09/image-thumb5.png" width="341" border="0" /></a> </p>
<p>Be aware that you only get this view to inspect Sender if you use the expression TButton(Sender) to type-cast it.</p>
<p>Hopefully this blog entry gave some insight into the awesome debugging features of Delphi. Not that they were unique to this IDE, but I found out that many people do not know about these informative tools included in the product. So, one does not have to buy third party tools to get good debugging results.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flickdotnet.de/index.php/2008/09/delphi-2009-couple-of-hints-on-debugging/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Delphi Code Camp - Day 1</title>
		<link>http://www.flickdotnet.de/index.php/2008/09/delphi-code-camp-day-1/</link>
		<comments>http://www.flickdotnet.de/index.php/2008/09/delphi-code-camp-day-1/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 15:45:48 +0000</pubDate>
		<dc:creator>holger</dc:creator>
		
		<category><![CDATA[.NET]]></category>

		<category><![CDATA[Delphi]]></category>

		<guid isPermaLink="false">http://www.flickdotnet.de/index.php/2008/09/delphi-code-camp-day-1/</guid>
		<description><![CDATA[As already blogged, yesterday I held a one-day seminar with Daniel R. Wolf about object-oriented programming and associated techniques. There was no other Delphi session being held at the same time. Starting today, there will be two code camps per day. Go to www.entwickler-akademie.de to get a list of sessions.
We used Delphi 2009 and the [...]]]></description>
			<content:encoded><![CDATA[<p>As already blogged, yesterday I held a one-day seminar with Daniel R. Wolf about object-oriented programming and associated techniques. There was no other Delphi session being held at the same time. Starting today, there will be two code camps per day. Go to <a href="http://www.entwickler-akademie.de">www.entwickler-akademie.de</a> to get a list of sessions.</p>
<p>We used Delphi 2009 and the crowd was rather pleased with the efficiency, speed and reliability of the new version. There were people still using Delphi 7 and Delphi 2006 and they liked a lot of new features available in the new version.</p>
<p>Today, BASTA - THE .NET conference starts and thus we had the chance to meet up with the speakers in the evening as they already arrived in Mainz. It was a great evening and it was good to catch up with them. </p>
<p>Personally, I used the opportunity to meet and talk to Oliver Sturm and Gary Short from DevExpress in person to talk about XPO and related technologies that deal with Object Relational Mapping. </p>
<p>The funniest fact of the evening was however, that Oliver and me found out that we have been living in the same city in Germany for quite some time&#8230; we never met though, even as it is a very small city.</p>
<p>Hopefully, I will be able to deliver some useful development related content soon. I have to reinstall my system as the mainboard of my new system was faulty from the start and it has been exchanged during my vacation. I also got handed a wonderful surprise that one of my additional SATA hard drives has been formatted in the process - I still wonder how to manage to format a hard disk while exchanging the mainboard and reinstalling Windows on the primary SAS disk.</p>
<p>Oh well, I am still on holiday for the next few more days and these things will not be able to spoil the experience.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flickdotnet.de/index.php/2008/09/delphi-code-camp-day-1/feed/</wfw:commentRss>
		</item>
		<item>
		<title>D2009 released&#8230; then some holidays</title>
		<link>http://www.flickdotnet.de/index.php/2008/09/d2009-released-then-some-holidays/</link>
		<comments>http://www.flickdotnet.de/index.php/2008/09/d2009-released-then-some-holidays/#comments</comments>
		<pubDate>Fri, 19 Sep 2008 22:10:47 +0000</pubDate>
		<dc:creator>holger</dc:creator>
		
		<category><![CDATA[Delphi]]></category>

		<category><![CDATA[ekon]]></category>

		<guid isPermaLink="false">http://www.flickdotnet.de/?p=160</guid>
		<description><![CDATA[If you read my blog on a regular basis, you must have noticed&#8230;. right after the official release of Delphi 2009 there has not been a single post by me. Reason for that is that I am on holiday.
Actually, I am writing this post sitting on the balcony of a hotel in Lagao, Portugal with [...]]]></description>
			<content:encoded><![CDATA[<p>If you read my blog on a regular basis, you must have noticed&#8230;. right after the official release of Delphi 2009 there has not been a single post by me. Reason for that is that I am on holiday.</p>
<p>Actually, I am writing this post sitting on the balcony of a hotel in Lagao, Portugal with a bottle of local red wine to my right hand side, my iPod left of me, charging as it has been playing constantly today, while I was enjoying the sun and local beach &#8230;</p>
<p>I would like to point out that I am back to &#8220;business&#8221; on Monday doing a workshop on Object-Oriented Programming Basics in Delphi. If people want, I will point out some new things that are available since Delphi 2009. This will be a workshop as part of the Delphi Code Camp which is done by the Entwickler Akademie in Germany. Daniel R. Wolf from Delphipraxis.net (http://www.delphipraxis.net) will be doing the very same workshop with me together. If you are in the Frankfurt-area in Germany on Monday and have not known about the workshop, be sure to hop to http://entwickler-akademie.de/ as there are workshops all next week. It can never hurt to ask if there are seats available.</p>
<p>During my stay here, I was also involved in planning the sessions for EKON 12 as I am a member of the advisory board. Many well-known bloggers from the Delphi community will be doing sessions about Delphi 2009 in particular. Furthermore, we have a couple of first-time speakers at EKON. Daniel R. Wolf will be one of them, talking about two very interesting topics. One is Regular Expressions for Delphi Programmers, the second is called &#8220;Pathfinding Algorithms in Delphi&#8221;.  Barry Kelly, the CodeGear compiler engineer, will also be there in person and talk about details in the Delphi compiler. You surely cannot miss out on that! We will also have Jason Southwell from the USA over to do a couple of sessions. Jason is a number one expert with regard to Web Applications especially with regard to IntraWeb or VCL for the Web as it is called these days&#8230;</p>
<p>We also have the &#8220;regular bunch&#8221; of experts. Here is some of their session content:</p>
<ul>
<li>Olaf Monien will talk about the VCL for the Web and Webservices in general</li>
<li>Daniel Magin aka &#8220;Mr. Interbase&#8221; is giving detailed information about building Interbase Databases and Applications. Daniel will be presenting other content as well, of course, but his long-time experience with Interbase made me use the alias.</li>
<li>Daniel Wischnewski</li>
<li>Marco Cantù</li>
<li>Bernd Ua will deal with OOP basics in Delphi and other sessions</li>
<li>Joeren Pluimers</li>
<li>Hadi Hariri, who will offer a workshop for advanced IntraWeb users</li>
<li>Thomas Pfister will show up reporting options for Delphi developers</li>
</ul>
<p>I also emailed with DavidI today and he told me he will be there as well to do the keynotes in person.</p>
<p>You are still only thinking about coming to EKON 12? I think it is one event this year that you cannot miss. I am definitely eager to meet up with all my friends in the Delphi community in person again. Please have a look at www.entwicklerkonferenz.de for the exact dates, complete session schedule and all other things you need to know about the conference.</p>
<p>So, this is enough for the time being. I will email some photos soon &#8230;</p>
<p>Oh, if you can read German, be sure to read the introductary article about Delphi 2009 from Daniel Magin, Thomas Pfister, Olaf Monien and me at entwickler.com . It contains some useful information if you consider upgrading to Delphi 2009.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.flickdotnet.de/index.php/2008/09/d2009-released-then-some-holidays/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
