Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Other hexagora products
 Programs (Programmi)
 [BUGS] clsUnifile and OpenFileGeneric issue

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
ronsens 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

2   L A T E S T    R E P L I E S    (Newest First)
ronsens 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
s.dav 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

Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000