<?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>Misterdom's World &#187; Windows</title>
	<atom:link href="http://www.guinard.org/~misterdom/category/loogbook/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.guinard.org/~misterdom</link>
	<description>My Computing Logbook</description>
	<lastBuildDate>Fri, 25 Jun 2010 14:12:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Distributing a Visual Studio C++ Exe That Does not Need the Windows .NET Framework</title>
		<link>http://www.guinard.org/~misterdom/2009/09/17/distributing-a-visual-studio-c-exe/</link>
		<comments>http://www.guinard.org/~misterdom/2009/09/17/distributing-a-visual-studio-c-exe/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 11:49:24 +0000</pubDate>
		<dc:creator>misterdom</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Visual Studio .Net]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[exe]]></category>
		<category><![CDATA[framework]]></category>

		<guid isPermaLink="false">http://www.guinard.org/~misterdom/?p=108</guid>
		<description><![CDATA[If like me you export your Visual Studio (2008) .NET C++ project as an EXE, copy it on another machine and get: &#8220;This application has failed to start because the application configuration is incorrect&#8221;. Then it might be because the target machine is actually missing the Microsoft .NET Framework.
Since I did not really felt like [...]]]></description>
			<content:encoded><![CDATA[<p>If like me you export your Visual Studio (2008) .NET C++ project as an EXE, copy it on another machine and get: &#8220;This application has failed to start because the application configuration is incorrect&#8221;. Then it might be because the target machine is actually missing the Microsoft .NET Framework.</p>
<p>Since I did not really felt like asking all the future users of my app to install the .NET framework, I started looking for a way of embedding these libs in my final app.</p>
<p>While it is apparently not possible to do so without requiring a special (commercial) tool, there is a workaround that worked for me. By forcing the C/C++ to by statically linked the framework functions actually are embedded into the EXE (which, btw, gets much bigger then).</p>
<p>To do so (in Visual Studio .NET 2008 C/C++, Express) do:<br />
Property Page -> Configuration Properties -> C/C++ -> Code Generation then &#8220;Runtime Library&#8221; should be set to an &#8220;non-dll&#8221; option such as Multi-threaded (for the release target) or Multi-threaded Debug (to debug your app).</p>
<p>Here we go!</p>
<p>Sources:<br />
<a href="http://stackoverflow.com/questions/271290/can-visual-studio-2008-standard-create-a-single-exe-that-does-not-require-net-fr">http://stackoverflow.com/questions/271290/can-visual-studio-2008-standard-create-a-single-exe-that-does-not-require-net-fr</a></p>
<p><a href="http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/36971526-95f3-4a9f-a601-1843c86332c1">http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/36971526-95f3-4a9f-a601-1843c86332c1</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.guinard.org/~misterdom/2009/09/17/distributing-a-visual-studio-c-exe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What do I do When my Outlook Calendar is Freezing&#8230;</title>
		<link>http://www.guinard.org/~misterdom/2009/08/13/what-do-i-do-when-my-outlook-calendar-is-freezing/</link>
		<comments>http://www.guinard.org/~misterdom/2009/08/13/what-do-i-do-when-my-outlook-calendar-is-freezing/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 13:30:53 +0000</pubDate>
		<dc:creator>misterdom</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.guinard.org/~misterdom/?p=90</guid>
		<description><![CDATA[What do I do When my Outlook Calendar is Freezing&#8230; Well:
1) I rename my ost file to ost.old located in (in my case):
C:\Users\\AppData\Local\Microsoft\outlook\outlook.ost
2) Re-launch outlook.
By doing so you actually force a re-sync with the Exchange (outlook) server and get a fresh .ost file.
WARNING: If your outlook is not syncing with a server (which is often [...]]]></description>
			<content:encoded><![CDATA[<p>What do I do When my Outlook Calendar is Freezing&#8230; Well:<br />
1) I rename my ost file to ost.old located in (in my case):</p>
<blockquote><p>C:\Users\<USERNAME>\AppData\Local\Microsoft\outlook\outlook.ost</p></blockquote>
<p>2) Re-launch outlook.</p>
<p>By doing so you actually force a re-sync with the Exchange (outlook) server and get a fresh .ost file.<br />
WARNING: If your outlook is not syncing with a server (which is often the case, especially for local install) this will not work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.guinard.org/~misterdom/2009/08/13/what-do-i-do-when-my-outlook-calendar-is-freezing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Latency when using Windows Media Player on Lenovo T61</title>
		<link>http://www.guinard.org/~misterdom/2009/01/15/latency-when-using-media-player/</link>
		<comments>http://www.guinard.org/~misterdom/2009/01/15/latency-when-using-media-player/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 17:17:34 +0000</pubDate>
		<dc:creator>misterdom</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.guinard.org/~misterdom/?p=66</guid>
		<description><![CDATA[Today I had to face quite an interesting experience! While listening to music (to David Vendetta, great DJ btw!!) using windows media player I started to experience some latency and bwwwwip sounds once in a while. Surprising since I actually never experienced that until today. 
The only thing I changed today was that I plugged [...]]]></description>
			<content:encoded><![CDATA[<p>Today I had to face quite an interesting experience! While listening to music (to David Vendetta, great DJ btw!!) using windows media player I started to experience some latency and bwwwwip sounds once in a while. Surprising since I actually never experienced that until today. </p>
<p>The only thing I changed today was that I plugged my new monitor to the docking station, a digital monitor! As surprising as is can be it turned out to be the reason for the delay! I guess since the T61 does not have a digital output the docking station has to somehow convert it to digital which seems to consume some CPU&#8230; Not exactly sure about that but anyway the patch is simply to use the analog output of the docking station. Again since the T61 does not have a digital output it does not seem to be such a problem (i.e. no quality loss I guess).</p>
<p>Did it for me, at least&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.guinard.org/~misterdom/2009/01/15/latency-when-using-media-player/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a Automated Kiosk with Firefox and GWT on Windows XP</title>
		<link>http://www.guinard.org/~misterdom/2008/11/26/creating-a-kiosk/</link>
		<comments>http://www.guinard.org/~misterdom/2008/11/26/creating-a-kiosk/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 09:26:06 +0000</pubDate>
		<dc:creator>misterdom</dc:creator>
				<category><![CDATA[Google Web Toolkit (GWT)]]></category>
		<category><![CDATA[Plogg and Smart Meters]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.guinard.org/~misterdom/?p=50</guid>
		<description><![CDATA[My task for today was to create a kiosk application. In particular this application is meant to monitor the energy consumption of common appliances in an office. For that matter it uses the Ploggs sensor nodes and a Google Web Toolkit Application.
Now, the setting is such that the GWT application has to be displayed on [...]]]></description>
			<content:encoded><![CDATA[<p>My task for today was to create a kiosk application. In particular this application is meant to monitor the energy consumption of common appliances in an office. For that matter it uses the <a href="?cat=4">Ploggs sensor nodes</a> and a <a href="?cat=20">Google Web Toolkit Application</a>.</p>
<p>Now, the setting is such that the GWT application has to be displayed on a screen of a computer dedicated to that application. The monitoring app has to be running the whole day in full-screen mode without anybody doing anything with the browser but see and surf on the page(s) you selected. </p>
<p>This is what&#8217;s commonly called a kiosk application. Now, here are the steps I went through to setup the kiosk, note that the computer runs Windows XP Pro SP 3:</p>
<p>1) Install Firefox and download the <a href="https://addons.mozilla.org/en-US/firefox/addon/1659">R-Kiosk plugin</a>. This guy starts Firefox in fullscreen mode and does not allow the user to use/display any menu. Note that after installing this plugin you won&#8217;t be able to use Firefox normally unless you start it in Safe Mode (Mozilla Firefox (Safe Mode) in your start menu).<br />
More info on that matter on: <a href="http://samanathon.com/firefox-2s-kiosk-mode/">http://samanathon.com/firefox-2s-kiosk-mode/</a> and <a href="http://davidstoker.org/blog/tag/r-kiosk/">http://davidstoker.org/blog/tag/r-kiosk/</a></p>
<p>2) Schedule Windows to start Firefox and everything else you need on startup:<br />
<a href="http://support.microsoft.com/kb/308569">http://support.microsoft.com/kb/308569</a><br />
If, just like me, you keep getting the: “0&#215;80070005: Access is denied&#8221; error message when trying to schedule a task then try the option &#8220;Run only if logged in&#8221; and schedule the task to start &#8220;At Logon&#8221;.<br />
Note that if you want everything to start auto-magically, without user involvement, you should not set a user password. </p>
<p>3) For this kiosk we want everything to be automated which means we need two more scheduled tasks:</p>
<p>Shutdown: this is quite straightforward using the <code>shutdown</code> command (yeah, even Windows has got things like that!). Create a batch file containing the shutdown command:<br />
<code><br />
cd\<br />
shutdown -s -f -t 30<br />
</code><br />
Which says: shutdown this computer (-s), force all apps to close (-f) and do that in 30 seconds (-t)<br />
Now, all you need to do is to schedule that to happen everyday at, say, 8 o&#8217;clock (see <a href="http://samanathon.com/windows-tip-shutdown-your-computer-with-a-batch-file/">http://samanathon.com/windows-tip-shutdown-your-computer-with-a-batch-file</a>)<br />
More info on the shutdown command on: and <a href="and http://www.yinfor.com/blog/archives/2007/04/schedule_to_shutdown_your_wind.html ">http://www.yinfor.com/blog/archives/2007/04/schedule_to_shutdown_your_wind.html<br />
</a></p>
<p>Startup: now that&#8217;s a bit more tricky since we need to wake up a computer that&#8217;s &#8230; shutdown, i.e. no chance do it by scheduling a Windows task!<br />
The answer to that is: BIOS. Well at least most BIOS offer a wake-on-schedule functionality. In our case the BIOS of the Intel Desktop Board D945GCLF offers it. All I had to do was to hit F2 at startup (i.e. access the BIOS) and enable the &#8220;Wake on Alarm&#8221; option to 8 o&#8217;clock in the morning which did the trick&#8230;</p>
<p>4) Last but not least (this is an edit since I noticed that this morning when the kiosk screen turned black!): you need to be sure that the PC does not turn off the screen after a while. The best-thing to do is to activate the Presentation mode in Control Panel -> Power Options -> Power Scheme and select Presentation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.guinard.org/~misterdom/2008/11/26/creating-a-kiosk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Failed creating java C:\Program Files\Java\jre6\bin\client\jvm.dll</title>
		<link>http://www.guinard.org/~misterdom/2008/11/17/failed-creating-java-cprogram-filesjavajre6binclientjvmdll/</link>
		<comments>http://www.guinard.org/~misterdom/2008/11/17/failed-creating-java-cprogram-filesjavajre6binclientjvmdll/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 14:30:13 +0000</pubDate>
		<dc:creator>misterdom</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[windows xp apache tomcat]]></category>

		<guid isPermaLink="false">http://www.guinard.org/~misterdom/?p=48</guid>
		<description><![CDATA[Whenever trying to start Apache Tomcat 6.0.18 after installing it on a Windows XP Pro (SP3) machine, I would run into that error:Failed creating java C:\Program Files\Java\jre6\bin\client\jvm.dll.
Actually, that&#8217;s because apparently you need:
1) Either to have the SDK and not JDK of Java installed
2) Or you need to have the msvcr71.dll. dll in your windows system [...]]]></description>
			<content:encoded><![CDATA[<p>Whenever trying to start Apache Tomcat 6.0.18 after installing it on a Windows XP Pro (SP3) machine, I would run into that error:<code>Failed creating java C:\Program Files\Java\jre6\bin\client\jvm.dll</code>.</p>
<p>Actually, that&#8217;s because apparently you need:</p>
<p>1) Either to have the SDK and not JDK of Java installed</p>
<p>2) Or you need to have the <code>msvcr71.dll.</code> dll in your windows system directory.</p>
<p>I downloaded the DLL from <a href="http://www.dll-files.com/dllindex/dll-files.shtml?msvcr71">dll-files</a> and it solved the problem.</p>
<p>More info on: <a href="http://netbeans-forum.de/viewtopic.php?t=640">http://netbeans-forum.de/viewtopic.php?t=640</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.guinard.org/~misterdom/2008/11/17/failed-creating-java-cprogram-filesjavajre6binclientjvmdll/feed/</wfw:commentRss>
		<slash:comments>31</slash:comments>
		</item>
	</channel>
</rss>
