HMG 3.0.36 (Test 2011-03-22)
Moderator: Rathinagiri
- Rathinagiri
- Posts: 5481
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
HMG 3.0.36 (Test 2011-03-22)
Hi,
I am attaching herewith a small patch on HMG 3.0.36 (Test) Version. Just extract the zip file on your existing test version folder.
Changelog:
- Fixed Media Player bug introduced by HMG 3.0.36, with the help of Grigory Filatov. (Thank you Grigory)
- Fixed memory handle leaks, as suggested by Ricci. (Thank you Ricci)
I am attaching herewith a small patch on HMG 3.0.36 (Test) Version. Just extract the zip file on your existing test version folder.
Changelog:
- Fixed Media Player bug introduced by HMG 3.0.36, with the help of Grigory Filatov. (Thank you Grigory)
- Fixed memory handle leaks, as suggested by Ricci. (Thank you Ricci)
- Attachments
-
- hmg3.0.36(Test-2011-03-22).zip
- (312.07 KiB) Downloaded 704 times
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- Rathinagiri
- Posts: 5481
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: HMG 3.0.36 (Test 2011-03-22)
I saw some strange behaviors between 3.0.35 version and 3.0.36 (Test) version. I am illustrating the findings with a picture. Kindly see to it.
Is it ok? Or, why is it like that?
Also, we have to solve one bug now (some controls having black background in themed windows versions)
Is it ok? Or, why is it like that?
Also, we have to solve one bug now (some controls having black background in themed windows versions)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
Re: HMG 3.0.36 (Test 2011-03-22)
Hi Rathinagiri,
first fo all MANY THANKS for your work.
HMG lib was generated, but is it correct to receive many warnings? I included my log file.
I'm working with this structure:
D:\HMiniGui - my root directory
D:\HMiniGui\Harbour - nightly harbour (source and bin unzipped) with MinGw compiler
D:\HMiniGui\HMiniGui3 - HMG3 area
D:\HMiniGui\HMiniGui3\Hmg - HMG package but I removed Harbour and MinGw directories
first fo all MANY THANKS for your work.
HMG lib was generated, but is it correct to receive many warnings? I included my log file.
I'm working with this structure:
D:\HMiniGui - my root directory
D:\HMiniGui\Harbour - nightly harbour (source and bin unzipped) with MinGw compiler
D:\HMiniGui\HMiniGui3 - HMG3 area
D:\HMiniGui\HMiniGui3\Hmg - HMG package but I removed Harbour and MinGw directories
- Attachments
-
- hmgCompile.zip
- logfile
- (4.13 KiB) Downloaded 422 times
Luigi from Italy
www.L3W.it
www.L3W.it
- Rathinagiri
- Posts: 5481
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: HMG 3.0.36 (Test 2011-03-22)
Hi Luigi,l3whmg wrote:Hi Rathinagiri,
first fo all MANY THANKS for your work.
HMG lib was generated, but is it correct to receive many warnings? I included my log file.
I'm working with this structure:
D:\HMiniGui - my root directory
D:\HMiniGui\Harbour - nightly harbour (source and bin unzipped) with MinGw compiler
D:\HMiniGui\HMiniGui3 - HMG3 area
D:\HMiniGui\HMiniGui3\Hmg - HMG package but I removed Harbour and MinGw directories
I am not well versed in 'C' programming.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
Re: HMG 3.0.36 (Test 2011-03-22)
Hi Rathinagiri,
I'm sorry if I give you my problems, but when you generate the library is everything ok?
I see you run a program, but I can't create an executable. I have errors
Here you can see harbour compiler in action. With batch command I must add these libraries
- Hmg (of corse)
- hbmzip
- hbwin
- hbct
batch command is
I think you have different harbour and/or libraries and/or some others.
If you can, I suggest to you to download in a new directory structure: current harbour nightly (source/binearies compressed) and copy hmg (only source and include directories and lib empty) and then run "<newpath-Harbour-bin>\HBMK2 hmg.hbp" and then use this library.
Else someone can give me help or have an idea? I'm the only one?
Cheers
I'm sorry if I give you my problems, but when you generate the library is everything ok?
I see you run a program, but I can't create an executable. I have errors
Here you can see harbour compiler in action. With batch command I must add these libraries
- Hmg (of corse)
- hbmzip
- hbwin
- hbct
batch command is
As you can see above other libraries and include are added by HarbourHBMK2 -oapp000.exe -q -es2 -w3 -incpath=<hmgpath>\include -L<hmgpath>\lib -lhmg -lhbmzip -lhbwin -lhbct app000.prg <hmgpath>\resources\hmg.o
This error I don't knowhbmk2: Harbour compiler command (embedded):
(D:\HMiniGui\Harbour\bin\harbour.exe) -n2 app000.prg -q -es2 -w3 -oC:\DOCUME~1\luigi\IMPOST~1\Temp\hbmk_mgqfr0.dir\ -iD:\HMiniGui\Harbour\include -iD:\HMiniGui\HMiniGui3\hmg\include
Harbour 2.1.0rc2 (Rev. 16490)
Copyright (c) 1999-2011, http://harbour-project.org/
hbmk2: C/C++ compiler command:
D:\HMiniGui\Harbour\comp\mingw\bin\gcc.exe -c -O3 -march=i586 -mtune=pentiumpro -fomit-frame-pointer -W -Wall -pipe -ID:/HMiniGui/Harbour/include -ID:/HMiniGui/HMiniGui3/hmg/include C:/DOCUME~1/luigi/IMPOST~1/Temp/hbmk_mgqfr0.dir/app000.c C:/DOCUME~1/luigi/IMPOST~1/Temp/hbmk_doq1tt.c
hbmk2: Linker command:
D:\HMiniGui\Harbour\comp\mingw\bin\gcc.exe C:/DOCUME~1/luigi/IMPOST~1/Temp/hbmk_mgqfr0.dir/app000.o C:/DOCUME~1/luigi/IMPOST~1/Temp/hbmk_mgqfr0.dir/hbmk_doq1tt.o D:/HMiniGui/HMiniGui3/hmg/resources/hmg.o -mwindows -Wl,--start-group -lhmg -lhbmzip -lhbwin -lhbct -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -oapp000.exe -LD:/HMiniGui/Harbour/lib/win/mingw -LD:/HMiniGui/Harbour/bin -LD:/HMiniGui/HMiniGui3/hmg/lib
I believe these errors are due to the lack of a library. I think about harbour\contrib\hbmzip\3rd\minizipD:/HMiniGui/HMiniGui3/hmg/lib/libhmg.a(c_media.o):c_media.c:(.text+0x2d5): undefined reference to `MCIWndCreateA'
Of corse I can't create exeD:/HMiniGui/Harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x12): undefined reference to `unzClose'
D:/HMiniGui/Harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x48): undefined reference to `zipClose'
D:/HMiniGui/Harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x7b): undefined reference to `unzOpen'
D:/HMiniGui/Harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0xda): undefined reference to `zipOpen'
...............
D:/HMiniGui/Harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x2440): undefined reference to `zipOpenNewFileInZip3'
D:/HMiniGui/Harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x24ce): undefined reference to `zipWriteInFileInZip'
D:/HMiniGui/Harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x2501): undefined reference to `zipCloseFileInZip'
D:/HMiniGui/Harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x2642): undefined reference to `unzGetCurrentFileInfo'
D:/HMiniGui/Harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x2688): undefined reference to `unzOpenCurrentFilePassword'
D:/HMiniGui/Harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x26d1): undefined reference to `unzReadCurrentFile'
D:/HMiniGui/Harbour/lib/win/mingw/libhbmzip.a(mzip.o):mzip.c:(.text+0x27a4): undefined reference to `unzCloseCurrentFile'
I remember to you this: I do not use the Harbour compiler distributed with HMG, but I'm using the official distribution - downloaded from sourceforget nightly build - as zipped file format (source and binaries).collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
D:\HMiniGui\Harbour\comp\mingw\bin\gcc.exe C:/DOCUME~1/luigi/IMPOST~1/Temp/hbmk_mgqfr0.dir/app000.o C:/DOCUME~1/luigi/IMPOST~1/Temp/hbmk_mgqfr0.dir/hbmk_doq1tt.o D:/HMiniGui/HMiniGui3/hmg/resources/hmg.o -mwindows -Wl,--start-group -lhmg -lhbmzip -lhbwin -lhbct -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -oapp000.exe -LD:/HMiniGui/Harbour/lib/win/mingw -LD:/HMiniGui/Harbour/bin -LD:/HMiniGui/HMiniGui3/hmg/lib
I think you have different harbour and/or libraries and/or some others.
If you can, I suggest to you to download in a new directory structure: current harbour nightly (source/binearies compressed) and copy hmg (only source and include directories and lib empty) and then run "<newpath-Harbour-bin>\HBMK2 hmg.hbp" and then use this library.
Else someone can give me help or have an idea? I'm the only one?
Cheers
Luigi from Italy
www.L3W.it
www.L3W.it
- Rathinagiri
- Posts: 5481
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: HMG 3.0.36 (Test 2011-03-22)
Hi Luigi,
1. Had you downloaded and applied the latest patch?
2. Had you added libraries vfw32 and msvfw32 libraries in the link process?
3. Please consider changing buildapp.bat and hmg.hbc according to your directory structure.
For your kind information, I too had downloaded and used the official harbour nightly build dated 2011-03-16.
1. Had you downloaded and applied the latest patch?
2. Had you added libraries vfw32 and msvfw32 libraries in the link process?
3. Please consider changing buildapp.bat and hmg.hbc according to your directory structure.
For your kind information, I too had downloaded and used the official harbour nightly build dated 2011-03-16.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
Re: HMG 3.0.36 (Test 2011-03-22)
Hi Rathnagiri,
I'm
because I solve my problems! Now I can compile HMG and create executable program: HURRA!
Where was the problem? I must insert "<MyInstallPath>\hmg\hmg.hbc" inside my .hbp files. I don't know why.
For example: I have create one personal library (l3w_xxx.a) but I only declare this like an addedd library. I did not have to enter the .hbc file inside .hbp to compile program and use (and I have one .hbc file to generate my personal library).
If someone can tell me why...
Anyway, at this moment I'm
Thanks a lot for your great job!
Cheers
I'm
Where was the problem? I must insert "<MyInstallPath>\hmg\hmg.hbc" inside my .hbp files. I don't know why.
For example: I have create one personal library (l3w_xxx.a) but I only declare this like an addedd library. I did not have to enter the .hbc file inside .hbp to compile program and use (and I have one .hbc file to generate my personal library).
If someone can tell me why...
Anyway, at this moment I'm
Thanks a lot for your great job!
Cheers
Luigi from Italy
www.L3W.it
www.L3W.it
Re: HMG 3.0.36 (Test 2011-03-22)
Hi Rathi,rathinagiri wrote:I saw some strange behaviors between 3.0.35 version and 3.0.36 (Test) version. I am illustrating the findings with a picture. Kindly see to it.
Is it ok? Or, why is it like that?
The reason of aboved problem is absent of theme manifest in this demo's resources.
I've adde the following line in the file \hmg\hmg.hbc
and this problem disappeared.sources=\hmg\resources\hmg.o
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Re: HMG 3.0.36 (Test 2011-03-22)
Hi Grigory.
Many thanks for your solution. But I have a question for you: when I create my programs, I add my images and for this reason I must compile resource file. To do this I use
and then I add this object to HBMK2.
Adding the file hmg.o to the hmg.hbc, is there some risk (ie duplicating the images distributed by HMG)?
Thanks in advance.
Cheers
Many thanks for your solution. But I have a question for you: when I create my programs, I add my images and for this reason I must compile resource file. To do this I use
Code: Select all
ECHO #define HMGRPATH <hmgpath>\RESOURCES > _hmg_resconfig.h
ECHO #define L3WRPATH <mypath> >>_hmg_resconfig.h
COPY /b <hmgpath>\resources\hmg.rc+<mypathMyRescource>.rc+<hmgpath>\resources\filler _temp.rc >NUL
windres -i _temp.rc -o _temp.o > _reslog.txt 2>&1Adding the file hmg.o to the hmg.hbc, is there some risk (ie duplicating the images distributed by HMG)?
Thanks in advance.
Cheers
Luigi from Italy
www.L3W.it
www.L3W.it
Re: HMG 3.0.36 (Test 2011-03-22)
Well Grigory, good to have the "flat" design back, but .... all my icons inside the program are gone 
Last edited by Ricci on Thu Mar 24, 2011 10:22 am, edited 1 time in total.