1. Compile a MFC app by VS 2013 (or above?) with x64
2. Enable drag&drop features of this app
3. Drag files from 32 bit TC into app
4. Failed. Windows Explorer works very well.
Then, I looked into my app and found hDropInfo became into an invalid handle.
Code: Select all
UINT cnt = ::DragQueryFile(hDropInfo, (UINT)-1, NULL, NULL);
64bit TC don't have this issue.
BTW, TC and app both work as normal user.(Non-administrator)
EDITED: If this app was compiled by VS 2008, 32bit&64bit TC both work.