PNG. SaveToClipboardFormat (AFormat AData, APalette);
ClipBoard. SetAsHandle (AFormat and AData);//always open a ClipBoard
OpenClipboard (0);
Try
EmptyClipboard;
SetClipboardData (AFormat and AData)//return 0
The finally
CloseClipboard ();
end;
The above two methods are not
Note is executed in the thread
CodePudding user response:
This should be the operating system problem, the computer in the lock screen to ClipBoard is invalid,You can, custom caching, to operate, such, is not restricted,
CodePudding user response:
A custom cache? Has a similar example, didn't understand the specific principles