Network Redirector vs Virtual Disk

I’m currently working on a project where I mount a network drive using a custom
protocol as a drive letter. We internally have a user-mode library to handle
this protocol, thus we use Dokan (user-mode filesystem) to save some driver dev
time. One thing I’ve noticed with Dokan is that it will always display the
‘Network Drive’ (if you tell it to appear as one), as disconnected. Is it even
possible to make this show as connected or is that a redirector only feature?
I’m pretty much trying to decide if I should keep using Dokan, or if I should
create a redirector driver instead, as we would be able to add some features
that we’d like to see (and avoid the GPL).

Also, I’m having some major linking errors with rdbsslib.lib. I’ve added the
line TARGETLIBS = $(DDK_LIB_PATH)\Rdbsslib.lib in my sources file, but I get
large amounts of unresolved external symbol errors.

Here’s just a few of the hundreds…

1>c:\xxx\srcs\rdbsslib.lib(cancel.obj) : error LNK2001: unresolved external
symbol _RxAssert@16
1>c:\xxx\srcs\rdbsslib.lib(ntfastio.obj) : error LNK2001: unresolved external
symbol _RxAssert@16
1>c:\xxx\srcs\rdbsslib.lib(close.obj) : error LNK2001: unresolved external
symbol _RxAssert@16
1>c:\xxx\srcs\rdbsslib.lib(create.obj) : error LNK2001: unresolved external
symbol _RxAssert@16
1>c:\xxx\srcs\rdbsslib.lib(ntexcept.obj) : error LNK2001: unresolved external
symbol _RxAssert@16
1>c:\xxx\srcs\rdbsslib.lib(ntfsp.obj) : error LNK2001: unresolved external
symbol _RxAssert@16

-Brandon

Surely there’s some Dokan reflector or something where this question might be more easily answered?

Peter
OSR

Hmm, seems I was perusing the list a little to fast and missed the original past. This issue was recently brought up in the MSDN “Windows Hardware WDK and Driver Development” forum. Only there the gentleman, not Brandon by the way, was getting a BSOD with an error code indicating that he had had a kernel stack overflow. His solution of choice was to expand the stack using some obscure KeXxxx function in the WDK that would expand the stack. However, he was wanting to know how to use the command from a user application and thus how and what he needed to include to get the function to build in his user app. After Don and I explained to him that was not possible he moved the question to ANOTHER MSDN forum, but those evil and wicked moderators popped it right back into the WDK forum, and even merged it with the original thread. That poster was also using DOKAN, but his solution, instead of removing DOKAN, was to remove TDI, followed then by the request to expand a kernel stack from user-land. Don’s perusal of situation, I believed found a recommendation for DOKAN to remove TDI ? kind of a knee jerk “Hey, I couldn’t get the interaction to work with released system functionality (TDI in this case) so I would recommend that you remove that evil functionality with which I can’t figure out how to work.”

Simply stated, it appears that your primary problem, Brandon is DOKAN. My first suggestion would be to eliminate that 3rd party software. I highly doubt it provides anything that is not as easily, if not easier, and obviously more reliably done using existing functionality.

Gary Little
H (952) 223-1349
C (952) 454-4629
xxxxx@comcast.net

On Mar 6, 2012, at 11:21 AM, xxxxx@osr.com wrote:

Surely there’s some Dokan reflector or something where this question might be more easily answered?

Peter
OSR


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

> Surely there’s some Dokan reflector or something

dokan+xxxxx@googlegroups.com

Active and low traffic.
Mixes user and dev audience topics.

Well, implementing a user-mode file system on Windows is not simple. And if Dokan worked as advertised, it’d be pretty cool. I’m not saying it doesn’t work, by the way… I have no idea, never having used it.

We here at OSR *do* have a toolkit for creating user-mode Windows file systems. You could contact me off-list if you were interested and that’s all I’ll say about that. There’s also another company that makes such a commercial product, but its “president” was banned for doing nothing but advertising his product here… never answering a single technical question.

Peter
OSR

I do stand corrected. But DOKAN having two instances of stupid failures to me is rather larger waving red flag ?

Gary Little
H (952) 223-1349
C (952) 454-4629
xxxxx@comcast.net

On Mar 6, 2012, at 1:44 PM, xxxxx@osr.com wrote:

Well, implementing a user-mode file system on Windows is not simple. And if Dokan worked as advertised, it’d be pretty cool. I’m not saying it doesn’t work, by the way… I have no idea, never having used it.

We here at OSR *do* have a toolkit for creating user-mode Windows file systems. You could contact me off-list if you were interested and that’s all I’ll say about that. There’s also another company that makes such a commercial product, but its “president” was banned for doing nothing but advertising his product here… never answering a single technical question.

Peter
OSR


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

I’ll have to discuss the OSR toolkit with my boss. It’ll just end up on a rant
about how flawed my logic is and that I’m doing it wrong and Dokan is great and
user-mode filesystems are simple and anyone can do it better than I can.

-Brandon

On 3/6/2012 2:57 PM, Gary Little wrote:

I do stand corrected. But DOKAN having two instances of stupid failures to me
is rather larger waving red flag …

Gary Little
H (952) 223-1349
C (952) 454-4629
xxxxx@comcast.net mailto:xxxxx
>
>
> On Mar 6, 2012, at 1:44 PM, xxxxx@osr.com mailto:xxxxx wrote:
>
>>


>>
>> Well, implementing a user-mode file system on Windows is not simple. And if
>> Dokan worked as advertised, it’d be pretty cool. I’m not saying it doesn’t
>> work, by the way… I have no idea, never having used it.
>>
>> We here at OSR do have a toolkit for creating user-mode Windows file
>> systems. You could contact me off-list if you were interested and that’s all
>> I’ll say about that. There’s also another company that makes such a
>> commercial product, but its “president” was banned for doing nothing but
>> advertising his product here… never answering a single technical question.
>>
>> Peter
>> OSR
>>
>>
>> —
>> NTDEV is sponsored by OSR
>>
>> For our schedule of WDF, WDM, debugging and other seminars visit:
>> http://www.osr.com/seminars
>>
>> To unsubscribe, visit the List Server section of OSR Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer</mailto:xxxxx></mailto:xxxxx>