HMG 3.1.4

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

User avatar
srvet_claudio
Posts: 1943
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 30 times
Been thanked: 117 times
Contact:

Re: HMG 3.1.4 (Test)

Post by srvet_claudio » Sat Jul 13, 2013 1:53 pm

quartz565 wrote:Hi,
If i edit forms in IDE (Unicode version) the Greek characters are not displayed (ide_edit). But there is no problem with Greek characters in exe Program (exe_prog)
What should I do to fix the problem.

Nikos
Hi Nikos,
Please, check that the IDE.EXE open is correct.
The picture you show is typical of a project in Unicode open in an IDE in ANSI.
Best Regards,
Claudio.
Attachments
IDE_Unicode_ANSI.png
IDE_Unicode_ANSI.png (20.03 KiB) Viewed 1521 times
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

User avatar
quartz565
Posts: 442
Joined: Mon Oct 01, 2012 12:37 pm
Location: Thessaloniki, Greece
Has thanked: 103 times
Been thanked: 11 times
Contact:

Post by quartz565 » Sun Jul 14, 2013 10:21 pm

Thank you Claudio,

(Google translation)

I'm a little confused: I started my program with version 3.0.46 (IDE 2011.06.24). I've done compiling all the version without any problem until now working in edit forms with Greek characters . In version 3.1.4 in ANSI-IDE everything is okay. With UNICODE-IDE I have the above problem that you described. I need to make some changes in my program to support Unicode ?

(After compiling in my program the function msginfo (HMG_SupportUnicode ()) returns ".T." and the msginfo (HMG_CharSetName ()) returns "UNICODE".)

Best Regards,
Nikos

And an important question: needs my application to be done to Unicode ? that will benefit me this ?
Best Regards,
Nikos.

os: Windows Server 2012 - 64
hw: HP Server E5606, 2.13GHz, 8.00 GB - Intel Xeon CPU

User avatar
srvet_claudio
Posts: 1943
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 30 times
Been thanked: 117 times
Contact:

Post by srvet_claudio » Sun Jul 14, 2013 11:09 pm

quartz565 wrote:Thank you Claudio,

(Google translation)

I'm a little confused: I started my program with version 3.0.46 (IDE 2011.06.24). I've done compiling all the version without any problem until now working in edit forms with Greek characters . In version 3.1.4 in ANSI-IDE everything is okay. With UNICODE-IDE I have the above problem that you described. I need to make some changes in my program to support Unicode ?

(After compiling in my program the function msginfo (HMG_SupportUnicode ()) returns ".T." and the msginfo (HMG_CharSetName ()) returns "UNICODE".)

Best Regards,
Nikos

And an important question: needs my application to be done to Unicode ? that will benefit me this ?
Hi Nikos,
Not exist any problem with the use of HMG-Unicode with ANSI program, only you must use ANSI IDE and set the correct CODEPAGE in your application.
The benefit of Unicode is to write your application in any langue of world without worry if supports or not the CODEPAGE of your lenguage in the system of user.
Best Regards,
Claudio.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

klauskugel
Posts: 89
Joined: Tue Oct 09, 2012 2:28 pm
Been thanked: 2 times

Post by klauskugel » Mon Jul 15, 2013 2:02 pm

Many thanks for implementing UNICODE to you Doc,Roberto,Rathi
and all the others.
Looks great.
And it runs without any modifications under
LINUX + Wine 1.5.30 and later so far I have tried.

It is now possible to use HMG fully under WINE.
Even HMG 3.0.42 and later work.

I think this is the possibillity to test programs under
Wine simulating W2K up to Win8.
Simply to have a 1st impression if the program
works.

Even LINUX MYSQL-Server works wonderful if you use
Wine,HMG and libmysql on the same PC.

HMG is LEVERAGE in all different ways.
:D :D :D

Many Thanks

klauskugel

User avatar
Rathinagiri
Posts: 5160
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 127 times
Been thanked: 128 times
Contact:

Post by Rathinagiri » Mon Jul 15, 2013 4:08 pm

That is a good news.

Have you tried to connect a MySQL server from one linux machine to another one using Wine + HMG?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
mol
Posts: 2828
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 118 times
Been thanked: 62 times
Contact:

Post by mol » Tue Jul 16, 2013 7:08 am

srvet_claudio wrote:Hi Boys.
This is the power of event handling, HMG now can read the keyboard and intercept virtually all windows messages before they reach the application. :D
Try the example with the EXE file, tomorrow I prepare a patch with the upgrades.
Hi!
I'm trying to compile this hmg event monitor with HMG 3.1.4 and IDE-ANSI.
I get errors of about undefined functions:

Code: Select all


hbmk2: Error: Referenced, missing, but unknown function(s):
       HMG_GETLASTCHARACTER(), HMG_CLEANLASTCHARACTER(),
       HMG_GETLASTVIRTUALKEY(), HMG_CLEANLASTVIRTUALKEY(),
       GETFORMHANDLEBYINDEX(), GETWINDOWINFOBYHANDLE(), LISTCALLEDFUNCTIONS(),
       GETCONTROLPARENTHANDLEBYINDEX(), GETCONTROLHANDLEBYINDEX(),
       HMG_GETLASTVIRTUALKEYNAME()
What's wrong?
Claudio, can you prepare patch with these functions?

Regards, Marek

User avatar
quartz565
Posts: 442
Joined: Mon Oct 01, 2012 12:37 pm
Location: Thessaloniki, Greece
Has thanked: 103 times
Been thanked: 11 times
Contact:

Post by quartz565 » Tue Jul 16, 2013 11:18 am

Thank you Claudio,

it’s all clear now.

Nikos
Best Regards,
Nikos.

os: Windows Server 2012 - 64
hw: HP Server E5606, 2.13GHz, 8.00 GB - Intel Xeon CPU

User avatar
srvet_claudio
Posts: 1943
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 30 times
Been thanked: 117 times
Contact:

Post by srvet_claudio » Tue Jul 16, 2013 2:11 pm

mol wrote:
srvet_claudio wrote:Hi Boys.
This is the power of event handling, HMG now can read the keyboard and intercept virtually all windows messages before they reach the application. :D
Try the example with the EXE file, tomorrow I prepare a patch with the upgrades.
Hi!
I'm trying to compile this hmg event monitor with HMG 3.1.4 and IDE-ANSI.
I get errors of about undefined functions:

Code: Select all


hbmk2: Error: Referenced, missing, but unknown function(s):
       HMG_GETLASTCHARACTER(), HMG_CLEANLASTCHARACTER(),
       HMG_GETLASTVIRTUALKEY(), HMG_CLEANLASTVIRTUALKEY(),
       GETFORMHANDLEBYINDEX(), GETWINDOWINFOBYHANDLE(), LISTCALLEDFUNCTIONS(),
       GETCONTROLPARENTHANDLEBYINDEX(), GETCONTROLHANDLEBYINDEX(),
       HMG_GETLASTVIRTUALKEYNAME()
What's wrong?
Claudio, can you prepare patch with these functions?

Regards, Marek
Hi Marek,
Yes I am working on a patch.
These functions are not included in HMG.3.1.4
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

User avatar
mol
Posts: 2828
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 118 times
Been thanked: 62 times
Contact:

Post by mol » Tue Jul 16, 2013 3:33 pm

OK. I'm waiting!

klauskugel
Posts: 89
Joined: Tue Oct 09, 2012 2:28 pm
Been thanked: 2 times

Post by klauskugel » Fri Jul 19, 2013 10:35 pm

Hi,Roberto,Rathi,Doc and All Others.
Mysql works.
Just use HMG-Program and libmysql.dll .
I heard, that Mysql 5.5 is somewhat incompatible.
So use for windows/wine libmysql.dll 5.5.
With 5.1.x any libmysql will do.
I tested all in a Qemu-KVM virtual Environment.
Worked fine.
Here is the line
kvm -smp 2 -cpu core2duo -m 2048 -vga vmware -cdrom puppy_mysql.iso -net nic,model=e1000 -net user


10.0.2.3 -- DNS or 192.x.x.x on a real NET-PC

Just like a real PC-Environment.

I added to Pics with Wine1.6 Final.

So if we substitute 10.0.2.3 with the IP-Adress
of our Linux-Mysql-Server it is all the same for
Wine and Windows.

A simple Linux-Mysql-Server with Wine installed is
just the same for HMG-Development as a Windows-WAMP-Machine.

The Wine-Translator is fully grown up it seems.

Viva HMG,Harbour and the wonderful community.

:D :D :D

Best wishes from Germany to wonderful Community.
klauskugel

P.S. We have Summer and 30°C.
Attachments
wine16_mysql.png
wine16_mysql.png (167.41 KiB) Viewed 1233 times
login1.png
login1.png (94.12 KiB) Viewed 1233 times

Post Reply