Author |
Topic |
|
ronsens
Novice
11 Posts |
Posted - 02 Aug 2012 : 21:07:42
|
Hi,
When I use this class and the OpenFileGeneric method (or any other), I can not use a unicode filename. The method returns false and no filehandle is created. When I use a regular non-unicode name, it is returning true. This happens when a file does not exist yet and needs to be created. A file with unicode chars can be opened with the following code:
ok = clsUNI.OpenFileGeneric(sFilename, eua_GENERIC_READ, eucd_OPEN_ALWAYS, eusm_NOT_SHARED, euat_FILE_ATTRIBUTE_ARCHIVE)
I need the unicode option for the other languages. Can you please look into this?
Thanks Ron
|
Edited by - ronsens on 02 Aug 2012 22:47:58 |
|
s.dav
Site Admin
Italy
3364 Posts |
Posted - 03 Aug 2012 : 10:05:11
|
Ron,
please send a sample to my private email (check my site), in the "Sample1" there is a panel that creates an Unicode Filename without problems Please check flags; Windows wants some of them if the file doesn't exists |
Regards, Davide |
|
|
ronsens
Novice
11 Posts |
Posted - 03 Aug 2012 : 12:42:08
|
Hi Davide,
I will first take a look at the sample. If the problem still happens I will send you an email. Thanks for the quick reaction, appreciate that.
Ron |
|
|
|
Topic |
|
|
|