Page 13 of 15

Re: HMG 3.1.4 (Test)

Posted: Sat Jul 13, 2013 1:53 pm
by srvet_claudio
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.

Re: HMG 3.1.4 (Test)

Posted: Sun Jul 14, 2013 10:21 pm
by quartz565
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 ?

Re: HMG 3.1.4 (Test)

Posted: Sun Jul 14, 2013 11:09 pm
by srvet_claudio
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.

Re: HMG 3.1.4 (Test)

Posted: Mon Jul 15, 2013 2:02 pm
by klauskugel
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

Re: HMG 3.1.4 (Test)

Posted: Mon Jul 15, 2013 4:08 pm
by Rathinagiri
That is a good news.

Have you tried to connect a MySQL server from one linux machine to another one using Wine + HMG?

Re: HMG 3.1.4 (Test)

Posted: Tue Jul 16, 2013 7:08 am
by mol
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

Re: HMG 3.1.4 (Test)

Posted: Tue Jul 16, 2013 11:18 am
by quartz565
Thank you Claudio,

it’s all clear now.

Nikos

Re: HMG 3.1.4 (Test)

Posted: Tue Jul 16, 2013 2:11 pm
by srvet_claudio
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

Re: HMG 3.1.4 (Test)

Posted: Tue Jul 16, 2013 3:33 pm
by mol
OK. I'm waiting!

Re: HMG 3.1.4 (Test)

Posted: Fri Jul 19, 2013 10:35 pm
by klauskugel
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.