Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Other hexagora products
 Programs (Programmi)
 [BUGS] clsUnifile and OpenFileGeneric issue
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ronsens
Novice

11 Posts

Posted - 02 Aug 2012 :  21:07:42  Show Profile  Visit ronsens's Homepage  Reply with Quote
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  Show Profile  Visit s.dav's Homepage  Reply with Quote
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
Go to Top of Page

ronsens
Novice

11 Posts

Posted - 03 Aug 2012 :  12:42:08  Show Profile  Visit ronsens's Homepage  Reply with Quote
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000