<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>constant &quot;Disk Write Error&quot;</title>
		<link>http://www.allegro.cc/forums/view/137308</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sat, 09 Feb 2002 22:28:00 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I tried unzipping something with PowerArchiver earlier; doing so made the screen turn black for a minute and then I got a blue screen that said:<br /> quote:<br />Disk Write Error<br />Unable to write to disk in drive C:<br />Data or files may be lost<br />Press any key to continue</p><p>Pushed the space bar and had a permanent black screen; I had to restart. Thinking it might have been a fluke, I tried again. Same result. Now I&#39;ve tried zipping something to put on my site, but now I get the write error without the black screen; pushing any key brings me back no sweat. File opens and closes and everything, I just keep getting the error anyway. Now unzipping the file gives me a folder I can&#39;t access and starting IE just now caused the write error to come up 3 times in a row. Having no experience with viruses, I assume this is what I have. Whether it is or not, any suggestions how I can fix it?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (23yrold3yrold)</author>
		<pubDate>Mon, 04 Feb 2002 07:24:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It might just be file system corruption. Give &quot;scandisk&quot; a try (although that usually makes the problem worse). Norton&#39;s Disk Doctor can also help, but it&#39;s not free  <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" /></p><p>I also suggest you get an anti-virus - or at least a demo version of one so you can scan your computer.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Bob)</author>
		<pubDate>Mon, 04 Feb 2002 08:01:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>What&#39;s good anti-virus software? ALl I&#39;ve ever heard of is Norton&#39;s and McAfee, and I&#39;ve heard people bash both.</p><p>And if scandisk makes the problem worse, why would I want to try it?  <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (23yrold3yrold)</author>
		<pubDate>Mon, 04 Feb 2002 11:30:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I doubt you have a virus, unless you opened up an e-mail attachment.</p><p>I&#39;d recommending making a complete back up - especially of your documents, etc. Then run a scandisk on Windows. I personally have never had problems with scandisk, but I&#39;ve never had a hard drive start to go bonkers like yours. After scanning, I&#39;d then try a virus program. I prefer McAfee over Norton, primarily because Norton seems to install a bunch of useless programs that monitor stuff that doesn&#39;t need to be, etc. I&#39;m sure you could &#39;customize&#39; either one to fit your needs.</p><p>Bottom line is - get your important files backed up before it&#39;s too late. (Don&#39;t forget your e-mail, if that&#39;s something you save...)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Mon, 04 Feb 2002 15:05:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>Scandisk encountered a data error while writing to the root directory.</p><p>This error prevents Scandisk from fixing this drive.</p></div></div><p>
So much for that.</p><p>I&#39;ve already decided to back up my files; I&#39;ll do that tonight. Past that, I guess I could take it in for repairs; it&#39;s still under warranty. BTW, how do I back up my mail? I remember losing it way back when I needed to reinstall Windows.</p><p>[ February 04, 2002: Message edited by: 23yrold3yrold ]
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (23yrold3yrold)</author>
		<pubDate>Mon, 04 Feb 2002 17:47:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well, if you use Outlook Express, just do a search for &quot;*.dbx&quot; on your hard drive. Make sure you can see your hidden folders.</p><p>Depending on your OS, it would be in something like \Documents and Settings\UserProfile\Local Settings\Application Data\Identities\{GUID}\Microsoft\Outlook Express .</p><p>All you have to do is copy those .dbx files to disk. (You&#39;ll have one .dbx file per OE folder.) To &quot;re-import&quot; them when you reload Windows (or whatever), you simply recreate your folder structure in OE, and then close out of it, and overwrite the .dbx files with your old ones.</p><p>I have found this much more reliable then exporting / importing, and it&#39;s very simple to do.</p><p>Any other mailer should have export/import or something similar.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Tue, 05 Feb 2002 01:18:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I should add, depending on where you got your PC.....</p><p>You may want to do all the backup and restore yourself. Many times &#39;service&#39; people (especially from local shops) just wipe out, replace the hardware, and reload. They don&#39;t do any real tests, etc. </p><p>So the best plan could be to simply back up your files, ask for a new hard drive (demonstrate the error), and reload it yourself. </p><p>If the computer place actually does good work and its free, then ignore the warning and let them do everything.  <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Tue, 05 Feb 2002 01:21:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Also - if you use outlook express, instead of searching for those files, do this:</p><p>Go to &quot;tools&quot; (in OE) and click on the &quot;maintenance&quot; tab - select &#39;store folder&quot; copy the address - then go to &quot;start&quot; and &quot;run&quot; and paste the address - </p><p>matthew was right about the storage place - this is just to save you time
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (nicholle)</author>
		<pubDate>Tue, 05 Feb 2002 02:01:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I seem unable to even back my stuff up  <img src="http://www.allegro.cc/forums/smileys/angry.gif" alt="&gt;:(" /> My CD burner ain&#39;t burnin&#39;. I&#39;m not sure wheter this is because of &quot;bad&quot; files in certian folders, or because the hard drive just doesn&#39;t feel like opening anything (I;m scared to open too much; I&#39;m afraid I&#39;ll aggravate the problem).</p><p>I&#39;d just like to say this sucks.  <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" /> And I hear Future Shop (where i got it) isn&#39;t terribly competent, so I&#39;ll hope hard for quality work ...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (23yrold3yrold)</author>
		<pubDate>Tue, 05 Feb 2002 06:47:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I like my setup at home with a network. I store all my important stuff (email, source code, etc) on a &#39;file&#39; server and just keep that backed up. So if my main PC crashes (or I get the itch to reload), I don&#39;t have to worry about anything. </p><p>If the file server crashes, then I at least have a nightly backup I can use.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Tue, 05 Feb 2002 07:55:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well, I&#39;m signing off. Taking it in tonight; hopefully we&#39;ll be back up and running in a few days. I had just figured out how to open a .bmp file using my own code too, and it was soooooo cool  <img src="http://www.allegro.cc/forums/smileys/cool.gif" alt="8-)" /> I feel 1337  <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" /> </p><p>Ta ta.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (23yrold3yrold)</author>
		<pubDate>Wed, 06 Feb 2002 06:11:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hmmm... I wonder if <b>your</b> code is what is causing the problem on your pc.  <img src="http://www.allegro.cc/forums/smileys/shocked.gif" alt=":o" />  <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Wed, 06 Feb 2002 06:14:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Already thought of that. I wasn&#39;t really doing any writing (only reading), and posting it to comp.lang.c++ for help didn&#39;t generate any comments along the lines of &quot;What are you doing?!?! You&#39;ll screw up your hard drive!!!&quot;. It was pretty basic.<br />Here; it&#39;s short so I&#39;ll post it (just to be safe). Very rough and incomplete, but mostly working.code:#include &lt;fstream&gt;<br />#include &lt;iostream&gt;<br />#include &lt;allegro.h&gt;</p><p>int main()<br />{<br />   // variables<br />   ifstream ifile;<br />   int  temp   = 0,<br />        width  = 0,<br />        height = 0;<br />   char r, g, b;<br />   <br />   // set up Allegro<br />   allegro_init();<br />   install_keyboard();<br />   set_color_depth(16);<br />   set_gfx_mode(GFX_AUTODETECT, 640, 480, 0, 0);</p><p>   // open, extract and display the bitmap<br />   ifile.open(&quot;test.bmp&quot;, ios::in | ios::binary);<br />   ifile.seekg(18); // move to the width and height<br />   ifile.read(&amp;width,  4);<br />   ifile.read(&amp;height, 4);<br />   ifile.seekg(54); // move to the width and height</p><p>   BITMAP* bitmap = create_bitmap(width, height);<br />   clear(bitmap);</p><p>   for(int y = height - 1 ; y &gt;= 0 ; y--)<br />      for(int x = width - 1 ; x &gt;= 0 ; x--)<br />      {<br />         if(ifile.eof()) break;<br />         ifile.read(&amp;b, 1);<br />         ifile.read(&amp;g, 1);<br />         ifile.read(&amp;r, 1);<br />         putpixel(bitmap, x, y, makecol16(r, g, b));<br />      }<br />   <br />   ifile.close();</p><p>   draw_sprite(screen, bitmap, 0, 0);</p><p>   // wait for a keypress<br />   readkey();</p><p>   // go back to text mode and display bitmap stats<br />   set_gfx_mode(GFX_TEXT, 0, 0, 0, 0);<br />   <br />   ifile.open(&quot;test.bmp&quot;, ios::in | ios::binary);<br />   <br />   // extract the BITMAPFILEHEADER<br />   ifile.read(&amp;temp, 2); cout &lt;&lt; &quot;File ID:         &quot; &lt;&lt; temp &lt;&lt; endl;<br />   ifile.read(&amp;temp, 4); cout &lt;&lt; &quot;Size of file:    &quot; &lt;&lt; temp &lt;&lt; endl;<br />   ifile.read(&amp;temp, 4); cout &lt;&lt; &quot;Reserved values: &quot; &lt;&lt; temp &lt;&lt; endl;<br />   ifile.read(&amp;temp, 4); cout &lt;&lt; &quot;Offset of data:  &quot; &lt;&lt; temp &lt;&lt; endl &lt;&lt; endl;</p><p>   // extract the BITMAPINFOHEADER<br />   ifile.read(&amp;temp, 4); cout &lt;&lt; &quot;Size of Info Header: &quot; &lt;&lt; temp &lt;&lt; endl;<br />   ifile.read(&amp;temp, 4); cout &lt;&lt; &quot;Bitmap Width:        &quot; &lt;&lt; width &lt;&lt; endl;<br />   ifile.read(&amp;temp, 4); cout &lt;&lt; &quot;Bitmap Height:       &quot; &lt;&lt; height &lt;&lt; endl;<br />   ifile.read(&amp;temp, 2); cout &lt;&lt; &quot;Bitmap Planes:       &quot; &lt;&lt; temp &lt;&lt; endl;<br />   ifile.read(&amp;temp, 2); cout &lt;&lt; &quot;Bits Per Pixel:      &quot; &lt;&lt; temp &lt;&lt; endl;<br />   ifile.read(&amp;temp, 4); cout &lt;&lt; &quot;Compression:         &quot; &lt;&lt; temp &lt;&lt; endl;<br />   ifile.read(&amp;temp, 4); cout &lt;&lt; &quot;Bitmap Data Size:    &quot; &lt;&lt; temp &lt;&lt; endl;<br />   ifile.read(&amp;temp, 4); cout &lt;&lt; &quot;H Pixels Per Meter:  &quot; &lt;&lt; temp &lt;&lt; endl;<br />   ifile.read(&amp;temp, 4); cout &lt;&lt; &quot;V Pixels Per Meter:  &quot; &lt;&lt; temp &lt;&lt; endl;<br />   ifile.read(&amp;temp, 4); cout &lt;&lt; &quot;Colors:              &quot; &lt;&lt; temp &lt;&lt; endl;<br />   ifile.read(&amp;temp, 4); cout &lt;&lt; &quot;Important Colors:    &quot; &lt;&lt; temp &lt;&lt; endl;</p><p>   ifile.close();</p><p>   destroy_bitmap(bitmap);<br />   <br />   return 0;<br />}<br />So did I do a Very Bad Thing? Looks harmless enough to me ...<br />PS: I know I said I was signing off; I&#39;m leaving soon
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (23yrold3yrold)</author>
		<pubDate>Wed, 06 Feb 2002 06:58:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Guess I did OK since no one answered. Cool; my old crap computer still works!!  <img src="http://www.allegro.cc/forums/smileys/shocked.gif" alt=":o" /> Hope the new one gets fixed soon; this is a piece of junk.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (23yrold3yrold)</author>
		<pubDate>Thu, 07 Feb 2002 09:36:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Back up and running   !!<br />But with a blank hard drive   <br />Ah well, gotta spend the day reinstalling ...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (23yrold3yrold)</author>
		<pubDate>Sat, 09 Feb 2002 22:28:00 +0000</pubDate>
	</item>
</rss>
