Page 4 of 9

Re: HMG 3.3.0 (Stable)

Posted: Tue May 27, 2014 4:03 am
by Rathinagiri
Ok Pablo.

Re: HMG 3.3.0 (Stable)

Posted: Wed May 28, 2014 12:37 pm
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.

Re: HMG 3.3.0 (Stable)

Posted: Wed May 28, 2014 12:44 pm
by Rathinagiri
Thank you for the report. I will check regarding the PDF. Claudio would answer for the image control.

HMG 3.3.0 (Stable)

Posted: Wed May 28, 2014 12:49 pm
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 ?

Re: HMG 3.3.0 (Stable)

Posted: Wed May 28, 2014 1:06 pm
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)

Re: HMG 3.3.0 (Stable)

Posted: Wed May 28, 2014 1:50 pm
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:

Re: HMG 3.3.0 (Stable)

Posted: Wed May 28, 2014 3:38 pm
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.

Re: HMG 3.3.0 (Stable)

Posted: Wed May 28, 2014 5:21 pm
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...

HMG 3.3.0 (Stable)

Posted: Wed May 28, 2014 5:34 pm
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.

HMG 3.3.0 (Stable)

Posted: Wed May 28, 2014 5:36 pm
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 ?