NetEZ.com NetEZ Community
Enter City & State or US Zip Code:
Change your local weather options
Google
WWW NetEZ.com

NetEZ.com Forum Index  
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

blog: rogue shell extensions

 
Post new topic   Reply to topic    NetEZ.com Forum Index -> Useful xplorer˛ Topics:
View previous topic :: View next topic  
Author Message
nikos
Moderator
Moderator


Joined: 07 Feb 2002
Posts: 12346
Location: UK

PostPosted: Sun Feb 10, 2008 7:07 am    Post subject: blog: rogue shell extensions Reply with quote

A popular topic relating to diagnosing xplorer˛ (and other) crashes, this thread was
originally posted in the xplorer˛ Professional forum.   Moved here 19-May-2010 =fg=
=================================================================


here's the comment area for today's blog article found at
http://www.zabkat.com/blog/10Feb08.htm
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
snakebyte
Gold Member
Gold Member


Joined: 07 May 2003
Posts: 379
Location: Seattle

PostPosted: Sun Feb 10, 2008 7:22 am    Post subject: Reply with quote

Excellent article!

I would rate this as my favorite X2 blog so far. I guess this generic information can be applied to analyze any application crash in windows.

Cheers!
_________________
Help! I'm an AI running around in someone's universe simulator.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Demetris
Silver Member
Silver Member


Joined: 04 Jul 2004
Posts: 220

PostPosted: Sun Feb 10, 2008 8:24 am    Post subject: Reply with quote

I think a definite article is missing in the first sentence: Working with THE windows shell...

Also, I'm not sure about phrasing like this:

The majority of crashes you may experience working with xplorer˛ are invariably caused by such poorly programmed DLLs — but xplorer˛ takes the blame!

It seems defensive (no need to get defensive), and it also seems to quantify ("majority") -- no need for this either, in my opinion. I would like much better something like this:

Sometimes x2 crashes -- and very often the culprit is such a rogue shell extension. -- Without majorities and minorities! Smile

~~~~~~

Other than that, I agree with snakebyte -- the article is excellent: the narration is very good, the technical issue is presented in language that is very easy to follow, and the diagnostic method has general application.

Thanks for an interesting and useful article!
Back to top
View user's profile Send private message
JimKueneman
New Member
New Member


Joined: 13 Aug 2007
Posts: 13

PostPosted: Sun Feb 10, 2008 11:21 am    Post subject: Reply with quote

Hi Nikos,

  There is a bug in Delphi that causes these crashes.  Next time you get one have user contact the author and point them to my website:

www.mustangpeak.net/hooks_fix.htm


Jim
Back to top
View user's profile Send private message
tvgm2
New Member
New Member


Joined: 10 Feb 2008
Posts: 1

PostPosted: Sun Feb 10, 2008 1:05 pm    Post subject: Reply with quote

Thanks for these posts!
Back to top
View user's profile Send private message
nikos
Moderator
Moderator


Joined: 07 Feb 2002
Posts: 12346
Location: UK

PostPosted: Mon Feb 11, 2008 1:33 am    Post subject: Reply with quote

Quote:
There is a bug in Delphi that causes these crashes


that's interesting Jim, so it is delphi to blame! Like you can't write namespace extensions in managed code
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
JimKueneman
New Member
New Member


Joined: 13 Aug 2007
Posts: 13

PostPosted: Mon Feb 11, 2008 9:28 am    Post subject: Reply with quote

Quote:
that's interesting Jim, so it is delphi to blame!


Yes, up to Delphi 2005.  They added the fix in that version and beyond.

Quote:
Like you can't write namespace extensions in managed code


That really roasts me in the M$ shell group.  When someone says "I know I am  not suppose to be writing extensions in C# but I seems to work OK I have a question......"

Well so what that it works "Ok" on your machine.  Wait until you get someone with another extension that the author made the same comment.....

Jim
Back to top
View user's profile Send private message
rsleegers
New Member
New Member


Joined: 29 Nov 2002
Posts: 12
Location: Canada

PostPosted: Thu Feb 14, 2008 3:10 pm    Post subject: not a valid Win32 application Reply with quote

I should probably start a new thread but your shell extensions blog came at a time when I was having problems loading the editor2. At first I thought it was F3 shortcut problem, but F4 worked fine. Then I noticed other programs were not launching properly, so I thought it might be a shell extension problem. Looking in my event logs showed some, "not a valid Win32 application" errors. I checked for obvious virus and spyware (clean).

However, in the end it was a rogue log causing the problem. It was supposed to be saved to "\program files\program name\log name", but was in fact being saved to "\program" due to an unquoted parameter (the app created a script so I didn't know where it was, at first). On startup, Windows even "helpfully" suggested it rename this file to prevent problems, but the file came back.

To make a short story long, renaming this file also corrected the F3/Edit problem. This Microsoft support page led me to the final solution.
_________________
Richard
Registered xplorer˛ user since 4/30/2008
Back to top
View user's profile Send private message Visit poster's website
ckit
Silver Member
Silver Member


Joined: 10 Jun 2004
Posts: 232
Location: QLD Australia

PostPosted: Sun Feb 17, 2008 9:06 pm    Post subject: Reply with quote

Folder Guide 1.1 (made in 2006) can cause problems with xplorer2 pro when closing.
Error is runtime 216 which as I understand is a Delphi error.

Just posting to make others aware of it.
_________________
xplorer˛ pro 1.8.0.12 x64 on Win7 Pro x64
AnVir Task Manager Pro, Avira Premium, Executor, Glary Utilities Pro, Process Lasso Pro, WinRAR
Back to top
View user's profile Send private message Send e-mail
joba
New Member
New Member


Joined: 24 Jun 2003
Posts: 6
Location: Bloemfontein, South Africa

PostPosted: Sun Jul 05, 2009 2:24 pm    Post subject: Runtime 216 error Reply with quote

It look consistend that when I used Mozilla Firefox I get the Runtime 216 error. I did not use any other  Delphi program as fas as I can determine. Is there anybody else that experience the same?
_________________
Joba
Back to top
View user's profile Send private message
nikos
Moderator
Moderator


Joined: 07 Feb 2002
Posts: 12346
Location: UK

PostPosted: Sun Jul 05, 2009 3:22 pm    Post subject: Reply with quote

is this a xplorer2 or firefox problem?
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
joba
New Member
New Member


Joined: 24 Jun 2003
Posts: 6
Location: Bloemfontein, South Africa

PostPosted: Sun Jul 05, 2009 4:28 pm    Post subject: Reply with quote

It is when I close xplorer.
_________________
Joba
Back to top
View user's profile Send private message
nikos
Moderator
Moderator


Joined: 07 Feb 2002
Posts: 12346
Location: UK

PostPosted: Mon Jul 06, 2009 1:32 am    Post subject: Reply with quote

then it is one of your shell extensions that causes it. If you get me the crash minidump file as explained below i can tell you which one it is:
www.zabkat.com/x2cs_bug.htm
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
dapxin
New Member
New Member


Joined: 17 Sep 2009
Posts: 1

PostPosted: Thu Apr 15, 2010 3:14 am    Post subject: insightful post Reply with quote

This is a great piece for all the right reasons, the least of which is introducing me to such a fine rhyme-word:

Stoic!

veryNice Smile
Back to top
View user's profile Send private message
Flux
Member
Member


Joined: 04 Oct 2005
Posts: 26

PostPosted: Fri Apr 16, 2010 2:50 am    Post subject: Reply with quote

Just for your information: runtime error 216 = general protection fault.

I read about that Delphi bug long ago, so I was hoping most of the faulty programs were updated, but it seems I was overoptimistic.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetEZ.com Forum Index -> Useful xplorer˛ Topics: All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP