Zitat Zitat von TARASIK Beitrag anzeigen
The root cause is Windows Shell API SHGetPathFromIDList can not
convert the PIDL of Library folder to a file system path on
Windows 7. The PIDL is pointer to an item identifier list,
usually used to identify the Windows Shell Namespace objects.
Our paste process of iNav are using COM object
COleDataObject::AttachClipboard() to get the IDataObject from
clipboard firstly, then get the PIDL from the IDataObject and
using SHGetPathFromIDList to get the file system path of copied
file.
ROFL - standardisierte APIs sind toll. Vor allem, wenn es so viele für den gleichen Zweck gibt, und die Auslegung und Implementierung nur als grobe Handlungsrichtlinie betrachtet wird...

-h