Re: CFileDialog show bDisconneted Network Drive with Red Cross, but it work well

I am not familiar with the library you reference, but shell extensions
require special care to work with CFileDialog (for those of you who are
not MFC wizards, CFileDialog.DoModal wraps the OpenFile or SaveFe dialog,
and it requires a flag to use explorer extensions).

Otherwise, I’m out of my element here. I have seen this behavior when
shell extensions were involved.
joe

I am developing a network filesystem with rdbss.lib and it work well
through explore.exe.

but it is showed disconnect in the dialog created by CFileDialog.DoModal

I see my network provider dll is not loaded and NPGetConnection is not
called.

what should I do

thanks


NTFSD is sponsored by OSR

OSR is hiring!! Info at http://www.osr.com/careers

For our schedule of debugging and file system 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 am not familiar with the library you reference, but shell extensions

require special care to work with CFileDialog

CFileDialog is a wrapper around shell32’s file open dialog, which - in turn - on network redirectors, depends on an NP DLL heavily.

Also the DeviceType for the redir’s DO MUST be FILE_DEVICE_NETWORK_FILE_SYSTEM


Maxim S. Shatskih
Microsoft MVP on File System And Storage
xxxxx@storagecraft.com
http://www.storagecraft.com

It show correctly in Explore.exe, but wrong with Common Open File dialog, what do I miss ?

should I set flag WNNC_DLG_FORMATNETNAME in return value for WNNC_DIALOG ?