Thread View: alt.privacy.anon-server
9 messages
9 total messages
Started by Anonymous
Sun, 08 Nov 1998 00:00
Scramdisk and MS Word
Author: Anonymous
Date: Sun, 08 Nov 1998 00:00
Date: Sun, 08 Nov 1998 00:00
2 lines
1175 bytes
1175 bytes
When I try to open Scramdisk with Word97 running in the background my whole system freezes - any body else had this problem?? Memory shouldn't be a problem since I have heaps.
Re: Scramdisk and MS Word
Author: Aman
Date: Sun, 08 Nov 1998 00:00
Date: Sun, 08 Nov 1998 00:00
19 lines
1466 bytes
1466 bytes
On 8 Nov 1998 05:06:13 +0100, Anonymous <nobody@remailer.ch> wrote: >When I try to open Scramdisk with Word97 running in the background my whole system freezes - any body else had this problem?? >Memory shouldn't be a problem since I have heaps. Remove "FASTFIND" for now....... (It puts itself in the startup directory in start menu, programs) An interim version of Scramdisk solves this problem..... (Also try opening the containers with _File _Mount, and use the BROWSE button to find the container..... The new version does fix this, and has been extensively tested with office 97... Regards, Aman.
Re: Scramdisk and MS Word
Author: Raphael
Date: Sun, 08 Nov 1998 00:00
Date: Sun, 08 Nov 1998 00:00
10 lines
973 bytes
973 bytes
I have the same problem :+o( Anonymous a �crit dans le message <19981108042522.12771.qmail@hades.rpini.com>... >When I try to open Scramdisk with Word97 running in the background my whole system freezes - any body else had this problem?? >Memory shouldn't be a problem since I have heaps. > > >
Re: Scramdisk and MS Word
Author: Lincoln Yeoh
Date: Wed, 11 Nov 1998 00:00
Date: Wed, 11 Nov 1998 00:00
33 lines
1831 bytes
1831 bytes
On Sun, 08 Nov 1998 17:54:49 GMT, scramdisk@hotmail.com (Aman) wrote: >On 8 Nov 1998 05:06:13 +0100, Anonymous <nobody@remailer.ch> wrote: > > >>When I try to open Scramdisk with Word97 running in the background my whole system freezes - any body else had this problem?? >>Memory shouldn't be a problem since I have heaps. > > >Remove "FASTFIND" for now....... (It puts itself in the startup >directory in start menu, programs) I'm getting real puzzled with Windows and Windows programs. What does FastFind have to do with Scramdisk? I know it does have to index the disk, but why should there be a problem. There are so many other similar puzzles. Windows is starting to sound like one of those cartoon machines - y'know those humungous complicated things with springs, cogs, birds, the kitchen sink, plumbing, a rolling ball (or two), and internet explorer 5.0. Ick. Curse: May Windows become a BIOS- standard frozen APIs. Then Microsoft will die but our applications are more likely to work reliably. Link. **************************** Reply to: @Spam to lyeoh at @people@uu.net pop.jaring.my @ *******************************
Re: Scramdisk and MS Word
Author: ssimpson
Date: Wed, 11 Nov 1998 00:00
Date: Wed, 11 Nov 1998 00:00
41 lines
2212 bytes
2212 bytes
Link, In article <36497ed1.834783@nntp.jaring.my>, nospam@pd.jaring.my wrote: > On Sun, 08 Nov 1998 17:54:49 GMT, scramdisk@hotmail.com (Aman) wrote: > > >On 8 Nov 1998 05:06:13 +0100, Anonymous <nobody@remailer.ch> wrote: > > > > > >>When I try to open Scramdisk with Word97 running in the background my whole system freezes - any body else had this problem?? > >>Memory shouldn't be a problem since I have heaps. > > > > > >Remove "FASTFIND" for now....... (It puts itself in the startup > >directory in start menu, programs) > > I'm getting real puzzled with Windows and Windows programs. What does > FastFind have to do with Scramdisk? I know it does have to index the disk, > but why should there be a problem. > The offending line: SendMessage(HWND_BROADCAST,WM_DEVICECHANGE,32768,(long) &h); Was tried in SD to attempt to stop Explorer windows open when a container was mounted. Unfortunately, this message (which was sent to all windows) hung Find Fast. Regards, Sam Simpson Comms Analyst -- See http://www.hertreg.ac.uk/ss/ for ScramDisk, a free virtual disk encryption for Windows 95/98. PGP Keys available at the same site. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Re: Scramdisk and MS Word
Author: Michel Bouissou
Date: Thu, 12 Nov 1998 00:00
Date: Thu, 12 Nov 1998 00:00
33 lines
1723 bytes
1723 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Lincoln Yeoh a �crit dans le message
<36497ed1.834783@nntp.jaring.my>...
>>
>>Remove "FASTFIND" for now....... (It puts itself in the startup
>>directory in start menu, programs)
>
>I'm getting real puzzled with Windows and Windows programs. What does
>FastFind have to do with Scramdisk? I know it does have to index the
disk,
>but why should there be a problem.
>
Actually the issue of Scramdisk hanging at container mount-time
when Findfast is running has been diagnosed a while ago. The temporary
version 2.02e of Scramdisk that can be downloaded now from
www.hertreg.ac.uk/ss/ now fixes this issue.
HTH.
- --
michel_bouissou@wanadoo.fr
"Le pouvoir corrompt. Le pouvoir absolu corrompt absolument."
-----BEGIN PGP SIGNATURE-----
Version: PGP 5.5.5
iQA/AwUBNkqeQHhwUkaA272PEQJ6WgCfQj0fTqccVftvSsOUa2Eu1z+93IMAoKDl
WkUYJpooYXwmtPaMvJkgLngJ
=lAhv
-----END PGP SIGNATURE-----
Re: Scramdisk and MS Word
Author: Anthony Naggs
Date: Sun, 22 Nov 1998 00:00
Date: Sun, 22 Nov 1998 00:00
70 lines
3367 bytes
3367 bytes
After much consideration decided to share these wise words:
>>
>
>The offending line:
> SendMessage(HWND_BROADCAST,WM_DEVICECHANGE,32768,(long) &h);
>
>Was tried in SD to attempt to stop Explorer windows open when a container was
>mounted. Unfortunately, this message (which was sent to all windows) hung
>Find Fast.
[I'm a little behind with my news reading ... some things never change!]
The source for 2.02c, which is still the latest available, has an
obvious bug with this code:
DEV_BROADCAST_HDR h;
h.dbch_size=sizeof(DEV_BROADCAST_HDR);
h.dbch_devicetype=2; //DBT_DEVTYP_VOLUME;
h.dbch_reserved=0;
if (mf->mountresult==3)
// drawwhichdevice=c+1;
{
SendMessage(HWND_BROADCAST,WM_DEVICECHANGE,32768,(long) &h);
SetTimer(hwnd,c+1,2000,NULL); // wait for mount....
}
else
xShellExecute(hwnd, "open",IconExplore[c], NULL, NULL,
SW_SHOWNORMAL);
DEV_BROADCAST_HDR is the common structure header for all
DBT_DEVICEARRIVAL notifications. The code should instead be setting up
a DEV_BROADCAST_VOLUME structure, as implied by the DBT_DEVTYP_VOLUME
value set in the devicetype field.
The DEV_BROADCAST_VOLUME structure looks like this:
struct _DEV_BROADCAST_VOLUME { /* */
DWORD dbcv_size;
DWORD dbcv_devicetype;
DWORD dbcv_reserved;
DWORD dbcv_unitmask;
WORD dbcv_flags;
};
dbcv_flags should be set to DBTF_MEDIA. dbcv_unitmask is a bit mask
indicating which volumes have changed, eg bit 0 (1) for drive A:, bit 2
(4) for drive C:, ...
I would've thought that the IFS would generate appropriate
WM_DEVICECHANGE messages without SD needing to do so. (I'm not actually
running SD at the moment to check.) But if not SD should surely be
broadcasting DBT_DEVICEREMOVAL when volumes are dismounted.
I shall update my PnPwatch [1] program to check the size value of the
data structures on such broadcasts.
Cheers,
Anthony
1. PnPwatch is free software that demonstrates how to parse
WM_DEVICECHANGE broadcasts, and helps debug Plug'n'Play activity
in Windows 95, 98 & NT.
ftp://ftp.demon.co.uk/pub/ibmpc/win95/programming/pnpwat11.zip is
the current version of my source & exe. The updated pnpwat12.zip
file will appear when the site administrator processes new uploads
during this week.
--
BAD COMPUTER! That's my registry file you've trashed.
Re: Scramdisk and MS Word
Author: Aman
Date: Mon, 23 Nov 1998 00:00
Date: Mon, 23 Nov 1998 00:00
52 lines
2634 bytes
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.
Re: Scramdisk and MS Word
Author: Anthony Naggs
Date: Mon, 23 Nov 1998 00:00
Date: Mon, 23 Nov 1998 00:00
39 lines
2382 bytes
2382 bytes
After much consideration Aman decided to share these wise words:
>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.
Sam attributed the bug to the broadcast, so I looked at the code to see
why the broadcast would cause a problem. It also kicked me into making
an overdue update to my PnPwatch utility.
>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.
Agreed, it seemed a little strange to find the broadcast in the
application rather than the driver.
>> 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....
Fair enough, I've not been using Walter Oney's wrappers and wasn't
looking for them.
Cheers,
Tony
--
BAD COMPUTER! That's my registry file you've trashed.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads