Page 1 of 1

MEMOEDIT on hmg 3.4.0

Posted: Mon Jun 08, 2015 3:44 am
by hmgchang
Dear Masters,

I downloaded and compiled with hmg 3.4.0,
It works but with MEMOEDIT, it always cut the first character typed and start display the second
char ...
I didnt have this problem before with hmg 3.3.1...
Pls advise if anything i should do to use the hmg 3.4.0 ?

TIA

best rgds,
Chang

MEMOEDIT on hmg 3.4.0

Posted: Mon Jun 08, 2015 6:17 pm
by Pablo César
I think this is typical from Harbour issues.

I would use hb_MemoRead to read existing file instead and hb_MemoWrit for writing.

I also believe this is UNICODE question. In Harbour changelog relates some enhance and fixing at 2015-02-13 and 2015-01-09.

Chang, If is posible attach a small source code demo to make see how all it's been done at your next post woult it be great. This is a good practice, otherwise we do not know how & what you are using for.
I mean if you are reading from DBF's memo field or an existing file.

Usually in my practice I do not use memo field at DBFs anymore. I prefer to write separate text files store at specific subfolder for it' contains. Due some corruption files reported and also for swapping store data as independent on my databases.

DBF upto now is not in UNICODE but some changes happend in Harbour that this it could be seen at next HMG versions.
So in that way I believe you should convert UNICODE strings before you write in DBFs.

Re: MEMOEDIT on hmg 3.4.0

Posted: Tue Jun 09, 2015 11:06 pm
by hmgchang
Thks for your prompt reply Mr. Pablo...
As i said it works fine with hmg 3.3.1, i will check the changelog...