Shell Extension: DragQueryFile returns at most 16 (in Windows 7)
Posted
by Erik
on Stack Overflow
See other posts from Stack Overflow
or by Erik
Published on 2010-03-02T14:45:19Z
Indexed on
2010/05/17
19:30 UTC
Read the original article
Hit count: 320
I've writtten a shell extension (guided by The Complete Idiot's Guide to Writing Shell Extensions) which worked as it should until I upgraded to Windows 7(32bit).
Now, the function DragQueryFile
UINT uNumFiles = DragQueryFile(hDrop,0xFFFFFFFF,NULL,0);
returns the right number of selected files until the number is above 16. Then always 16 is returned.
I've tested it in XP(32) and Vista(32), there it works, in Windows7 (32/64) it doesn't.
Any ideas?
Thanks.
© Stack Overflow or respective owner