HMG 3.3.0 (Stable)

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG 3.3.0 (Stable)

Post by Rathinagiri »

Ok Pablo.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
vagblad
Posts: 160
Joined: Tue Jun 18, 2013 12:18 pm
DBs Used: MySQL,DBF
Location: Thessaloniki, Greece

Re: HMG 3.3.0 (Stable)

Post by vagblad »

Hello all,

At first let me thank you for the great new version and for all your efforts.
I have been doing some testing of the new version and i noticed 2 things :

1)A slight problem with the image control under windows server 2003.
The picture of the image control doesn't show when i run the program under windows server 2003 but it show just fine when i run it under windows 7 or windows xp. If i compile the program using an older HMG version like 3.2.0 then it runs ok in windows server 2003 also.
Maybe something was changed at the way the image control displays the pictures in the new version?Something to do with the bosTaurus implementaion inside the main library? (The same problem appears in all the demos under \SAMPLES\CONTROL\IMAGES)
There is a screenshot attached showing the problem.

2) The demo under \SAMPLES\PRINTSYSTEM shows an error and crashes when you choose the save icon and then choose to save as a pdf.
The error shows "A PDF document is already initiated".

Thanks to everyone again for their contributions and help.
Attachments
imagecontrol.jpg
imagecontrol.jpg (77.28 KiB) Viewed 6851 times
Vagelis Prodromidis
Email: vagblad@gmail.com, Skype: vagblad
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG 3.3.0 (Stable)

Post by Rathinagiri »

Thank you for the report. I will check regarding the PDF. Claudio would answer for the image control.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

HMG 3.3.0 (Stable)

Post by Pablo César »

Hi vagblad,

Thank you for your interest and report of some problems. I will try to help, the problem I have not Win 2003. But let me know something more:

Regarding your output image, could post how you do for this display ? And also could you attache this file ?
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
vagblad
Posts: 160
Joined: Tue Jun 18, 2013 12:18 pm
DBs Used: MySQL,DBF
Location: Thessaloniki, Greece

Re: HMG 3.3.0 (Stable)

Post by vagblad »

Thanks Rathi and Pablo.

@Pablo
The output images i've posted above are from the demo.exe located at \samples\controls\image\image_1 folder.
The picture file can be any .jpg. The output is the same with any jpg file. If you want i could try with other formats as well like bmp.

I hope that i understood correctly what you wanted me to do.

Thanks in advance.

P.S. (under windows server 2003 i am logging as system administrator with full rights)
Vagelis Prodromidis
Email: vagblad@gmail.com, Skype: vagblad
User avatar
gfilatov
Posts: 1060
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: HMG 3.3.0 (Stable)

Post by gfilatov »

vagblad wrote:Hello all,

At first let me thank you for the great new version and for all your efforts.
I have been doing some testing of the new version and i noticed 2 things :

1)A slight problem with the image control under windows server 2003.
The picture of the image control doesn't show when i run the program under windows server 2003 but it show just fine when i run it under windows 7 or windows xp. If i compile the program using an older HMG version like 3.2.0 then it runs ok in windows server 2003 also.
Maybe something was changed at the way the image control displays the pictures in the new version?Something to do with the bosTaurus implementaion inside the main library? (The same problem appears in all the demos under \SAMPLES\CONTROL\IMAGES)
There is a screenshot attached showing the problem.

2) The demo under \SAMPLES\PRINTSYSTEM shows an error and crashes when you choose the save icon and then choose to save as a pdf.
The error shows "A PDF document is already initiated".

Thanks to everyone again for their contributions and help.
Hi,

There is a problem with using GDI and WINAPI function CreateCompatibleBitmap() in Windows Server 2003.

An older HMG version 3.2.0 don't use the function CreateCompatibleBitmap() but had used an own function bt_bmp_create_24bpp() for picture loading.

You can take a look for discussing about this problem in Windows Server 2003 at
http://www.autoitscript.com/forum/topic ... rver-2003/

Hope that useful :idea:
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
User avatar
vagblad
Posts: 160
Joined: Tue Jun 18, 2013 12:18 pm
DBs Used: MySQL,DBF
Location: Thessaloniki, Greece

Re: HMG 3.3.0 (Stable)

Post by vagblad »

Thanks a lot Grigory,

It appears the problem is at the handle return when the bitmap loads. I will take a look at it and will get back to you.

:edit

i was apparently wrong, the whole function fails and returns 0 as handle always.
Vagelis Prodromidis
Email: vagblad@gmail.com, Skype: vagblad
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 3.3.0 (Stable)

Post by mol »

srvet_claudio wrote:
mol wrote:I've prepared sample with EVENT.
This event allow to process arrow keys (UP and DOWN) to move pointer of grid while textbox T_WhatToSearch is focused.
It works OK with hmg 3.1.5.
When I try to compile it with hmg 3.3.0, textbox T_WhatToSearch is blocked and doesn't accept any pressed key - alphanumeric or move keys.
What's wrong?
Hi Marek.

Change in:

PROCEDURE KeyUpDown_Action(cForm, cCurrentControl, cGridName)

STATIC flag := .F.
LOCAL hWnd, ch
local lFound := .f.
local nPos := len(GetProperty(cForm, cCurrentControl,"Value"))
local nRet := NIL // 0
mol wrote:I've noticed very long compilation time with new version. What's going on?
I have not had that problem, perhaps is due to the new version of MinGW-Harbour and your antivirus.
mol wrote:It would be great to have OnKey trigger in every control, not only in GRID.
Is it very difficult?
I wrote it down on the to-do list.
NIL is the best! :roll: :lol:
Thanks for quick response, Claudio!
Sorry for my answer delay, but I've disabled my hmgforum account till today...
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

HMG 3.3.0 (Stable)

Post by Pablo César »

vagblad wrote:The output images i've posted above are from the demo.exe located at \samples\controls\image\image_1 folder.
Ahhhh you are working with DEFINE IMAGE
The picture file can be any .jpg.
It's what exactly I wanna know.
If you want i could try with other formats as well like bmp
Yes, would be interesting to know.
I hope that i understood correctly what you wanted me to do
Yes, it's ok, now knowing by what Grigory said about win2003. Because, I didn't contacted any problem about.
P.S. (under windows server 2003 i am logging as system administrator with full rights)
Good to know.

Sometimes we ask questions that it seems to be too much, but its the same reason that yours, it is due not understood and further information able to compose a solution. I am grateful to all the information provided, sorry for not helping you better.

I hope now with the information that gave Grigory Dr. Soto can compose some solution, even if transient.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

HMG 3.3.0 (Stable)

Post by Pablo César »

mol wrote:but I've disabled my hmgforum account till today...
:o Why any reason that we need to worry about ? Or you have wrong password or changed email address ?
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Post Reply