MEMOEDIT on hmg 3.4.0

Moderator: Rathinagiri

Post Reply
User avatar
hmgchang
Posts: 240
Joined: Tue Aug 13, 2013 4:46 am
Location: Indonesia
Has thanked: 1 time
Been thanked: 4 times

MEMOEDIT on hmg 3.4.0

Post 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
Just Hmg It !

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 182 times

Post 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.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
hmgchang
Posts: 240
Joined: Tue Aug 13, 2013 4:46 am
Location: Indonesia
Has thanked: 1 time
Been thanked: 4 times

Post 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...
Just Hmg It !

Post Reply