|
-
May 25th, 2012, 10:23 AM
#1
Thread Starter
Member
[RESOLVED] Unicode file name from OLEDrop data.Files
Hi
I'm trying to drop files with unicode names into my app but it seems to fail.
A function that gets the last edit date using CreateFileW+GetFileTime works fine when I pass the path and file from other sources (like my codejock open file dialog) But when the path and file name variable is set from the data.Files array (variant) it fails since CreateFileW returns -1. I suspect the vb6 OLEDrop.Files collection does not contain the proper unicode filenames. Can anybody confirm this and suggest a workaround. One strange thing is that DIR (used to verify that the file exists) returns correctly from both sources...
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|