C Board  

Go Back   C Board > Community Boards > Tech Board

Reply
 
LinkBack Thread Tools Display Modes
Old 05-14-2008, 05:09 AM   #1
and the hat of copycat
 
stevesmithx's Avatar
 
Join Date: Sep 2007
Posts: 417
Windows explorer problem.

Hi guys,
I am getting this irritating error message whenever I open a folder containing an avi file.
"Windows explorer has encountered a problem and needs to close."
and then I have to open all explorer windows back again.
I think windows is trying to read the avi file for caching or something before i even open
it.
anybody if know how to solve this please tell.
Thanks in advance.
__________________
Not everything that can be counted counts, and not everything that counts can be counted
- Albert Einstein.


No programming language is perfect. There is not even a single best language; there are only languages well suited or perhaps poorly suited for particular purposes.
- Herbert Mayer
stevesmithx is offline   Reply With Quote
Old 05-14-2008, 05:15 AM   #2
Reverse Engineer
 
maxorator's Avatar
 
Join Date: Aug 2005
Location: Estonia
Posts: 2,258
It is probably some buggy shell extension. Download ShellExView and try to disable/enable different shell extensions and see if it helps.
__________________
The duck is irrelevant to my point.
maxorator is offline   Reply With Quote
Old 05-14-2008, 05:26 AM   #3
and the hat of copycat
 
stevesmithx's Avatar
 
Join Date: Sep 2007
Posts: 417
Thanks for the quick reply.
I downloaded shellExView.
It's showing some 283 shell extensions.
I can't find anything describing windows explorer though.
Is it safe to disable any shell extensions on that list?
please help.
__________________
Not everything that can be counted counts, and not everything that counts can be counted
- Albert Einstein.


No programming language is perfect. There is not even a single best language; there are only languages well suited or perhaps poorly suited for particular purposes.
- Herbert Mayer
stevesmithx is offline   Reply With Quote
Old 05-14-2008, 05:49 AM   #4
and the hat of copycat
 
stevesmithx's Avatar
 
Join Date: Sep 2007
Posts: 417
I think problem is solved.
I tried this after googling.
Start->Run
regsvr32 /u shmedia.dll.
Thanks for your time and help.
__________________
Not everything that can be counted counts, and not everything that counts can be counted
- Albert Einstein.


No programming language is perfect. There is not even a single best language; there are only languages well suited or perhaps poorly suited for particular purposes.
- Herbert Mayer
stevesmithx is offline   Reply With Quote
Old 05-14-2008, 05:51 AM   #5
Mysterious C++ User
 
Elysia's Avatar
 
Join Date: Oct 2007
Posts: 14,771
The extensions are extensions to explorer. They are not explorer itself, so naturally explorer isn't listed.
Firstly look for red highlighted items, because they are suspicious.
Then look for non-Microsoft extensions and try disabling them one by one and see if it fixes the problem.
Alternatively, also get Spybot and scan for malicious software (an extensions).
__________________
Using: Microsoft Windows™ 7 Professional (x64), Microsoft Visual Studio™ 2008 Team System
I dedicated my life to helping others. This is only a small sample of what they said:
"Thanks Elysia. You're a programming master! How the hell do you know every thing?"
Quoted... at least once.
Quote:
Originally Posted by cpjust
If C++ is 2 steps forward from C, then I'd say Java is 1 step forward and 2 steps back.
Elysia is offline   Reply With Quote
Old 05-14-2008, 06:01 AM   #6
and the hat of copycat
 
stevesmithx's Avatar
 
Join Date: Sep 2007
Posts: 417
Thank you Elysia.
I understand that.
After unregistering that dll through that run command,
I refreshed shellExView and found some extensions are gone('AVI property handler' for one).
The number of shell extensions went down from 283 to 277.
I see something connected between the two.
I have not done much windows programming.
Can somebody explain this please?
__________________
Not everything that can be counted counts, and not everything that counts can be counted
- Albert Einstein.


No programming language is perfect. There is not even a single best language; there are only languages well suited or perhaps poorly suited for particular purposes.
- Herbert Mayer
stevesmithx is offline   Reply With Quote
Old 05-14-2008, 06:03 AM   #7
Mysterious C++ User
 
Elysia's Avatar
 
Join Date: Oct 2007
Posts: 14,771
In short, you disabled some shell extensions.
The long answer: shell extensions are registered in the windows registry. Shell extensions are files in forms on dlls. These dlls handle registering themselves and unregistering themselves. They do so via two special functions, which can be called via regsvr32 and regsvr32 /u.
So by using it, you caused the dll to unload its extensions.
__________________
Using: Microsoft Windows™ 7 Professional (x64), Microsoft Visual Studio™ 2008 Team System
I dedicated my life to helping others. This is only a small sample of what they said:
"Thanks Elysia. You're a programming master! How the hell do you know every thing?"
Quoted... at least once.
Quote:
Originally Posted by cpjust
If C++ is 2 steps forward from C, then I'd say Java is 1 step forward and 2 steps back.
Elysia is offline   Reply With Quote
Old 05-14-2008, 06:10 AM   #8
and the hat of copycat
 
stevesmithx's Avatar
 
Join Date: Sep 2007
Posts: 417
Thanks for that explanation and your time,Elysia.
__________________
Not everything that can be counted counts, and not everything that counts can be counted
- Albert Einstein.


No programming language is perfect. There is not even a single best language; there are only languages well suited or perhaps poorly suited for particular purposes.
- Herbert Mayer
stevesmithx is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
windows explorer working directory baccardi Windows Programming 1 04-10-2009 08:07 AM
C Under Windows Problem neel_basu Windows Programming 17 12-27-2006 07:49 AM
Application Termination Problem in Windows XP wasabee Windows Programming 2 04-11-2003 12:53 PM
C++ Gurus, UNIX vs. Windows ascii problem perhaps? puck C++ Programming 6 03-28-2003 10:33 PM
Windows 98 problem Hannwaas A Brief History of Cprogramming.com 16 12-30-2001 12:01 PM


All times are GMT -6. The time now is 08:20 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22