<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Debugging services: an easy way</title>
	<atom:link href="http://blog.delphi-jedi.net/2008/05/07/debugging-services-an-easy-way/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.delphi-jedi.net/2008/05/07/debugging-services-an-easy-way/</link>
	<description>Joint Endeavor of Delphi Innovators of Windows Programming</description>
	<lastBuildDate>Thu, 24 Nov 2011 17:58:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Petar</title>
		<link>http://blog.delphi-jedi.net/2008/05/07/debugging-services-an-easy-way/comment-page-1/#comment-89454</link>
		<dc:creator>Petar</dc:creator>
		<pubDate>Mon, 15 Aug 2011 21:18:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.delphi-jedi.net/?p=188#comment-89454</guid>
		<description>Another nice solution is &quot;simulating&quot; minimal SCM as discussed here:

http://stackoverflow.com/questions/2884631/how-to-debug-a-windows-service-with-delphi/2885198#2885198

The helper unit can be found here: http://www.wilsonc.demon.co.uk/d10ntutils.htm

Personally I create a form with one button &quot;Stop Service&quot; which does application.terminate i.e. sending WM_QUIT to the &quot;SCM&quot;

Both methods are very useful and handy ;)</description>
		<content:encoded><![CDATA[<p>Another nice solution is &#8220;simulating&#8221; minimal SCM as discussed here:</p>
<p><a href="http://stackoverflow.com/questions/2884631/how-to-debug-a-windows-service-with-delphi/2885198#2885198" rel="nofollow">http://stackoverflow.com/questions/2884631/how-to-debug-a-windows-service-with-delphi/2885198#2885198</a></p>
<p>The helper unit can be found here: <a href="http://www.wilsonc.demon.co.uk/d10ntutils.htm" rel="nofollow">http://www.wilsonc.demon.co.uk/d10ntutils.htm</a></p>
<p>Personally I create a form with one button &#8220;Stop Service&#8221; which does application.terminate i.e. sending WM_QUIT to the &#8220;SCM&#8221;</p>
<p>Both methods are very useful and handy <img src='http://blog.delphi-jedi.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: &#160; So you want to write a service&#8230;&#160;by&#160;JEDI Windows API</title>
		<link>http://blog.delphi-jedi.net/2008/05/07/debugging-services-an-easy-way/comment-page-1/#comment-10753</link>
		<dc:creator>&#160; So you want to write a service&#8230;&#160;by&#160;JEDI Windows API</dc:creator>
		<pubDate>Fri, 28 Nov 2008 15:45:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.delphi-jedi.net/?p=188#comment-10753</guid>
		<description>[...] You cannot debug a service like any other application by default. Luckily there is remedy. The JEDI API offers a RunAsSys application that lets you start your Delphi in the SYSTEM context. In this way you just have to do a minor patch to your service source code to make it run like any other application in Delphi. See my post Debugging services: an easy way. [...]</description>
		<content:encoded><![CDATA[<p>[...] You cannot debug a service like any other application by default. Luckily there is remedy. The JEDI API offers a RunAsSys application that lets you start your Delphi in the SYSTEM context. In this way you just have to do a minor patch to your service source code to make it run like any other application in Delphi. See my post Debugging services: an easy way. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: &#160; Setting the SessionID for a new process&#160;by&#160;JEDI Windows API</title>
		<link>http://blog.delphi-jedi.net/2008/05/07/debugging-services-an-easy-way/comment-page-1/#comment-820</link>
		<dc:creator>&#160; Setting the SessionID for a new process&#160;by&#160;JEDI Windows API</dc:creator>
		<pubDate>Fri, 23 May 2008 09:26:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.delphi-jedi.net/?p=188#comment-820</guid>
		<description>[...] you know? 1. You can test this example in your own Delphi environment without writing a service [...]</description>
		<content:encoded><![CDATA[<p>[...] you know? 1. You can test this example in your own Delphi environment without writing a service [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Wimmer</title>
		<link>http://blog.delphi-jedi.net/2008/05/07/debugging-services-an-easy-way/comment-page-1/#comment-718</link>
		<dc:creator>Christian Wimmer</dc:creator>
		<pubDate>Tue, 13 May 2008 09:05:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.delphi-jedi.net/?p=188#comment-718</guid>
		<description>The service per thread solution is fine. However the topic is about how you can debug a service without using the service manger.</description>
		<content:encoded><![CDATA[<p>The service per thread solution is fine. However the topic is about how you can debug a service without using the service manger.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ritsaert Hornstra</title>
		<link>http://blog.delphi-jedi.net/2008/05/07/debugging-services-an-easy-way/comment-page-1/#comment-717</link>
		<dc:creator>Ritsaert Hornstra</dc:creator>
		<pubDate>Tue, 13 May 2008 08:06:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.delphi-jedi.net/?p=188#comment-717</guid>
		<description>Shoudn&#039;t you use a thread per service and run the serviceexecute per thread and a main thread that waits for until all service threads are terminated?</description>
		<content:encoded><![CDATA[<p>Shoudn&#8217;t you use a thread per service and run the serviceexecute per thread and a main thread that waits for until all service threads are terminated?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Wimmer</title>
		<link>http://blog.delphi-jedi.net/2008/05/07/debugging-services-an-easy-way/comment-page-1/#comment-533</link>
		<dc:creator>Christian Wimmer</dc:creator>
		<pubDate>Wed, 07 May 2008 21:23:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.delphi-jedi.net/?p=188#comment-533</guid>
		<description>Yes, this is a copy&amp;paste error. It should read My instead of XP. I already adapted it.
The method ServiceExecute is the main service execution procedure of your service. We just call it directly.</description>
		<content:encoded><![CDATA[<p>Yes, this is a copy&#038;paste error. It should read My instead of XP. I already adapted it.<br />
The method ServiceExecute is the main service execution procedure of your service. We just call it directly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christophe Rozec</title>
		<link>http://blog.delphi-jedi.net/2008/05/07/debugging-services-an-easy-way/comment-page-1/#comment-532</link>
		<dc:creator>Christophe Rozec</dc:creator>
		<pubDate>Wed, 07 May 2008 15:07:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.delphi-jedi.net/?p=188#comment-532</guid>
		<description>Hello,
it seems very useful but i do not manage to use this with one of my service ?
what is XPService in the instruction : XPService.ServiceExecute(nil); ?

what do i missed ?

Thanks,
Christophe</description>
		<content:encoded><![CDATA[<p>Hello,<br />
it seems very useful but i do not manage to use this with one of my service ?<br />
what is XPService in the instruction : XPService.ServiceExecute(nil); ?</p>
<p>what do i missed ?</p>
<p>Thanks,<br />
Christophe</p>
]]></content:encoded>
	</item>
</channel>
</rss>

