🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #6101

Re: Scramdisk and MS Word

#6101
From: Aman
Date: Mon, 23 Nov 1998 00:00
52 lines
2634 bytes
On Sun, 22 Nov 1998 00:02:48 +0000, Anthony Naggs
<amn@ubik.demon.co.uk> wrote:

>
>[I'm a little behind with my news reading ... some things never change!]

A pity. If you had not been so behind, you would be aware that this
was acknowledged by myself as a *silly bug*,  I  introduced in "2.02C"
Indeed, Sam Simpson confirmed this as being as such, in the post you
quoted in this thread.

Fixes (2.02d) were sent to people who needed it. That's the reason why
2.02d was never publicly seen...

The lines of code you quote have been removed (2.02d onwards), and the
notify is  handled by the device driver as detailed below:


>The source for 2.02c, which is still the latest available, has an
>obvious bug with this code:


The device driver broadcasts at delayed "Appy Time":
	
				
 IFSMgr_PNPEvent(DBT_DEVICEARRIVAL,cv->drive,PNPT_VOLUME |DBTF_MEDIA);
It is better in the driver, because other people's Win32 apps they are
creating to mount disks, don't have to bother about this.


The call (Walter Oney's wrapper) :

IspAssociateDcb(ldcb, md,ISP_D_A_FL_NOSHELLMSG);

sets up the new disk, and suppresses the broadcast message which would
do this. The DBT message (from the driver) is then delayed for about a
second, by which time the data from the disk will be properly read. 
Otherwise you very often get wrong but benign icons on the
desktop.....

If the ISP_D_A_FL_NOSHELLMSG is zero, then the broadcast is made by
the IFS manager, but there are problems (with icons) when the drive is
then clicked on, too soon....

>  But if not SD should surely be
>broadcasting DBT_DEVICEREMOVAL when volumes are dismounted.


No need. Examination of the driver source code should reveal why....
	
Regards,
Aman.
Technical Details
Message-ID: <365d4eb1.4877389@news3.newscene.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.security.pgp.mbox.zip!not-for-mail
References: <19981108042522.12771.qmail@hades.rpini.com> <3647dad1.1512704@news.demon.co.uk> <36497ed1.834783@nntp.jaring.my> <72c9o6$oie$1@nnrp1.dejanews.com> <2aauyDAoS1V2EwfR@ubik.demon.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <365d4eb1.4877389@news3.newscene.com>
Subject: Re: Scramdisk and MS Word
Date: Mon, 23 Nov 1998 00:00:00 +0000
From: scramdisk@hotmail.com (Aman)
References: <19981108042522.12771.qmail@hades.rpini.com> <3647dad1.1512704@news.demon.co.uk> <36497ed1.834783@nntp.jaring.my> <72c9o6$oie$1@nnrp1.dejanews.com> <2aauyDAoS1V2EwfR@ubik.demon.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.security.pgp.mbox.zip!not-for-mail
X-Deja-AN: 414768135
Content-Transfer-Encoding: 7bit
Organization: Newscene Public Access Usenet News Service (http://www.newscene.com/)
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Newsgroups: alt.privacy.anon-server,alt.security.pgp