Problem displaying drag image using IDropTargetHelper [modified]
-
I'm attempting to display a drag image using IDropTargetHelper but it's not working. I can call
CoCreateInstance(CLSID_DragDropHelper, NULL, CLSCTX_INPROC_SERVER, IID_IDropTargetHelper, (LPVOID*)&m_spdth)
and get a pointer, but all calls to functions return a HRESULT of "Interface not registered". I'm using Windows XP SP2 and my shell32.dll version is 6.0.2900.2951. I used TypeLib viewer to look in my shell32.dll and didn't find the IDropTargetHelper interface. Is there something I'm missing? Edit: I just realised that while dragging within a single explorer window creates the SysDragImage window class, dragging it into another explorer window is broken as well. I wonder how long it has been since I noticed... :( -- modified at 16:21 Monday 21st August, 2006