Unexpected return from DoDragDrop
COM
1
Posts
1
Posters
1
Views
1
Watching
-
I have a C function that calls a C++ function that calls DoDragDrop() to drag a file using the CF_HDROP format data object. The global memory is moveable. Under any NT version of Windows this returns the expected value DROPEFFECT_COPY but under Win9x the function returns RPC_E_SERVERFAULT. I can only get the drag operation to work under Win9x if I use fixed global memory. Does anyone have any suggestions as to what is going on?