<?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>Techy Things &#187; windows</title>
	<atom:link href="https://tech.yipp.ca/category/windows/feed/" rel="self" type="application/rss+xml" />
	<link>https://tech.yipp.ca</link>
	<description>Just another Yipp.ca Blogs site</description>
	<lastBuildDate>Thu, 01 May 2025 18:06:28 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.38</generator>
	<item>
		<title>Debug PHP code with Visual Studio Code</title>
		<link>https://tech.yipp.ca/windows/debug-php-code-visual-studio-code/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=debug-php-code-visual-studio-code</link>
		<comments>https://tech.yipp.ca/windows/debug-php-code-visual-studio-code/#comments</comments>
		<pubDate>Thu, 08 Apr 2021 04:22:30 +0000</pubDate>
		<dc:creator><![CDATA[frank]]></dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://tech.yipp.ca/?p=3447</guid>
		<description><![CDATA[<p>Installation You need PHP7 at minimum. You need Visual Studio Code 1) Install php-debug extension. In Visual Studio Code, press F1, then erase the &#62; and type "ext install php-debug" 2) Install X-Debug. Use the&#46;&#46;&#46;</p>
<p>The post <a rel="nofollow" href="https://tech.yipp.ca/windows/debug-php-code-visual-studio-code/">Debug PHP code with Visual Studio Code</a> appeared first on <a rel="nofollow" href="https://tech.yipp.ca">Techy Things</a>.</p>
]]></description>
				<content:encoded><![CDATA[<h2>Installation</h2>
<ul>
<li>You need PHP7 at minimum.</li>
<li>You need Visual Studio Code</li>
</ul>
<p>1) Install <strong>php-debug</strong> extension.<br />
In Visual Studio Code, press F1, then erase the &gt; and type "ext install php-debug"</p>
<p>2) Install X-Debug. Use the Wizard since you are on Windows :<br />
<a href="https://xdebug.org/wizard">https://xdebug.org/wizard</a></p>
<p>3) Edit php.ini as per instructions obtained in step 2 and adding some extra lines. In my cases this was adding these four lines:</p>
<p>zend_extension = php_xdebug-3.0.3-7.4-vc15-x86_64.dll<br />
xdebug.mode = debug<br />
xdebug.start_with_request = yes<br />
xdebug.client_port = 9000</p>
<p>The post <a rel="nofollow" href="https://tech.yipp.ca/windows/debug-php-code-visual-studio-code/">Debug PHP code with Visual Studio Code</a> appeared first on <a rel="nofollow" href="https://tech.yipp.ca">Techy Things</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://tech.yipp.ca/windows/debug-php-code-visual-studio-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Generating private key on Windows</title>
		<link>https://tech.yipp.ca/windows/generating-private-key-windows/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=generating-private-key-windows</link>
		<comments>https://tech.yipp.ca/windows/generating-private-key-windows/#comments</comments>
		<pubDate>Mon, 13 Apr 2020 17:50:07 +0000</pubDate>
		<dc:creator><![CDATA[frank]]></dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://tech.yipp.ca/?p=3532</guid>
		<description><![CDATA[<p>Backup old keys if any cd %userprofile%/.ssh dir id_* mkdir key_backup copy id_rsa* key_backup Generate new keys ssh-keygen -t rsa -C "your_email@example.com" Copy the public key to your clipboard cd %userprofile%/.ssh clip &#60; id_rsa.pub&#46;&#46;&#46;</p>
<p>The post <a rel="nofollow" href="https://tech.yipp.ca/windows/generating-private-key-windows/">Generating private key on Windows</a> appeared first on <a rel="nofollow" href="https://tech.yipp.ca">Techy Things</a>.</p>
]]></description>
				<content:encoded><![CDATA[<h2>Backup old keys if any</h2>
<pre class=" language-none"><code class=" language-none">cd %userprofile%/.ssh
</code>dir id_*
<code class=" language-none">mkdir key_backup
copy id_rsa* key_backup</code></pre>
<h2>
Generate new keys</h2>
<pre class=" language-none"><code class=" language-none">ssh-keygen -t rsa -C "your_email@example.com"

</code></pre>
<h2>Copy the public key to your clipboard<code class=" language-none"><br />
</code></h2>
<pre class=" language-none"><code class=" language-none">cd %userprofile%/.ssh
clip &lt; id_rsa.pub

Then you can paste this key in some third party service</code></pre>
<pre class=" language-none"><code class=" language-none"> </code></pre>
<p>The post <a rel="nofollow" href="https://tech.yipp.ca/windows/generating-private-key-windows/">Generating private key on Windows</a> appeared first on <a rel="nofollow" href="https://tech.yipp.ca">Techy Things</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://tech.yipp.ca/windows/generating-private-key-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 installation gets stuck at Completing Installation</title>
		<link>https://tech.yipp.ca/windows/windows-7-installation-gets-stuck-completing-installation/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=windows-7-installation-gets-stuck-completing-installation</link>
		<comments>https://tech.yipp.ca/windows/windows-7-installation-gets-stuck-completing-installation/#comments</comments>
		<pubDate>Mon, 19 Sep 2016 20:15:07 +0000</pubDate>
		<dc:creator><![CDATA[frank]]></dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://tech.yipp.ca/?p=2614</guid>
		<description><![CDATA[<p>Step 1: Disconnect all the external devices If you’ve any external devices apart from mouse and keyboard, please disconnect them all to see if the installation continues. In my case I had to disconnect&#46;&#46;&#46;</p>
<p>The post <a rel="nofollow" href="https://tech.yipp.ca/windows/windows-7-installation-gets-stuck-completing-installation/">Windows 7 installation gets stuck at Completing Installation</a> appeared first on <a rel="nofollow" href="https://tech.yipp.ca">Techy Things</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p><strong>Step 1: Disconnect all the external devices</strong></p>
<p>If you’ve any external devices apart from mouse and keyboard, please disconnect them all to see if the installation continues.</p>
<p>In my case I had to disconnect my<span style="color: #ff6600;"><strong> USB mouse as well</strong></span> ! Crazy huh ? I retried many times and it would just stop with this Azio Gaming mouse connected.</p>
<p>Restart the installation from scratch if needed.</p>
<p><strong>Step 2: Use Shift + F10</strong></p>
<p>If the installation still hangs at “Completing installation” phase, then press Shift + F10 which opens a command prompt. Once the command prompt is opened, follow the steps mentioned below.</p>
<p>a.    In the command prompt, type explorer.exe and press Enter.</p>
<p>b.    Windows will try to load some settings and it will try to restart itself.</p>
<p>If windows don’t restart, then go ahead and perform a hard reboot by using the power button.</p>
<p>c.    This will complete the installation.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://tech.yipp.ca/windows/windows-7-installation-gets-stuck-completing-installation/">Windows 7 installation gets stuck at Completing Installation</a> appeared first on <a rel="nofollow" href="https://tech.yipp.ca">Techy Things</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://tech.yipp.ca/windows/windows-7-installation-gets-stuck-completing-installation/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>CloseHandle HANGS on HANDLE created from CreatePipe</title>
		<link>https://tech.yipp.ca/windows/closehandle-hangs-handle-created-createpipe/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=closehandle-hangs-handle-created-createpipe</link>
		<comments>https://tech.yipp.ca/windows/closehandle-hangs-handle-created-createpipe/#comments</comments>
		<pubDate>Fri, 22 Apr 2016 16:55:22 +0000</pubDate>
		<dc:creator><![CDATA[frank]]></dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://tech.yipp.ca/?p=2372</guid>
		<description><![CDATA[<p>Solution Add CloseHandle(hChildStd_OUT_Wr) after CreateProcess(...) Problematic Code THREAD1: HANDLE hChildStd_OUT_Rd; HANDLE hChildStd_OUT_Wr; CreatePipe(&#38;hChildStd_OUT_Rd, &#38;hChildStd_OUT_Wr, &#38;saAttr, 0); PROCESS_INFORMATION piProcInfo; STARTUPINFO siStartInfo; BOOL bSuccess = FALSE; // Set up members of the PROCESS_INFORMATION structure. ZeroMemory( &#38;piProcInfo,&#46;&#46;&#46;</p>
<p>The post <a rel="nofollow" href="https://tech.yipp.ca/windows/closehandle-hangs-handle-created-createpipe/">CloseHandle HANGS on HANDLE created from CreatePipe</a> appeared first on <a rel="nofollow" href="https://tech.yipp.ca">Techy Things</a>.</p>
]]></description>
				<content:encoded><![CDATA[<h2>Solution</h2>
<p>Add CloseHandle(hChildStd_OUT_Wr) after CreateProcess(...)</p>
<h2>Problematic Code</h2>
<pre>THREAD1:

HANDLE hChildStd_OUT_Rd;
HANDLE hChildStd_OUT_Wr;
CreatePipe(&amp;hChildStd_OUT_Rd, &amp;hChildStd_OUT_Wr, &amp;saAttr, 0);

PROCESS_INFORMATION piProcInfo;
STARTUPINFO siStartInfo;
BOOL bSuccess = FALSE;

// Set up members of the PROCESS_INFORMATION structure.
ZeroMemory( &amp;piProcInfo, sizeof(PROCESS_INFORMATION) );

// Set up members of the STARTUPINFO structure.
// This structure specifies the STDIN and STDOUT handles for redirection.
ZeroMemory( &amp;siStartInfo, sizeof(STARTUPINFO) );
siStartInfo.cb = sizeof(STARTUPINFO);
siStartInfo.hStdError = hChildStd_OUT_Wr;
siStartInfo.hStdOutput = hChildStd_OUT_Wr;
siStartInfo.dwFlags |= STARTF_USESTDHANDLES;
siStartInfo.wShowWindow = true;

// Create the child process.
bSuccess = CreateProcess(NULL,
                         executable,      // command line
                         NULL,      // process security attributes
                         NULL,      // primary thread security attributes
                         TRUE,      // handles are inherited
                         0,      // creation flags
                         NULL,      // use parent's environment
                         currentDir,      // use parent's current directory
                         &amp;siStartInfo,      // STARTUPINFO pointer
                         &amp;piProcInfo);      // receives PROCESS_INFORMATION

if (piProcInfo.hProcess != NULL)
{
   // Waits here until process terminates
   WaitForSingleObject (piProcInfo.hProcess, INFINITE);

  // Process is terminated
  if (hChildStd_OUT_Rd != NULL)
  {
       CloseHandle(hChildStd_OUT_Rd); <span style="color: #ff0000;"><strong>&lt;= HANGS HERE!!!</strong></span>
  }

  CloseHandle(piProcInfo.hProces);
  
  if (piProcInfo.hThread != NULL)
  {
      CloseHandle(piProcInfo.hThread);
  }
}

</pre>
<p>THREAD2:</p>
<pre>
DWORD dwRead, dwWritten;
CHAR chBuf[BUFSIZE];
BOOL bSuccess = FALSE;
HANDLE hParentStdOut = GetStdHandle(STD_OUTPUT_HANDLE);

int threadId = (int)QThread::currentThreadId();
qDebug() &lt;&lt; "ReadFromPipe from threadId:" &lt;&lt; threadId;

if (fileStdout_ == NULL)
{
   qDebug() &lt;&lt; "fileStdout_ is NULL, aborting";
   return;
}

for (;; )
{
   bSuccess = ReadFile( hChildStd_OUT_Rd_, chBuf, BUFSIZE, &amp;dwRead, NULL);
   
   if( !bSuccess || dwRead == 0 )
   {
      qDebug() &lt;&lt; "qDebug() Failure reading hChildStd_OUT_Rd_";
      break;
   }

   fwrite(chBuf, dwRead, 1, fileStdout_);
   fflush(fileStdout_);

   if (!bSuccess ) break;
}

qDebug() &lt;&lt; "qDebug() hChildStd_OUT_Rd_ TERMINATED taskId:" &lt;&lt; haiProcess_-&gt;taskId_;

if (hParentStdOut != INVALID_HANDLE_VALUE)
SetStdHandle(STD_OUTPUT_HANDLE, hParentStdOut);

fclose(fileStdout_);
fileStdout_ = NULL;

qDebug() &lt;&lt; "qDebug() [ReadFromPipe] TERMINATED taskId:" &lt;&lt; haiProcess_-&gt;taskId_;

</pre>
<h2>Corrected Code</h2>
<pre>
      // Close inheritable copies of the handles you do not want to be<br />
      // inherited.<br />
      if (!CloseHandle(hOutputReadTmp)) DisplayError("CloseHandle");<br />
      if (!CloseHandle(hInputWriteTmp)) DisplayError("CloseHandle");</p>
<pre>
<p>The post <a rel="nofollow" href="https://tech.yipp.ca/windows/closehandle-hangs-handle-created-createpipe/">CloseHandle HANGS on HANDLE created from CreatePipe</a> appeared first on <a rel="nofollow" href="https://tech.yipp.ca">Techy Things</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://tech.yipp.ca/windows/closehandle-hangs-handle-created-createpipe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building a new Windows 64-bit Dev System</title>
		<link>https://tech.yipp.ca/windows/building-new-windows-64-bit-system/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=building-new-windows-64-bit-system</link>
		<comments>https://tech.yipp.ca/windows/building-new-windows-64-bit-system/#comments</comments>
		<pubDate>Sun, 20 Dec 2015 15:41:08 +0000</pubDate>
		<dc:creator><![CDATA[frank]]></dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://tech.yipp.ca/?p=2146</guid>
		<description><![CDATA[<p>&#160; Visual C++ Redistributable for Visual Studio 2015 https://www.microsoft.com/en-us/download/details.aspx?id=48145 SQLite Browser https://github.com/sqlitebrowser/sqlitebrowser/releases/download/v3.7.0/sqlitebrowser-3.7.0-win64.exe &#160; &#160;</p>
<p>The post <a rel="nofollow" href="https://tech.yipp.ca/windows/building-new-windows-64-bit-system/">Building a new Windows 64-bit Dev System</a> appeared first on <a rel="nofollow" href="https://tech.yipp.ca">Techy Things</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>&nbsp;</p>
<p>Visual C++ Redistributable for Visual Studio 2015<br />
<a href="https://www.microsoft.com/en-us/download/details.aspx?id=48145" target="_blank">https://www.microsoft.com/en-us/download/details.aspx?id=48145</a></p>
<p>SQLite Browser<br />
<a href="https://github.com/sqlitebrowser/sqlitebrowser/releases/download/v3.7.0/sqlitebrowser-3.7.0-win64.exe" target="_blank">https://github.com/sqlitebrowser/sqlitebrowser/releases/download/v3.7.0/sqlitebrowser-3.7.0-win64.exe</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://tech.yipp.ca/windows/building-new-windows-64-bit-system/">Building a new Windows 64-bit Dev System</a> appeared first on <a rel="nofollow" href="https://tech.yipp.ca">Techy Things</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://tech.yipp.ca/windows/building-new-windows-64-bit-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Should you upgrade to Windows 10 ?</title>
		<link>https://tech.yipp.ca/windows/upgrade-windows-10/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=upgrade-windows-10</link>
		<comments>https://tech.yipp.ca/windows/upgrade-windows-10/#comments</comments>
		<pubDate>Wed, 16 Dec 2015 03:42:01 +0000</pubDate>
		<dc:creator><![CDATA[frank]]></dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://tech.yipp.ca/?p=2119</guid>
		<description><![CDATA[<p>Wow Microsoft is offering me a Free upgrade to Windows 10 !! So generous Wait ! What is Microsoft's advantages? - Due to updated privacy policy, the things you do with Cortana will be&#46;&#46;&#46;</p>
<p>The post <a rel="nofollow" href="https://tech.yipp.ca/windows/upgrade-windows-10/">Should you upgrade to Windows 10 ?</a> appeared first on <a rel="nofollow" href="https://tech.yipp.ca">Techy Things</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Wow Microsoft is offering me a <strong>Free</strong> upgrade to <strong>Windows 10</strong> !! So generous <img src="https://tech.yipp.ca/wp-includes/images/smilies/simple-smile.png" alt=":)" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<h3>Wait !</h3>
<p>What is Microsoft's advantages?</p>
<p>- Due to updated privacy policy, the things you do with <em>Cortana</em> will be shared with Microsoft for collecting data, allegedly for advertising.</p>
<div class="quote">
<p>We copied and pasted the Microsoft Privacy Statement and the Services Agreement into a document editor and found that these "straightforward" terms are 22 and 23 pages long respectively. Summing up these 45 pages, one can say that Microsoft basically grants itself very broad rights to collect everything you do, say and write with and on your devices in order to sell more targeted advertising or to sell your data to third parties. The company appears to be granting itself the right to share your data either with your consent "or as necessary".</p>
<p>Your device location, data from your calendar, the apps you use, data from your emails and text messages, who you call, your contacts and how often you interact with them on your device. Cortana also learns about you by collecting data about how you use your device and other Microsoft services, such as your music, alarm settings, whether the lock screen is on, what you view and purchase, your browse and Bing search history, and more.</p>
<p>Your voice input, as well your name and nickname, your recent calendar events and the names of the people in your appointments, and information about your contacts including names and nickname.</p>
<p>-- <a href="https://www.techdirt.com/articles/20150802/07341031825/microsoft-launches-special-scott-mcnealy-edition-windows.shtml" target="_blank">https://www.techdirt.com/articles/20150802/07341031825/microsoft-launches-special-scott-mcnealy-edition-windows.shtml</a></p>
</div>
<p>- You will have <strong>forced security updates</strong>. And by default "Delivery Optimization" is turned on and your PC will then act as a server to other user to stream these updates over the internet, <strong>using your bandwidth</strong> - and thus reducing Microsoft's bandwidth !</p>
<div class="quote">
<p>Delivery Optimization downloads the same updates and apps that you get through Windows Update and the Windows Store. Delivery Optimization creates a local cache, and stores files that it has downloaded in that cache for a short period of time. Depending on your settings, Windows then send parts of those files to other PCs on your local network or PCs on the Internet that are downloading the same files.</p>
<p>-- <a href="https://www.quora.com/Should-I-go-ahead-with-the-free-upgrade-to-Windows-10-offered-by-Microsoft" target="_blank">https://www.quora.com/Should-I-go-ahead-with-the-free-upgrade-to-Windows-10-offered-by-Microsoft</a></p>
<p>However, only some SKUs (stock-keeping units) -- notably Windows 10 Home and Windows 10 Pro -- are set to provide updates and apps to other devices when connected to the public Internet.</p>
<p>Windows 10 Enterprise and Windows 10 Education, volume-licensed SKUs for large companies and organizations, also have WUDO enabled, but default to sharing updates and apps only within a local network.</p>
<p>-- <a href="http://www.computerworld.com/article/2955288/microsoft-windows/windows-10-commandeers-users-upload-bandwidth.html" target="_blank">http://www.computerworld.com/article/2955288/microsoft-windows/windows-10-commandeers-users-upload-bandwidth.html</a>
</div>
<p>Read this article from PCWorld on how to turn this off <a href="http://www.pcworld.com/article/2955491/windows/how-to-stop-windows-10-from-using-your-pcs-bandwidth-to-update-strangers-systems.html" target="_blank">http://www.pcworld.com/article/2955491/windows/how-to-stop-windows-10-from-using-your-pcs-bandwidth-to-update-strangers-systems.html</a><br />
<br/></p>
<p>To finish, some words from <a href="https://twitter.com/50nerdsofgrey" target="_blank">@50NerdsofGrey</a></p>
<p><a href="https://twitter.com/50nerdsofgrey" target="_blank"><img class=" wp-image-2120 size-medium aligncenter" src="http://tech.yipp.ca/files/2015/12/12006281_1072401252779104_6419460618347209076_n-400x225.jpg" alt="12006281_1072401252779104_6419460618347209076_n" width="400" height="225" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://tech.yipp.ca/windows/upgrade-windows-10/">Should you upgrade to Windows 10 ?</a> appeared first on <a rel="nofollow" href="https://tech.yipp.ca">Techy Things</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://tech.yipp.ca/windows/upgrade-windows-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
