Windows error 0x8004006A, -2147221398

Detailed Error Information

DV_E_CLIPFORMAT[1]

MessageInvalid clipboard format
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode4 (0x004)
NameFACILITY_ITF[2][1]
DescriptionThe source of the error code is COM/OLE Interface management.[2][1]
Error Code106 (0x006a)

Questions

2votes
0answers

Shell Style Drag and Drop object disposal using gdi32.dll DeleteObject

So... I have recently been developing a Winforms C# application in .NET 2.0 that uses the Shell Style drag and drop described in the great tutorial here: http://blogs.msdn.com/b/adamroot/archive/2008/02/19/shell-style-drag-and-drop-in-net-wpf-and-winforms.aspx This was used to give a semi-transparent image of the dragged control during the drag action. However, a secondary functionality is that [...] read more
c#
drag-and-drop
gdi
windows-shell
dispose
0votes
1answer

handle drop event of drag and drop from ListView to ListView with UWP and C++/WinRT app

I am working on a simple UWP application written in C++/WinRT under Windows 10 that contains two ListView controls. The goal of this application is to learn how to select an item from one ListView control, drag it to the other ListView control, and drop the item so that it [...] read more
c++
xaml
uwp
drag-and-drop
c++-winrt
0votes
1answer

UWP: Getting the Clipboard Text

Here is what I try to get the Clipboards text in js: function getClipboard() { var content = Windows.ApplicationModel.DataTransfer.Clipboard.getContent(); if ( content.contains(Windows.System.string) ) { var text = content.getTextAsync(Windows.System.string); $('section#show-clipboard #textarea').text(text); } else {}; }; I am using the Clipboard.getContent() and the DataPackageView.getTextAsync(Windows.System.String) Methods. The interesting thing is that it does [...] read more
javascript
uwp
clipboard
0votes
1answer

Copy and paste problems with Word 2010 and Windows 7

I have a program which is able to exchange data with MS Office applications, via the clipboard. This works fine in Office 2007 and Windows Vista/XP, but fails with Office 2010/Windows 7 IDataObject *d = NULL; HRESULT hr = ::OleGetClipboard(&d); if (hr == S_OK) { FORMATETC formatEtc; formatEtc.cfFormat = ::RegisterClipboardFormat("Native"); [...] read more
windows-7
ms-word
clipboard

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0