afnarqui / dokan

Automatically exported from code.google.com/p/dokan
0 stars 0 forks source link

DOKAN_INSTANCE requires global DokanOptions and DokanOperations #124

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
> What steps will reproduce the problem?

1. Create a Dokan filesystem, but call DokanMain in a scope you keep your
DokanOptions and DokanOperations.
2. Close down Dokan "mounter" service.
3. Run you filesystem.

> What is the expected output? What do you see instead?

Should see a quiet exit. Instead I see a crash when instance->DokanOptions
is used in DllMain in switch branch DLL_PROCESS_DETACH. This is because the
address is no longer valid. It would be better if DOKAN_INSTANCE own it's
own copy of DokanOptions and DokanOperations.

> What version of the product are you using? On what operating system?

Last release version of Dokan running XP sp2.

Original issue reported on code.google.com by joe.a.bu...@gmail.com on 16 Dec 2009 at 2:51

GoogleCodeExporter commented 9 years ago
The latest version in repository does't use DokanOptions in DllMain.
Thanks,

Original comment by asa...@gmail.com on 26 Dec 2009 at 4:39