🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms
Article #7478

Re: conflict bet backmenu & stars!!!

#7478
From: Ian Heath
Date: Mon, 10 Dec 1990 16:29
54 lines
2982 bytes
In <1990Dec8.080128.222@daffy.cs.wisc.edu> leol@cat5.cs.wisc.edu (Leo Lim) writes:


>  Hello, everyone!
>I found there is a conflict between backmenu.exe & stars.exe.
>The problem was:
>   When I close stars, backmenu can't pop up anymore when i click right button
>   mouse. However, (of course) backmenu is still in memory.

>Any comments or suggestion about this???
>THANKS++;

	Back-Menu works by replacing the message processing function
of the Desktop with its own. The replacement looks for the right mouse
button being clicked and brings up a menu if this is the case. Any
other messages are passed on to the *old* message processing function.
I assume Stars works in the same way. The problem comes about from
having both progams installed, and then uninstalling the wrong program
first. The scenario goes something like this:-

	Stars installs itself. It finds the default desktop message
handler, remembers it, and replaces it with its own.  Back-Menu then
installs itself. It finds the message handler installed by Stars, and
remembers this and replaces it with *its* own handler. So, for any
message the dwsktop receives, if Back-Menu does not process it, it is
passed on to what Back-Menu thinks is the default message function
(which is Stars). Stars then does much the same thing, passing the
message on to the default windows desktop message processing function.

	This is all OK until the user wants to uninstall Stars. When
Stars removes itself (assuming it does much the same as Back-Menu) it
restores the old desktop message processing function (ie. the
default one). Back-Menu is no longer receives any messages and so wil
no longer pop-up, and because it hasn't been closed, it still remains
in memory.

	The problem is very akin to that of installing and
uninstalling TSR programs in DOS. If you don't uninstall them in the
opposite order to that which they were installed, probelms occur. The
only solution at present is to to do this with Back-Menu and Stars.
I'm thinking of modifications to Back-Menu to stop it being removed if
it isn't the last program in this *chain*, like most TSR programs, and
this should help.

>=== Leo Martin Lim ===

	+-------------------------------+-------------------------------+
	|   Ian Heath,                  |				|
	|   Postgraduate Student,       | .signatures, who needs 'em.	|
	|   University of Southampton,  |				|
	|   England.                    |				|
	|				|				|
	| email: ih@uk.ac.soton.ecs	| 				|
	+-------------------------------+-------------------------------+
Technical Details
Message-ID: <5693@ecs.soton.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!icdoc!sot-ecs!ih
References: <1990Dec8.080128.222@daffy.cs.wisc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!icdoc!sot-ecs!ih
From: ih@ecs.soton.ac.uk (Ian Heath)
Newsgroups: comp.windows.ms
Subject: Re: conflict bet backmenu & stars!!!
Message-ID: <5693@ecs.soton.ac.uk>
Date: 10 Dec 90 16:29:04 GMT
References: <1990Dec8.080128.222@daffy.cs.wisc.edu>
Organization: University of Southampton, UK
Lines: 54