Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Fri, 30 May 2008 08:03:40 -0700 (PDT),    group: microsoft.public.platformsdk.shell        back       


Drag and Drop ( DND ) issue from NSE to Explorer in Vista Migration   
Hi,

I have a problem with DND from my NSE to explorer in Vista. This
feature works well in XP. Also DND works form Explorer to NSE and from
NSE to NSE.

I am using custom view (not def view)  and found in vista.

I pass object CDataObject: public IDataObject, IEnumFORMATETC in my
view for DoDragDrop. Also I pass IStream object pointer by opening
m_file.Open(FileName,(CFile::modeRead)) on call to
IDataObject::GetData().

In XP the IStream object is called for IStream::Seek() first and I
return E_NOTIMPL. Then It calls for ISequentialStream::Read().

But in Vista ISequentialStream::Read() is not called. So for explorer
eventhough gets notification it is not able to copy the file. Also
after IStream::Seek() call my IStream object is quired for many
unimplemeted interfaces.

Any idea what is going on? Looking for valuable ideas.

Jomerce
date: Fri, 30 May 2008 08:03:40 -0700 (PDT)   author:   Jomerce

Re: Drag and Drop ( DND ) issue from NSE to Explorer in Vista Migration   
On May 30, 8:03 pm, Jomerce  wrote:
> Hi,
>
> I have a problem with DND from my NSE to explorer in Vista. This
> feature works well in XP. Also DND works form Explorer to NSE and from
> NSE to NSE.
>
> I am using custom view (not def view)  and found in vista.
>
> I pass object CDataObject: public IDataObject, IEnumFORMATETC in my
> view for DoDragDrop. Also I pass IStream object pointer by opening
> m_file.Open(FileName,(CFile::modeRead)) on call to
> IDataObject::GetData().
>
> In XP the IStream object is called for IStream::Seek() first and I
> return E_NOTIMPL. Then It calls for ISequentialStream::Read().
>
> But in Vista ISequentialStream::Read() is not called. So for explorer
> eventhough gets notification it is not able to copy the file. Also
> after IStream::Seek() call my IStream object is quired for many
> unimplemeted interfaces.
>
> Any idea what is going on? Looking for valuable ideas.
>
> Jomerce

Yep,

Solved, Needs to implement IStream::Stat() and is better to implement
IStream::Seek() for vista.
date: Thu, 12 Jun 2008 10:43:44 -0700 (PDT)   author:   Jomerce

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us